ntrees / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Download javapns jar with Maven #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, 
Is there any URL that has the javapns jar for maven?
I want to put javapns in a project with maven and I don´t know how...
Mi pom.xml:
<dependency>
    <groupId>com.googlecode.javapns</groupId>
    <artifactId>javapns-jdk16</artifactId>
    <version>165</version>
    <exclusions>
                <exclusion>
                      <groupId>log4j</groupId>
                      <artifactId>log4j</artifactId>
               </exclusion>
        </exclusions>
</dependency>
If there isn't a URL form download this jar, how can I put this jar in my 
project? Just exporting the jar to my /lib?
TY

Original issue reported on code.google.com by susana.g...@medianet.es on 20 Jul 2011 at 12:55

GoogleCodeExporter commented 8 years ago
I have tried to put javapns into the 'SonaType Nexus Maven Repo', but there 
have been problems.

I was following the instructions at:
http://jroller.com/holy/entry/releasing_a_project_to_maven

Those instructions assume the project is built using maven, which it is not.

And I was unable to create a working pom file to or a docs jar file to finish 
importing to the repo.

Bill

Original comment by idbill.p...@gmail.com on 25 Jul 2011 at 9:28

GoogleCodeExporter commented 8 years ago
Thank you, but finally I follow this steps: http://jeff.langcode.com/archives/27
Then I add to my pom.xml:
<dependency>
    <groupId>com.googlecode.javapns</groupId>
    <artifactId>javapns-jdk16</artifactId>
    <version>165</version>
    <exclusions>
              <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
              </exclusion>
        </exclusions>
</dependency>
And finally: mvn eclipse:eclipse 

Original comment by susana.g...@medianet.es on 26 Jul 2011 at 6:14

GoogleCodeExporter commented 8 years ago
Issue 34 has been merged into this issue.

Original comment by sype...@gmail.com on 7 Sep 2011 at 4:26

GoogleCodeExporter commented 8 years ago
Small note:  the 2.0 branch now includes full javadoc for the library (I read 
this was needed for adding Maven support...)

Original comment by sype...@gmail.com on 9 Sep 2011 at 7:09

GoogleCodeExporter commented 8 years ago
Closing as Fixed, since comment #2 suggests that a solution was found.

Original comment by sype...@gmail.com on 14 Sep 2011 at 7:15

GoogleCodeExporter commented 8 years ago
this does not mean that javapns is in a public maven repository. Correct me if 
I'm wrong but I can't find it in one.

Original comment by michael....@gmail.com on 20 Jul 2012 at 2:56

GoogleCodeExporter commented 8 years ago
Indeed, that does not mean that.  It simply means that the original poster 
found a solution to his initial issue.

Original comment by sype...@gmail.com on 20 Jul 2012 at 3:28

GoogleCodeExporter commented 8 years ago
It would be great to have it on a m2 repo! 

Original comment by lorber.s...@gmail.com on 10 Aug 2012 at 1:06

GoogleCodeExporter commented 8 years ago
Finding it in an m2 repo is a matter of decision on library selection. I would 
try another library first , just because it is available for maven.  

Original comment by devrim.d...@gmail.com on 18 Aug 2012 at 8:27

GoogleCodeExporter commented 8 years ago
I would put it in a maven repository... IF I knew how. (see the 1st reply)

If you know how, please forward some useful info.

Original comment by idbill.p...@gmail.com on 19 Aug 2012 at 3:41

GoogleCodeExporter commented 8 years ago
If you want i'll do it for you, it can be hosted on github

I've already done it for the Android GCM server jar:
https://github.com/slorber/gcm-server-repository/<https://github.com/slorber/gcm
-server-repository/tree/master/deployer>

Original comment by lorber.s...@gmail.com on 20 Aug 2012 at 8:33

GoogleCodeExporter commented 8 years ago
I support the migration of this to maven as well, and am willing to help with 
the task. I have it in a local repository at the moment.

Original comment by t...@walla.by on 20 Aug 2012 at 11:56

GoogleCodeExporter commented 8 years ago
Hi All,

Did you already put this lib into maven public repository yet? Trying to use it 
but its not found on any public maven repository!!! Its a real pain not to have 
it there...

Original comment by ruslan.z...@gmail.com on 5 Feb 2013 at 6:53

GoogleCodeExporter commented 8 years ago
Sorry, this hasn't been done. I spent many hours a long time ago trying to get 
it done (I never did warm up to maven).

After a brief research, it appears the instructions I was following are no 
longer valid anyway.

And realistically speaking since I no longer work with Java and don't have a 
working Java environment, I don't think I'll be able to do it anytime soon.

If anyone has an account on  http://maven2-repository.java.net  and is willing 
to do the submission, that would be the best path forward.

Original comment by idbill.p...@gmail.com on 5 Feb 2013 at 7:53

GoogleCodeExporter commented 8 years ago
Great project.
Since I need this in maven for Heroku to work, I've decided to try and submit 
it myself...
Ticket created: https://issues.sonatype.org/browse/OSSRH-5351

Original comment by superkru...@gmail.com on 8 Feb 2013 at 10:32

GoogleCodeExporter commented 8 years ago
I'm not sure sonatype is the right place to submit to. That was where I was 
trying to submit it, but the google page appears to indicate to use 
https://maven2-repository.dev.java.net/

See:
http://code.google.com/p/google-maven-repository/

Original comment by idbill.p...@gmail.com on 8 Feb 2013 at 3:15

GoogleCodeExporter commented 8 years ago
Would really love to get this into maven central... 

Original comment by gregp...@gmail.com on 25 Feb 2013 at 2:57

GoogleCodeExporter commented 8 years ago
+1 on having this to maven central!

Original comment by polver...@gmail.com on 27 Feb 2013 at 3:09

GoogleCodeExporter commented 8 years ago
+1 as well to maven central as well a vcm-server

Original comment by kohen.sh...@gmail.com on 2 Mar 2013 at 8:00

GoogleCodeExporter commented 8 years ago
+1 for deploying it to Maven Central

Original comment by maximili...@gmail.com on 11 Apr 2013 at 4:37

GoogleCodeExporter commented 8 years ago
Let me actually make an even stronger case for using Maven to deploy to Maven 
Central.
Setting up this deployment pipeline is just a one time effort.
When you do release newer versions, it's essentially zero overhead.
For all customers of your library it's then braindead simple: Just upgrade the 
version string in the dependency and Maven will do the rest, no manual download 
orgies.
And if you include the javadoc.jar and sources.jar into the deployment, your 
customers sitting in an IDE will appreciate it even more, as they can browse 
into the sources and javadoc without overhead.

Original comment by maximili...@gmail.com on 11 Apr 2013 at 5:20

GoogleCodeExporter commented 8 years ago
Hi I've just forked this project to 
https://github.com/fernandospr/javapns-jdk16/ with Maven support.
Let me know if you want to be added as contributors.

Original comment by fernando...@gmail.com on 2 Oct 2013 at 2:23

GoogleCodeExporter commented 8 years ago
Fernandospr, i have just update my project with your fork 
(https://github.com/fernandospr/javapns-jdk16/) and it looks fine! I ll keep 
you in touch. thank you very much.

Alonso

Original comment by aro...@naevatec.com on 19 Dec 2013 at 10:15