Hi,
I'm using profiles at work for the sole purpose of deciding what to do
with the build artifact, i.e. activating different deployment targets
(application servers) for an EAR.
I see this as a completely different task where you're simply using
Maven as a utility tool. When using
We're having lots of projects building at least one EAR, and each EAR is
deployed to the same application server(s), but in different flavors:
developer (snapshot) build, integration build and/or release build. Using
a CI server configured with special jobs doing these deployment tasks
would
Hi,
When been over this several times on this list. You have to extract
the configuration out of the binary. You mustn't have a Maven build
that could generate different flavors of an artifact. Which one would
you deploy to the repository?
Ok, this was a bit misleading by me. With flavors I
Hi,
The Sakai project (http://sakaiproject.org) is deploying it's
artifacts against the Sonatype OSS repository and while this works
fine for Maven 3 builds anyone attempting to download the artifacts
using Maven 2.2.1 gets checksum errors against the maven-metadata.xml.
So far it seems that
I believe this is a Nexus issue as Nexus has a feature of downgrading
the metadata file returned to Maven 2 clients. They *might* have
overlooked the checksum impact of this.
I think your best shot is to ask on the Nexus users list and/or open a
issue ticket for Nexus.
/Anders
On Mon, Mar 19,
Thank you for the answer.
I will revisit my question. At the end of the day I need to centralize the
versions used among all modules. Nevertheless these modules do not share all
the jars needed. I need to refresh my Maven knowledge :)
Once again thank you!
--
View this message in context:
You can use dependencymanagement section to define the version as a filter to
any subsequent dependencies section.
Putting it in dependencymanagement does not declare it as a dependency but does
define the version to be used when it find the dependency declared.
Sent from my Blackberry.
-
Typically each project module will have a parent that the individual
developer does not play with.
It includes a dependency management section that specifies versions for
all of the dependencies that the team cares about.
The individual module projects will list their dependencies but not
All,
I have a problem with the generate-sources goal is being called twice and I
don't know why. I have a super pom that defines the project with several
sub-modules. One sub-module has this:
build
plugins
plugin
groupIdorg.bsc.maven/groupId
I'm pretty sure that something I've done recently has caused the second
iteration, but I don't know what it could be. Any help would be
appreciated.
What does mvn help:effective-pom tell you? Is there another plugin
running that might be forking the build? (Various plugins will do
this.)
I don't see anything in the output of the effective pom that uses the word
fork
What should I look for?
I'm fairly new to Maven, so I don't know a lot about configuration...
Here is my plugin management section:
pluginManagement
plugins
plugin
After banging my head for half an hour, I finally figured what was
wrong. I was trying to use org.xerial:sqlite-jdbc version 3.7.2 on maven
3. This jar is part of central repository and I was able to to see when
I went to local nexus mirror.
However maven was not seeing it. Any time I tried
Wouldn't -x option give debug information from which the actual problem can
be found and resolved?
-Original Message-
From: Niranjan Rao [mailto:nhr...@gmail.com]
Sent: March-19-12 1:31 PM
To: Maven Users List
Subject: Dependency resolution problem
After banging my head for half an
Excludes is always a subset of includes, but since excludes matches every
include nothing is filtered.
Try it without the excludes-section
-Robert
Op Mon, 19 Mar 2012 18:38:12 +0100 schreef Al Dispennette
al.dispenne...@clairmail.com:
I am trying to use the resources plugin to copy files
Hi,
I have just downloaded apache-maven-3.0.4-bin.tar.gz.
The particular version which I got from
http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.tar.gz
had mismatching md5sum's and gpg signatures. I ended up downloading from
www.apache.org/dist.
I do not know which
15 matches
Mail list logo