Hi,
Could you rephrase your need? Not sure to understand.
Just a guess, wouldn't the mvn -amd or -am option fit your need?
Cheers
2009/12/3 Andrew Gaydenko a...@gaydenko.com
Hi!
Say, I have top pom (packaging pom) with two modules - B and C (both jar
packaging). B is self-containd, C
On Friday 04 December 2009 13:50:46 Baptiste MATHUS wrote:
Hi,
Could you rephrase your need? Not sure to understand.
Just a guess, wouldn't the mvn -amd or -am option fit your need?
Cheers
Hi!
There are modules B (self-contained) and C (depends on B). Let's do clean and
install. Now
Hi.
I am testing out maven 3 on our project.
I heard from Jason's presentation on JavaZone that you are supposed to be
able to have versionless parent elements.
Trying to build the attached project, makes it fail.
In maven 2 we could inherit properties, this doesn't seem to work anymore.
Can
My build generates some HTML documentation, but as part of normal site
reporting. One phase of the build just creates some HTML files under a
given directory.
I would like to include this as one selection under my Project reports.
How could I do this?
*) In practise the documentation is
Normally, if it is a property used by a plugin, it is documented in the
plugin's doc. However, for the configId and configDirectory properties that
you talk about, I think that they are something GeoServer specific and not
for a plugin. Possibly they are used in the pom or during filtering.
2009/12/4 Anders Hammar and...@hammar.net
Normally, if it is a property used by a plugin, it is documented in the
plugin's doc. However, for the configId and configDirectory properties that
you talk about,* I think that they are something GeoServer specific and
not
for a plugin. Possibly
To be used within the pom and filtering?
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
/Anders
On Fri, Dec 4, 2009 at 14:47, maven apache apachemav...@gmail.com wrote:
2009/12/4 Anders Hammar and...@hammar.net
Normally, if it is a property used by a plugin, it is
Hi there!
I'm quite new to maven and have the following question:
Maven generates test JARs from the test directories that can be specified
via the build-helper-maven-plugin. Is it possible to generate seperate
JARs (for integration tests in my case) from different test folders? I
don't want
Hi!
I try to build some project(actually i try to make single JAR file with mvn
package code) and i am getting compilation error and almost all lines have
some kind of same error(ex. Generics are not supported in source -1.3,..., try
source -1.5). I think source means source of JDK, so I
Sure:
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
Specify 1.5 as source and target.
/Anders
On Fri, Dec 4, 2009 at 15:29, martin mikeln mikelnmar...@yahoo.com wrote:
Hi!
I try to build some project(actually i try to make single JAR file
Hello,
I don't know specifically for the JAR plugin, but according to its
website at http://maven.apache.org/plugins/maven-jar-plugin/usage.html
you can configure which files to include/exclude. So you could create
separate execution elements for each jar file you want to generate,
and set
Hello there! I'm trying to integrate my build.xml with some artifacts
managed by maven. Here's What I've done so far:
project name=Project Builder
xmlns:artifact=antlib:org.apache.maven.artifact.ant
property file=build.properties/property
path
I found this documentation related to profiles --
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
and it was very helpful. It left me with one lingering question.
If someone doesn't specify -Denv= in the build command, how can you warn
them that they must include this
artifact:pom file=${project.dir}/pom.xml id=mypom
pom pomrefid=mypompom /
java.lang.NullPointerException
at org.apache.maven.artifact.ant.Pom.getArtifact(Pom.java:133)
Does this help you see why it failed?
Wayne
Actually fixed this, by using pom inside the artifact:install
instead of using pomrefid.
Anyway, I started using artifact:mvn instead, but its downloading
all dependencies everytime. Not using my local repository. Why is
that?
Regards
On Fri, Dec 4, 2009 at 1:03 PM, Vinicius Carvalho
Folks
I am wondering of you can help me I would like to be able to generate
some script actions based on a list of changed files for a build
Let say I have two new files checked out of subversion (these are the new
/ updated files):
file0.txt
file1.txt # ** updated
file2.txt
file3.txt #
If someone doesn't specify -Denv= in the build command, how can you warn
them that they must include this parameter rather than the build failing
spectacularly.
The enforcer plugin can help with that:
http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html
Wayne
I see that http://jira.codehaus.org/browse/MJAR-28 was fixed in the 2.3
release. From my perspective, this seems to have broken things, including a
viable working system I had using 2.2.
In 2.3 I have several SNAPSHOT dependencies, but when I build a jar with
addClasspath, only one of those is
Thanks it works in order to skip tests :-)
However I don't found how to skip assembly target when I execute mvn install.
Is it possible ?
2009/12/3 Anders Hammar and...@hammar.net:
Does this work:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skipTests
/Anders
On
Hi all,
I used archetype:create-from-project goal to create an archetype from a project
of mine, worked perfectly.
Installed the archetype and used it to create a project, which all worked fine
However, I get following warnings when I create a project using the above
mentioned archetype and
Probably
thishttp://maven.apache.org/maven-archetype/archetype-common/xref/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.htmlis
archetype plugin code which logs these warning. Check, your
archetype's
archetype-metadata.xml I suspect there is one or more overlapping
Friends don't let friends use the dev.java.net repo... Are you sure
you need it to build Spring? If so, good luck! (And why are you trying
to build Spring anyway?)
This artifact (and many others) should be in Central.
Ok, thanks for the response. Now, how do I fix it? I installed maven
with
That was it, thank you
For anyone looking for the same issue
I had the following in my archetype-metadata.xml
fileSet filtered=true encoding=UTF-8
directorysrc/main/resources/directory
includes
include**/*.xml/include
include**/*.properties/include
/includes
/fileSet
fileSet
jimmi4664 wrote:
My build generates some HTML documentation, but as part of normal site
reporting. One phase of the build just creates some HTML files under a
given directory.
I would like to include this as one selection under my Project reports.
How could I do this?
*) In practise
Stephen Duncan Jr wrote:
I see that http://jira.codehaus.org/browse/MJAR-28 was fixed in the 2.3
release. From my perspective, this seems to have broken things, including a
viable working system I had using 2.2.
In 2.3 I have several SNAPSHOT dependencies, but when I build a jar with
Not sure what you mean by assembly target. Have you bound the assembly
plugin to some phase but want to skip it?!
You cannot unbind a plugin, but some plugins provide some configuration
option to turn tem off (like surefire for skipping tests). So you need to
know which plugin it is you want to
Sweet! This looks like the answer to my problems, except that when I include
the plugin in my pom.xml, I'm not able to download it. What repository
should I be using? Here is what I get ...
mvn clean install jboss:redeploy
[INFO] Scanning for projects...
Downloading:
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0
What makes you think there is a 1.0 version of this plugin?
http://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin
Wayne
Hi;
These days I was confusing with some problems about the m2eclipse,so I
wonder if I can use maven without m2elcipse.?
For example,when I use m2eclipse after I add a dependency I click maven -
update dependencies ,now what to do without the m2elicpse for updating
dependencies?
And other
29 matches
Mail list logo