You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jogjayr I'm not sure this is ever going to happen: this Java language repo, while having been preserved after the split/migration to the ua-parser github org, doesn't seem to be actively maintained since the split (latest commit was about 5 months ago). In the meantime, if you need Clojure functionality for doing useragent parsing, I've just released v1.0.0 of uap-clj:
@russellwhitaker Nice! I personally don't need this functionality any more. Since there's now a good alternative for Clojure (thanks for that!), I'll close this issue.
My pleasure @jogjayr . Feel free to post issues on that Clojure version's repo, I'm happy to consider PRs and issues. I might even consider checking with @elsigh and asking if they'd be interested in forking the now-feature-complete and fully-specification-compliant Clojure implementation to the ua-parser org.
Hang on guys, not so fast! The issue says "Publish the JAVA Library to Maven". That's what I - and I suppose a lot of other commenter - +1-ed this issue for. So please reopen the issue. I am actively using the java version of ua-parser.
@russellwhitaker - The core code hasn't really changed so it's ok that it's over a year old. What we do in our project is pull the latest yaml file and use it, and not the one bundled in the jar. We use the following maven snippet to do it:
This code works for us in production so far.
There isn't any active development on it so I don't expect it to be new.
Did you download from the twitter maven repo?
An alternative is to use uap-clj, which is actively maintained. In fact, I wrote it because this Java repo isn't actively maintained. Add this to your pom.xml:
Is this project still maintained? If not, can someone transfer ownership?
I would like to get a new jar with the latest regexes.yaml file published to mvn central and am willing to do it myself if someone can hand it over.
Activity
russellwhitaker commentedon Dec 18, 2014
+1
magicknot commentedon Jan 31, 2015
+1 as well
sdboer78 commentedon Feb 1, 2015
+1
MaximumDamage commentedon Feb 10, 2015
+1
I guess maven is the way to go with java in general
kdekooter commentedon Mar 10, 2015
👍
OuIChien commentedon Mar 23, 2015
+1 as well
vnydvd commentedon Apr 22, 2015
If this gets closed, it will be great. Maven will be nice
elicwhite commentedon May 31, 2015
👍
cgi commentedon Jun 1, 2015
+1 for such artifact in Maven Central
dennismaassnp commentedon Jun 1, 2015
+1
russellwhitaker commentedon Jun 3, 2015
@jogjayr I'm not sure this is ever going to happen: this Java language repo, while having been preserved after the split/migration to the ua-parser github org, doesn't seem to be actively maintained since the split (latest commit was about 5 months ago). In the meantime, if you need Clojure functionality for doing useragent parsing, I've just released v1.0.0 of uap-clj:
https://clojars.org/uap-clj
Associated repo: https://github.com/russellwhitaker/uap-clj
Hope you find it useful.
jogjayr commentedon Jun 3, 2015
@russellwhitaker Nice! I personally don't need this functionality any more. Since there's now a good alternative for Clojure (thanks for that!), I'll close this issue.
russellwhitaker commentedon Jun 3, 2015
My pleasure @jogjayr . Feel free to post issues on that Clojure version's repo, I'm happy to consider PRs and issues. I might even consider checking with @elsigh and asking if they'd be interested in forking the now-feature-complete and fully-specification-compliant Clojure implementation to the ua-parser org.
kdekooter commentedon Jun 4, 2015
Hang on guys, not so fast! The issue says "Publish the JAVA Library to Maven". That's what I - and I suppose a lot of other commenter - +1-ed this issue for. So please reopen the issue. I am actively using the java version of ua-parser.
41 remaining items
asafm commentedon Nov 30, 2016
The source files says Twitter copyright.
I also found version 1.3.0 in mvnrepository under Twitter Maven repo:
http://mvnrepository.com/artifact/ua_parser/ua-parser/1.3.0
I'll give it a go there.
russellwhitaker commentedon Dec 26, 2016
I've updated uap-clj to v1.3.0; as before, the Java wrapper API is available as well.
asafm commentedon Dec 26, 2016
We're using this for the past 3-4 weeks and it works flawlessly:
http://mvnrepository.com/artifact/ua_parser/ua-parser/1.3.0
russellwhitaker commentedon Dec 26, 2016
@asafm that's an old artifact (a little over a year); does it regress 100% against the current core
regexes.yaml? Curious.asafm commentedon Jan 1, 2017
@russellwhitaker - The core code hasn't really changed so it's ok that it's over a year old. What we do in our project is pull the latest yaml file and use it, and not the one bundled in the jar. We use the following maven snippet to do it:
Once in a while we update the commit ID above to be the latest after we tested it locally.
fbacchella commentedon Jan 27, 2017
I downloaded the artifact for twitter. In it the pom.properties says:
The URL in the build in the embedded pom.xml:
Looks like a very old build.
asafm commentedon Jan 27, 2017
fbacchella commentedon Jan 27, 2017
Yes it's the twitter maven repo that is too old. There has been some commit since November 2013.
russellwhitaker commentedon Jan 27, 2017
An alternative is to use uap-clj, which is actively maintained. In fact, I wrote it because this Java repo isn't actively maintained. Add this to your
pom.xml:So you can pull in this dependency:
Example usage:
bpossolo commentedon May 6, 2018
Is this project still maintained? If not, can someone transfer ownership?
I would like to get a new jar with the latest regexes.yaml file published to mvn central and am willing to do it myself if someone can hand it over.
bpossolo commentedon May 9, 2018
I've requested a namespace on Maven Central repo.
group id:
com.github.ua-parserartifact id:
uap-javarussellwhitaker commentedon May 9, 2018
Attn. @commenthol
bpossolo commentedon May 14, 2018
I am pleased to announce that uap-java is now published to Maven Central Repository for the first time ever.
This includes the latest regexes.yaml file and I fixed the tests to pass with the new file.
I also bumped the dependencies to the latest versions.
fbaligand commentedon May 14, 2018
Great news !