Error from maven deploy plugin during release:perform

2010-03-30 Thread rsmith99
I'm trying to sign release my project artifacts to a maven repository. I'm currently getting the following error when executing: mvn -e -X release:perform -Dgpg.useagent=true -Darguments=-Dgpg.useagent=true [INFO] [DEBUG] Configuring mojo

Maven Android Plugin release train

2010-03-30 Thread Manfred Moser
Hi All, Hugo, Ricardo and myself have just released a new set of components for working with Maven and Android. If you are interested in Android and Maven please join us on the Maven Android Developers mailing list. at http://groups.google.com/group/maven-android-developers We hope to see you

Problem with Maven + Perforce

2010-03-30 Thread Ercan, Tolga
Hi, I'm getting the following build error: [INFO] [ERROR] FATAL ERROR [INFO] [INFO] This SCM url

Re: Does wagon-scm work with maven-scm-provider-gitexe?

2010-03-30 Thread Brett Porter
On 29/03/2010, at 1:29 PM, Kathryn Huxtable wrote: urls[1] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar It looks like the project is using an older version of this library than is needed (at least 1.5.6). You should add the newer

mvn release:prepare using git, fatal: pom.xml is outside repository

2010-03-30 Thread Ricky Clarkson
Hi, I'm trying to tag a release using mvn release:prepare, and I see that a child module's pom.xml cannot be committed: The git-add command failed. Command output: fatal: 'C:\Documents and Settings\Ricky\SkyTab\skytab\pom.xml' is outside repository Any suggestions? Thanks, Ricky. -- Ricky

AW: mvn release:prepare using git, fatal: pom.xml is outside repository

2010-03-30 Thread Mark Struberg
Can you post a tree of your project structure? And from where in the project tree do you start the release? txs, strub --- Ricky Clarkson rclark...@ad-holdings.co.uk schrieb am Di, 30.3.2010: Von: Ricky Clarkson rclark...@ad-holdings.co.uk Betreff: mvn release:prepare using git, fatal:

Re: mvn release:prepare using git, fatal: pom.xml is outside repository

