Thank you very much! I'll keep an eye for it in the Maven repo.
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-compiler-plugin-3-1-version-release-tp5749035p5749297.html
Sent from the Maven - Users mailing list archive at Nabble.com.
We are running into this bug http://jira.codehaus.org/browse/MCOMPILER-187
while building the JBoss AS project https://github.com/jbossas/jboss-as.
That bug causes a extremely slow (re)build time for local dev environments,
because it recompiles the entire Maven module every time there's a tiny
This looks related to http://jira.codehaus.org/browse/MRELEASE-526
--
View this message in context:
http://n2.nabble.com/Issue-with-release-plug-in-copying-incorrect-scm-path-to-create-tag-tp4857506p4857770.html
Sent from the maven users mailing list archive at Nabble.com.
Hello everyone,
I am using Maven-2.0.9 and I have a project A which depends on a couple of
classes from project B. So obviously, i have a dependency in my pom.xml as
follows:
dependency
groupIdorg/groupId
artifactIdprojectB/artifactId
/dependency
But the project B has a long list
I would have done that. But the project B is not in my control. It's a third
party project.
Stevo Slavić wrote:
I'd suggest that you refactor projectB bits used by both projectB and
projectA into a new projectC module and have it referenced as dependency
from both projectA and projectB.
Hello everyone,
I have a project org.myapp:proj which is a jar artifact. This project is
configured to use maven-assembler-plugin to create a custom artifact (let's
say proj-client1.jar). The descriptor configuration xml (let's call it
client1-assembler.xml) used for this assembler plugin looks
Excellent! Thanks for the quick response - i had been trying a lot of
different ways of doing this, since this morning :)
-Jaikiran
Stevo Slavic wrote:
http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/using-components.html
Regards,
Stevo.
--
View this message
://issues.sonatype.org/browse/MVNDEF-112
-Jaikiran
--
View this message in context:
http://www.nabble.com/LATEST-version-of-an-%22artifact%22-tp24335281p24369049.html
Sent from the Maven - Users mailing list archive at Nabble.com
Thanks Stephen for explaining how the LATEST would have worked against
artifacts. Would it be possible to update the documentation (the definitive
guide) to make it clear that LATEST is meant for plugins? Right now, that
doc contradicts the way LATEST behaves.
--
View this message in context:
I am reading the Maven definitive guide
http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-pom-syntax.html
which says:
LATEST refers to the latest released or snapshot version of a particular
artifact...
Does this really work? I am using LATEST against a artifact, but i
Infact i get an error when i use LATEST:
1) org.myapp.abc:myapp-core:jar:LATEST
Try downloading the file manually from the project website.
Seems like LATEST isn't recognized as a valid qualifier?
Jaikiran wrote:
I am reading the Maven definitive guide
http://www.sonatype.com
Hello everyone,
I am trying to find some inputs on how best to manipulate the dependency
resolution within Maven. Given a project X and its set of dependencies, is
there a way wherein i can sort of filter out the dependencies? Or is there
some documentation or any pointer on how to implement and
From what i understand of the table here
http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-transitive.html
transitive dependencies for a provided scope dependencies are infact
provided. Are you seeing a different behaviour?
-Jaikiran
Sipungora wrote:
Hi,
I need
As far as i know, you cannot skip the default lifecycle phases. Why exactly
do you want to do this?
-Jaikiran
Marouane Amraoui-2 wrote:
Hi,
I have a multiproject maven
Parent1 :
è Child1
è Child2
I launch mvn clean install on Parent1.
I need to skip package phase in subproject
I am using Maven surefire plugin 2.4.2 with the following configurations:
plugin
artifactIdmaven-surefire-plugin/artifactId
configuration
...
testFailureIgnorefalse/testFailureIgnore
...
forkModealways/forkMode
...
The reason why the resource:testResources is being run twice might be because
The goals that are configured will be added to the goals already bound to
the lifecycle from the packaging selected.
as documented in
I am using Maven-2.0.9 and trying to change the default output location of
the test resources (under src/test/resources). By default, they get copied
to target/tests-classes during mvn clean package. However, i want them to be
copied under my specific target/tests-resources folder. I followed the
Thanks everyone for the inputs. Let me give the Eclipse plugin a try :)
Eugene Kuleshov wrote:
Rusty,
The startup issue been fixed while ago. The project import and updating
dependencies may take some time for large project, but nothing like that
is happening at Eclipse startup
I have a multiple module project with this parent pom containing this:
modulemyappone/module
modulemyapptwo/module
The myappone and myapptwo have their own poms and are jar artifacts. From
the top level parent i do a
mvn eclipse:clean eclipse:eclipse
And then from Eclipse (which does not
Kent Narling wrote:
If you want to do this, why not use one of the maven eclipse plugins?
At least I know m2eclipse supports this very nicely...
The only reason i stay away from adding plugins (any plugins) to eclipse is
because
1) It makes Eclipse slow
2) The plugins sometimes start
David, Tim and Dan - extremely sorry about this delayed reply. I actually
read these replies immediately when you posted but since it was too late in
the night, i just rushed home with replying and forgot about this until
today :)
David and Tim, thanks for explaining the licenses to me - that
Jean-Philippe Steinmetz-3 wrote:
The odd thing about this is that I have a persistence.xml at the path
src/main/java/META-INF/persistence.xml.
I guess you should place it in src/main/resources/META-INF/persistence.xml
--
View this message in context:
james_d wrote:
However, I noticed that when I run my build on Linux that the properties
are not available. Specifically, calling System.getProperty(key1)
returns null. What's going on? I'm using maven 2.0.9 for both.
The OS shouldn't matter, it should have worked. Please post the
Being discussed in your other post here
http://www.nabble.com/Passing-system-properties-to-JUnit-tests-using-%22-D%22-on-Linux-td21593651.html
--
View this message in context:
http://www.nabble.com/Passing-system-properties-to-JUnit-using-%22-D%22-on-Linux-tp21593647p21598856.html
Sent from the
Being discussed here
http://www.nabble.com/Passing-system-properties-to-JUnit-tests-using-%22-D%22-on-Linux-td21593651.html
--
View this message in context:
http://www.nabble.com/Passing-system-properties-to-JUnit-using-%22-D%22-on-Linux-tp21593649p21598861.html
Sent from the Maven - Users
Varini H.P. wrote:
GroupId: org.apache.maven.plugins
ArtifactId: maven-compiler-plugin
Version: 2.0.2
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2
from the specified remote repositories:
central
ez wrote:
instead i get this:
log4j:WARN No appenders could be found for logger
(com.i18n.Excel2Properties).
log4j:WARN Please initialize the log4j system properly.
The warning is because the log4j.properties or log4j.xml is not present in
the classpath. Where have you placed it?
--
I was working on a Maven project and was looking for a plugin which could
upload some documentation to some remote location. While searching this
mailing list i came across the maven-upload-plugin which is hosted at
First of all, thank you for your inputs snicoll.
snicoll wrote:
The modules configuration is completely useless since the EAR plugin will
build the modules list using the dependencies section of your EAR project.
You are right :) I realized that, just a few minutes before you posted,
To add to what Wendy posted; the screenshot shows that the artifact is under
D:\Daten\maven2-local\.
Is that your Maven repository? Have you configured Maven to use this as the
repository (through settings.xml)? By default Maven uses the user's home
directory as the repository.
thomas2004
What does the following command output:
mvn -version
especially the Java version
--
View this message in context:
http://www.nabble.com/Cannot-compile-simple-code-tp21412538p21412753.html
Sent from the Maven - Users mailing list archive at Nabble.com.
I am using Maven-2.0.9 in a multi-module project. One of the modules uses the
maven-ear-plugin to generate an ear. Here's how it looks like:
Parent pom.xml:
-
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Its' missing this one : local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT
thomas2004 wrote:
[14:36:57]: Missing:
[14:36:57]: --
[14:36:57]: 1) local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT
--
View this message in context:
brettporter wrote:
This is a limitation of the way Maven currently specifies the
executions. While it might be changed in the future it is currently by
design.
I understand. Do you want me to raise a feature request?
brettporter wrote:
You seem to be using the install phase for a
alon2 wrote:
why maven downloads the same poms over and over again-they aresuppouse to
be in my repository after the first time no?
Alon,
Please post the Maven logs/messages that you see. Also have you enabled
snapshot repositories and does your pom depend on any SNAPSHOT version?
--
Jörg Schaible-2 wrote:
Well, personally I hope it will not change. Otherwise we will face a lot
more Ant-like POMs which contradicts IMHO the original design goal.
- Jörg
I did not get this. Do you mean allowing the same plugin to be included
multiple times for the same phase won't be
novotny wrote:
Hi,
What maven configuration do I need to do to make maven die
completely if any test fails?
Thanks, Jason
As far as i know, that's the default behaviour. Unless you have set the
maven.test.failure.ignore to true
--
View this message in context:
ufuk dogdu wrote:
C:\Documents and
Settings\udogdu.TRIDC-NT\logicaldoc-3.6-src\logicaldoc-util\target\classes
(access is denied)
Does the user account through which the maven build is run, have write
permissions to this folder?
--
View this message in context:
Jörg Schaible-2 wrote:
Basically I mean the possibility to turn a POM in some kind of Ant build
script. Especially I refer the 3rd paragraph here:
http://maven.apache.org/background/philosophy-of-maven.html.
...
Meanwhile I can also see here on the Maven list some kind of we must
Merging the executions of the plugin, atleast in this case, is not possible.
Merging will make it:
plugin
artifactIdABCArtifact/artifactId
executions
execution
idStep1/id
I am seeing an issue with the order in which the plugin execution happens
when there are multiple plugin associated with the same phase. I am using
Maven 2.0.9. As per the documentation, the order in which they should be
executed is the same as the order in which they are being defined in the
What does your pom.xml look like? Try adding the compiler plugin to your pom
with the following configuration:
build
plugins
!-- Compiler --
plugin
artifactIdmaven-compiler-plugin/artifactId
configuration
executable${JAVA_HOME}/bin/javac/executable
Maybe this might help
http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html
It has a excludes attribute where you can pass the 3rd party
groupId:artifactId
Pavel Bernshtam wrote:
For Continuous Integration build I need to build all my projects for
sources,
No matter what i try, the ordering is not working. Let me know if i have to
report a JIRA with a sample application attached.
Jaikiran wrote:
I am seeing an issue with the order in which the plugin execution happens
when there are multiple plugin associated with the same phase. I am using
Thanks to Brett Porter, i found that this is similar to an already reported
issue http://jira.codehaus.org/browse/MNG-3719
I'll create a simple reproducible application and attach to that issue with
more details. In the meantime, let me see if can i find a workaround for
this issue.
--
View
Thanks Wendy, i'll give that a try.
Wendy Smoak-3 wrote:
Try plugininheritedfalse/inherited...
http://maven.apache.org/ref/2.0.9/maven-model/maven.html#class_plugin
--
Wendy
-
To unsubscribe, e-mail: [EMAIL
I am using Maven-2.0.9 and the enforcer plugin within my pom
http://maven.apache.org/plugins/maven-enforcer-plugin/rules/index.html
http://maven.apache.org/plugins/maven-enforcer-plugin/rules/index.html
Within this plugin i am using the requireProperty rule to ensure that a
environment
Thanks, That answers my question :-)
Stephen Connolly-2 wrote:
Write a custom enforcer rule!
--
View this message in context:
http://www.nabble.com/Does-requireProperty-consider-system-environment-variables--tp20936086p20936504.html
Sent from the Maven - Users mailing list archive at
Matthew,
That's a good idea :)
I had thought about it once, but then i guessed that if the JAVA_HOME is not
set, then the intermediate property would be set to the literal
${env.JAVA_HOME} by the following:
properties
javaHome${env.JAVA_HOME}/javaHome
/properties
Let me give it a try and
Great, the intermediate property trick works!
Here's what i did:
properties
java.home${JAVA_HOME}/java.home
/properties
Then in the enforcer plugin:
requireProperty
propertyjava.home/property
messagePlease set JAVA_HOME/message
/requireProperty
Thanks for the help :)
Jaikiran wrote
I am using Maven-2.0.9. In my project, i have a parent pom and n child poms.
Something like this:
Parent POM:
modules
modulechild-one/module
modulechild-two/module
/modules
build
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
Stephen Connolly-2 wrote:
Options:
1. Add xyz to your repo (seriously, this is the easiest)
2. Add xyz as a dependency to the plugin using the system scope (not too
difficult, but you'd be better off with 1 as once you start using the
system
scope, you'll incorrectly think it's the
I am using Maven2 and trying to run a java class from Maven using the
exec-maven-plugin. Here's how it looks like:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
version1.1-beta-1/version
executions
execution
53 matches
Mail list logo