activeProfiles

2013-03-22 Thread Eric Kolotyluk
I have two development environments: work and personal. I am trying to set up my projects so that the POM knows which profile to activate, but it seems you cannot put in a POM, only in a settings.xml file. Is there some reason for this? Is there some other Maven way to do what I want to do?

Re: mvn release using local git repository

2013-03-22 Thread Robert Scholte
Hi, mvn release:prepare -Dproject.scm.developerConnection=scm:git:git@localserver:/home/git/repositories/ourproject -Dproject.scm.connection=scm:git:git@localserver :/home/git/repositories/ourproject Is this exactly how you execute it? You can't fill pom.xml entries like this. If you need s

Re: I need to run 2 profiles to deploy to 2 seperate Nexus repositories

2013-03-22 Thread Tonio Caputo
A kind of dummy idea, Why not copy the deployed artifacts using wagon plugin from repository one to repository two ? Not sure if wagon plugin works for nexus, but it might. Hope it helps somehow tonio On Fri, Mar 22, 2013 at 11:25 AM, Wayne Fay wrote: > > How can I get Maven to run 2 sepa

Parent Project Links Broken In Modules In Sub-Directory

2013-03-22 Thread Ryan Baxter
I have a multiple module site that has 2 modules in a subdirectory in the parent project. When I stage the site the links back up to the parent project from the two modules in the subdirectory are broken. However the links back to the parent project from the other module sites work fine. Here is

Re: Git settings for maven release plugin...

2013-03-22 Thread Mirko Friedenhagen
You may try replacing the colon between host and orgname with a slash /. Regards Mirko -- Sent from my mobile On Mar 22, 2013 12:11 AM, "Jeff" wrote: > My release:prepare is failing when it tries the following: > >git push ssh://g...@github.com:MyOrg/apps-thor.git > releaseBranch:releaseBra

maven-compiler-plugin, fork, and Windows classpath length

2013-03-22 Thread Laird Nelson
I am using maven-compiler-plugin version 3.0. We use fork=true. We are seeing (I am pretty certain; haven't sorted through the boatloads of -X output yet) that the classpath being supplied to the maven-compiler-plugin is too long for Windows. (We're getting some weird errors out of the underlyin

Re: maven deploy artifacts to Nexus repository

2013-03-22 Thread Baptiste MATHUS
Not sure using scp is possible, but answering this precise point would be more a nexus ML question. Have you tried using HTTP even temporarily to see if this works? This would help reduce the hypothesis of where the issue lies, isn't it? Btw, I think the most often used protocol is http. Maybe if

Re: maven deploy artifacts to Nexus repository

2013-03-22 Thread Wayne Fay
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy > (default-deploy) on project myApp: Failed to deploy artifacts: Could not > transfer artifact com.company:myApp:jar:2.4.0 from/to releases > (scp://maven-vm1/s

maven deploy artifacts to Nexus repository

2013-03-22 Thread DJViking
Building my project with Jenkins. The workspace is on a jenkins slave node. This slave node happens to be the same server which is running the Sonatype Nexus Repository. Jenkins master is running on user called jenkins. The slave node is configured for the user called build on that slave, but I do

Re: Multiple build arguments

2013-03-22 Thread Stephane-3
Thank you Andreas ! It solved the issue. -- View this message in context: http://maven.40175.n5.nabble.com/Multiple-build-arguments-tp5750700p5751511.html Sent from the Maven - Users mailing list archive at Nabble.com. - To

Re: I need to run 2 profiles to deploy to 2 seperate Nexus repositories

2013-03-22 Thread Wayne Fay
> How can I get Maven to run 2 separate Profiles to deploy the build artifacts > to 2 separate Nexus repos? > I have tried the following but only the second profile deploys to its Nexus > repo. Instead of this approach, I suggest asking how to achieve your end goal on the Nexus lists. Surely there

I need to run 2 profiles to deploy to 2 seperate Nexus repositories

2013-03-22 Thread DK
Hi, How can I get Maven to run 2 separate Profiles to deploy the build artifacts to 2 separate Nexus repos? I have tried the following but only the second profile deploys to its Nexus repo. mvn clean deploy -P nexus-one,nexus-two Note: the settings file passed doesn't contain any profiles.

Re: My view on the relative merits of different ways to unpack jars into target/classes

2013-03-22 Thread Martin Hoeller
On 22 Mär 2013, Stephen Connolly wrote: > On 22 March 2013 08:12, Martin Höller wrote: > > > Hi! > > > > On 21 Mär 2013, Stephen Connolly wrote: > > > > > I think mailing lists are not the best way to explain why different > > > solutions are to be preferred when ranking against what is best for

[ANN] extra-enforcer-rules 1.0-alpha-4 Released

2013-03-22 Thread Baptiste MATHUS
Hi, The Mojo team is pleased to announce the release of the extra-enforcer-rules version 1.0-alpha-4. Extra Enforcer Rules is a project containing extra rules for Apache Maven's Enforcer Plugin. http://mojo.codehaus.org/extra-enforcer-rules/ To get this update, simply specify the version in you

Re: My view on the relative merits of different ways to unpack jars into target/classes

2013-03-22 Thread Tamás Cservenák
+1 Nailed. It's not all black-or-white. On Fri, Mar 22, 2013 at 10:19 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > > Finally, putting them in your settings.xml allows reacting to repository > location changes when building old builds, putting them in your pom.xml may > mean t

Re: My view on the relative merits of different ways to unpack jars into target/classes

2013-03-22 Thread Stephen Connolly
On 22 March 2013 08:12, Martin Höller wrote: > Hi! > > On 21 Mär 2013, Stephen Connolly wrote: > > > I think mailing lists are not the best way to explain why different > > solutions are to be preferred when ranking against what is best for the > > Maven ecosystem as a whole. > > > > So I wrote a

mvn release using local git repository

2013-03-22 Thread Bernhard Friedreich
Hi! I'm having a problem with releasing one of our projects (multimodule). We've got the following structure: "github": repository (no commit access) "fork on github": forked repository (commit access) "local server": git clone (bare) of "fork on github" local development machine: git clone of th

Re: My view on the relative merits of different ways to unpack jars into target/classes

2013-03-22 Thread Martin Höller
Hi! On 21 Mär 2013, Stephen Connolly wrote: > I think mailing lists are not the best way to explain why different > solutions are to be preferred when ranking against what is best for the > Maven ecosystem as a whole. > > So I wrote a blog post to explain my views on what are good ways and what

Re: Git settings for maven release plugin...

2013-03-22 Thread Anders Lindgren
http://www.sonatype.com/people/2009/09/maven-tips-and-tricks-using-github/ using scm:git:git should do the trick. /Anders On Fri, 2013-03-22 at 00:10 +0100, Jeff wrote: > > > scm:git:ssh://g...@github.com:MyOrg/apps-thor.git > > scm:git:ssh://g...@github.com:MyOrg/apps-thor.git >