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?
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
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
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
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
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
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
> 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
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
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
> 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
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.
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
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
+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
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
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
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
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
>
19 matches
Mail list logo