Hi Wayne,
i'm using jar plugin 2.3.
i've notice that those new features (custom layout) are implemented in the
Archiver plugin ver 2.4 - should i do something to enforce using
the archiver ver 2.4?
I replaced ${artifact.artifactId} with a fixed string (log4j) and it worked:
Manifest-Version:
Hi
Could i check and test command line argument value with Maven ?
-DName=V1
I search how check value is only V1 and not empty
Regards
Philippe
Hi Jesse (and everyone),
you are more than welcome to not go so easy on me. I am a hands-on
process improvement guy with many years of experience as a build
engineer and release manager. I am also the Editor in Chief at CM
Crossroads (www.cmcrossroads.com) where I write about topics related
Hi
I am running release:prepare to generate .tag and .next versions of poms.
However, some of my modules are not in the overall build.
Therefore, I need to cd into the directory to execute the release:prepare
for these modules which is not great...
Is there any way of maintaining a separate
OK,
after using the -X option , i verifed that jar plugin 2.3 uses archiver 2.4:
[DEBUG] Plugin dependencies for:
org.apache.maven.plugins:maven-jar-plugin:2.3
are:
org.apache.maven:maven-plugin-api:jar:2.0.6:runtime
org.apache.maven:maven-project:jar:2.0.6:runtime
i manged to use the dependency plugin to write a classpath.txt file,
but still i don't know how to access the list of dependencies, so for e.g. ,
i can tell it each dependency is located at it's own dir.
here's the dependency conf:
plugin
groupIdorg.apache.maven.plugins/groupId
Hi
I am seeing issues with executing regular expressions using ant
replaceregexp when running with maven. I have included ant-no-depends,
ant-optionals, even ant-apache-regexp, it works fine if I run mvn clean
install from the module directory.
If I go to the parent (which includes the child
Well, have you read the documentation?
I never used antrun myself, but it seems like you have to expliticitly
reference the classpath if you want to use non-standard tasks. Adding
dependencies is just the first step.
The second step is to use classpathref=maven.plugin.classpath, see
I am interested in getting some feedback on a route that I am leading my
group down.
The prevailing opinions range from innovative to no one else is crazy
enough to do it like that.
The project is a portal (http://www.napaexcellence.ca) that consists of
many separate WAR files tied together
Hi Ben,
On Tue, Mar 9, 2010 at 3:42 AM, bendg ben.d.g...@gmail.com wrote:
Is there any way of maintaining a separate pom hierarchy for modules that I
do not want in the main build? ie. dev-build.pom.xml ?
Even the most casual examination of the POM reference [1] would reveal:
project
Well, could you please give an excerpt from the corresponding poms? It's
difficult to say wo that. And could you also provide us with more details.
Try running mvn with -X and -e options.
Btw, are you sure you need to use ant to do replacements with ant? There's a
standard feature do that kinf of
Jesse already answered about your solution.
But I'm worried about what you're trying to do. Can you explain a bit why
you don't want to include those module inside the parent one? I have some
difficulties to understand how one could have the need to put a project
inside a multi-module hierarchy,
Hi,
It is not my personal preference to exclude them, however, the 2 reasons
are:
1) One of the modules does not build on the build server at the moment (it
is a COTS product that we are using maven as a wrapper for). This is work
in progress for us..
2) Some of the modules are considered to
I forgot to say, I have run with -X and -e and the dependencies do not appear
in the trace, which I assume means the dependencies are not being attached
to the new classloader that is created when the plugin runs. This is
consistent with the behaviour I am seeing too
--
View this message
As good and as pervasive as Maven is, if you review build tools then you
may want to take a look at Ivy too. I plan to.
Yes, Maven is hard to learn. The web site doesn't quite seem to be
organized either for learning *or* for reference. The only book I
could find when I went looking for one,
Hi
The ant script is doing a whole set of things, XSLT, reg ex, copy files
etc.. etc..
The trouble seems to be the antrun plugin is not attaching the dependencies
if the maven module is called form a parent. There are 2 parents, and both
are using module tag to call the next child.
Here is
Hi Jesse,
Thanks for your reply, I have never used module tag in profiles before,
interesting idea...
Trouble is, I have a hierachy of maven modules and your suggestion would
require me to refactor my module hierarchy, which I don't want to do because
there are already in their correct areas
I agree with your comments about the documentation.
It needs some outside review to get the organization more oriented to
the new person.
The definitive guide is missing some of the things that you need to
actually build something functional.
I suggested some rewording and table changes
On Tue, Mar 9, 2010 at 11:29 AM, Ron Wheeler
rwhee...@artifact-software.com wrote:
I suggested some rewording and table changes and provided an example to the
web page on transitive dependencies
Wendy Smoak wrote:
On Tue, Mar 9, 2010 at 11:29 AM, Ron Wheeler
rwhee...@artifact-software.com wrote:
I suggested some rewording and table changes and provided an example to the
web page on transitive dependencies
bendg wrote at Dienstag, 9. März 2010 10:44:
Hi
I am seeing issues with executing regular expressions using ant
replaceregexp when running with maven. I have included ant-no-depends,
ant-optionals, even ant-apache-regexp, it works fine if I run mvn clean
install from the module
I encountered the same problem this morning.
I was trying to copy the contents of a remote directory to a local directory
with pscp.exe, with all the options specified on the command line (i.e.,
username, keyfile, etc). The command executed successfully if I entered it
directly, but it would
On 2010-03-09 15:52, Ron Wheeler wrote:
I am interested in getting some feedback on a route that I am leading my
group down.
The prevailing opinions range from innovative to no one else is crazy
enough to do it like that.
The project is a portal (http://www.napaexcellence.ca) that consists
Ron,
A couple of thoughts come to mind. Dependency management will go a long way
towards solving your version issue (and also custom excludes rules). Also
since it sounds like you have lots of wars, could you create an ear using
it's shared lib folder? Maven has good support for that too. You
Dennis Lundberg wrote:
On 2010-03-09 15:52, Ron Wheeler wrote:
I am interested in getting some feedback on a route that I am leading my
group down.
The prevailing opinions range from innovative to no one else is crazy
enough to do it like that.
The project is a portal
Good points.
The dependency management was mentioned earlier.
Perhaps my staff was right on that one :-) . I am being outvoted 2-0.
See below for my comments.
Ron
David Hoffer wrote:
Ron,
A couple of thoughts come to mind. Dependency management will go a long way
towards solving your
I wouldn't make a determination based on quantity of version numbers, rather
it should be based on intent/purpose.
If at the war level you want to control precisely what versions and/or what
exclusions dependencies have...then DM at that level is the way to go.
Conversely if you are okay with the
Okay, I haven't used shared libraries in Tomcat lib, that may work fine.
The nice thing about an ear is that it is portable...all the wars/shared
libs are in one file.
-Dave
On Tue, Mar 9, 2010 at 12:05 PM, Ron Wheeler rwhee...@artifact-software.com
wrote:
Good points.
The dependency
David Hoffer wrote:
I wouldn't make a determination based on quantity of version numbers, rather
it should be based on intent/purpose.
Good point.
If at the war level you want to control precisely what versions and/or what
exclusions dependencies have...then DM at that level is the way to
Hi, I am using a library called Language tool. Since it does not have a
maven repository anywhere, I had to make a local one for it.
Unfortunately, every time I execute any maven task, Maven will check all the
repositories for updated copies. This process can be rather slow and I'd
rather maven
Maven is doing what it's supposed to. You've added the artifact without the
POM, add a POM even a stub one and the message will go away.
Artifacts are not allowed in Maven Central with the POM, it's a Maven
requirement.
On Mar 9, 2010, at 6:20 PM, Ken Egervari wrote:
Hi, I am using a
Oh, Okay... Thanks! I just used the -DgeneratePom=true for all 5 libraries
and now it doesn't put that annoying stuff. Maybe true should be default
perhaps? Thanks ;)
Ken
On Tue, Mar 9, 2010 at 6:56 PM, Jason van Zyl ja...@sonatype.com wrote:
Maven is doing what it's supposed to. You've added
Did you use Maven to install the .jar, or did you place it there manually?
Maven provides a built-in way to install a 3rd party jar to your repo,
creating a POM for you:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
On Tue, Mar 9, 2010 at 6:06 PM, Ken Egervari
On Mar 9, 2010, at 7:06 PM, Ken Egervari wrote:
Oh, Okay... Thanks! I just used the -DgeneratePom=true for all 5 libraries
and now it doesn't put that annoying stuff. Maybe true should be default
perhaps? Thanks ;)
The reason that's not done by default is that we cannot glean the
Unfortunately the people that create language tool (it's a multi-language
grammar checker library for Java) don't believe in Maven. They have this
belief that it's buggy and use Ant. They somehow think that Ant is superior,
so they just don't even bother supporting Maven for the people that do use
On Mar 9, 2010, at 7:30 PM, Ken Egervari wrote:
Unfortunately the people that create language tool (it's a multi-language
grammar checker library for Java) don't believe in Maven. They have this
belief that it's buggy and use Ant. They somehow think that Ant is superior,
so they just don't
** I am not sure if the codehaus list is still active, hence re-posting it here
**
Hi,
I've a fairly large code-base with several modules and
aggregates. I'm experiencing the following issues. Any help will be
greatly appreciated.
1. When aggregate is set to true, it simply
generates an
I can recommend that you install the Nexus repository.
You can easily upload libraries like Language Tool and it will find it
right away.
It has a lot of other benefits as well and makes using Maven much more
pleasant.
It can proxy all the other repos that you use and that makes you
Nexus is good, but it can't do magic. It will not solve the fact that there
are no poms/metadata and therefore no dependencies info. You still need to
fix that yourself.
I'm not a fan of just uploading the jars and using the default pom (no
dependency info) as it will break Maven's dependency
Am Dienstag, 9. März 2010 05:09:18 schrieb hanasaki:
Did a maven release and had connection information in the scm
section. After the release, the new pom with updated coordinates in its
version section had replaced the ${groupId}/${artifactId}/trunk in the
new pom with the Actual values.
40 matches
Mail list logo