2010-03-30 Thread Ricky Clarkson
Hi Mark, ./native-launcher/pom.xml ./skytab/src/main/assembly/bin.xml ./skytab/src/main/java/uk/org/netvu/skytab/SkyTab.java ./skytab/pom.xml ./pom.xml I start my mvn release:prepare from the top of that (. in the listing above). Thanks, Ricky. -- Ricky Clarkson Java and Scala Programmer, AD

Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
Hello everyone, I am currently reading the very good Maven book from Nicolas De loof and Arnaud Héritier (written in French) and I have decided to convert one of my test projects to Maven. Unfortunately, I already have a problem :-). My software depends on an open source software, jlibeps

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Jeff MAURY
If it does not exist on the cloud, don't try to put it there, there are probably many reasons for that. I would recommand that you install a Maven repository manager like Nexus and once you've set it up, then deploy on it the missing jar and all your internal Maven projects will see it now !!!

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread David Hoffer
You need local maven repository manager...something like Artifactory...very easy to setup. -Dave 2010/3/30 Benoît Thiébault thieba...@artenum.com: Hello everyone, I am currently reading the very good Maven book from Nicolas De loof and Arnaud Héritier (written in French) and I have decided

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Wendy Smoak
2010/3/30 Benoît Thiébault thieba...@artenum.com: My software depends on an open source software, jlibeps (http://jlibeps.sourceforge.net/), but I can't find it in any Maven repository. This library seems not very maintained anymore, but it does what I need it to do. I don't want (yet) to

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
My software is an open source project (not released yet). I currently compile it with Ant and I store in my lib folder the JAR I manually downloaded on the net. What will happen when I release the software ? I guess I will have to provide this dependency JAR as well to new developers... This

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread nicolas de loof
you should read chapter 6, it explains the issue you get here :) The short term solution is to write a custom pom and use mvn install:install-file If you plan to share the project with other in your company, or on the Net, you will have to document this step and loose some advantages of Maven.

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread David Hoffer
I don't work on open source projects so I haven't faced this issue. However I would think that the same server you plan to use to host your project on could be used to host the dependency; the key is that it has to be available just like yours. -Dave 2010/3/30 Benoît Thiébault

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Steve Francolla
You can install the lib to your local system repo and then completely avoid others having the anticipated dependency build problem by applying the mvn-shade-plugin: (1) mvn install the lib to my local system repo. mvn install:install-file -Dfile=lib\your-lib.jar -DgroupId=group-id

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Steve Francolla
Forgot to mention that mvn-shade will also produce an updated-dependency-pom.xml (or similarly named) where white-listed lib's dependency on your local repo will be removed from the packaged pom.xml. I use mvn-shade with mvn release plugin to deploy to Nexus OSS repo with those adjustments. On

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
I'm at chapter 11, I guess I read this part too quickly. Very good book by the way Regarding mvn-shade, I'm not really sure I understood what it does: does it include the classes of this third party library within my software package ? Seems good to me (even though I have no idea if this is a

Re: Does wagon-scm work with maven-scm-provider-gitexe?

2010-03-30 Thread Kathryn Huxtable
Okay, updating the plexus utils has other issues in my project, but I'll figure them out. Reordering the extensions did the trick for the extension versions. Thanks. I've created a very simple project at http://github.com/khuxtable/test-project, which has no source (or docs) just to test site

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Steve Francolla
Yes, it includes the classes of the 3rd party lib directly extracted within your classpath. In my opinion... a project exists in two forms, source and package. The package can be referenced as a dependency in other projects. The source is the manager of what gets built into the package. So, as

Re: Does wagon-scm work with maven-scm-provider-gitexe?

2010-03-30 Thread Kathryn Huxtable
On Mar 30, 2010, at 11:29 AM, Kathryn Huxtable wrote: [INFO] Executing: /bin/sh -c cd /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp- git clone git+ssh//github.com/khuxtable/test-project.git/. /var/folders/M+/M+95phY6GfOYTLYCJKW4Bk+++TI/-Tmp-/wagon-scm472467110.checkout I especially

Managing a third party jar's dependencies

2010-03-30 Thread Tom C
Good day - I have a third party jar that depends on hundreds of other jars. The third party jar does not use maven and the dependencies do not have version numbers. Is there a method to manage the dependencies without install:install-file each dependency? Thanks in advance. ~ Tom

Re: Managing a third party jar's dependencies

2010-03-30 Thread Wayne Fay
I have a third party jar that depends on hundreds of other jars.  The third party jar does not use maven and the dependencies do not have version numbers.  Is there a method to manage the dependencies without install:install-file each dependency? Welcome to jar-hell circa 2002 or so. How in

How to download maven dependencies into a fixed folder, NOT a local repo

2010-03-30 Thread John Eke
Hi, I have a maven repository that manages dependencies for my projects. Currently in my release environment I am manually doing a wget for all the jars that I depend on. I have my main project jar, but then I also have several other dependent jars I need from maven. I don't want a local

Re: How to download maven dependencies into a fixed folder, NOT a local repo

2010-03-30 Thread Kalle Korhonen
http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-project-dependencies.html Kalle On Tue, Mar 30, 2010 at 11:43 AM, John Eke tone...@yahoo.com wrote: Hi, I have a maven repository that manages dependencies for my projects. Currently in my release environment I am

Re: Managing a third party jar's dependencies

2010-03-30 Thread David Hoffer
We faced something similar except it was our beast, not a 3rd party. The good news is I bet a high % of those hundreds of other jars do have versions and are in maven repos...so the job may be to just create a pom type pom that lists each of these dependencies with their real versions. If one is

Re: Managing a third party jar's dependencies

2010-03-30 Thread Stephen Connolly
a good cry is usually the answer to this problem I've been working on bag-o-jars-maven-plugin that will take a bag of jars, determine the inter-deps [done], identify deps which already are published [done] and generate pom's [done] it needs testing and robustening [todo] before it is fit

Re: Managing a third party jar's dependencies

2010-03-30 Thread Anders Hammar
Stephen, I the source available somewhere for me to try? I've written something similar, but way to rough to share. Likely I would have some time to test it. /Anders On Tue, Mar 30, 2010 at 22:22, Stephen Connolly stephen.alan.conno...@gmail.com wrote: a good cry is usually the answer to

Re: Managing a third party jar's dependencies

2010-03-30 Thread Stephen Connolly
it's currently a bag of scripts and java cli programs and I need to pull it together before I can publish it Sent from my [rhymes with tryPod] ;-) On 30 Mar 2010, at 21:38, Anders Hammar and...@hammar.net wrote: Stephen, I the source available somewhere for me to try? I've written

Re: Managing a third party jar's dependencies

2010-03-30 Thread Anders Hammar
Ok, feel free to ping me when that's done. /Anders On Wed, Mar 31, 2010 at 01:48, Stephen Connolly stephen.alan.conno...@gmail.com wrote: it's currently a bag of scripts and java cli programs and I need to pull it together before I can publish it Sent from my [rhymes with tryPod] ;-) On