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
cha
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.
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 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:
org
projectB
But the project B has a long list of transitive dependencies, none of which
are required in p
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.
&
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 l
t; Wayne
>
Done, JIRA created https://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 - U
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:
h
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://ww
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
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.
>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
S
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
I am using Maven surefire plugin 2.4.2 with the following configurations:
maven-surefire-plugin
...
false
...
always
...
I have intentionally set testFailureIgnore=false (i.e. the default value),
so that if the test f
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
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.
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 th
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 a
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
I have a multiple module project with this parent pom containing this:
myappone
myapptwo
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 have any plugins) i do a Fil
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?
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:
> cent
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 maili
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
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 th
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:
http://www.nabble.com/hibernate3-
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 hel
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
http://repository.atlassian.com/maven2/com/atlassian/maven/plugins/maven-upload-p
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,
a
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.
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 w
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:
http://www.nabble.com/required-artifact-is-mis
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:
-
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="h
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
>
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:
http://www.nabble.com/
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
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'
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?
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" pha
Merging the executions of the plugin, atleast in this case, is not possible.
Merging will make it:
ABCArtifact
Step1
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 this
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 ph
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
> source
What does your pom.xml look like? Try adding the compiler plugin to your pom
with the following configuration:
maven-compiler-plugin
${JAVA_HOME}/bin/javac
...
--
View this message in context:
http://www.nabble.com/-Newbi
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
POM.
Great, the intermediate property trick works!
Here's what i did:
${JAVA_HOME}
Then in the enforcer plugin:
java.home
"Please set JAVA_HOME"
Thanks for the help :)
Jaikiran wrote:
>
> Matthew,
>
> That's a good idea :)
>
> Let me give it a
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:
${env.JAVA_HOME}
Let me give it a try and see how it behaves. Will post the outco
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
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 property
Thanks Wendy, i'll give that a try.
Wendy Smoak-3 wrote:
>
>
> Try false...
>
> http://maven.apache.org/ref/2.0.9/maven-model/maven.html#class_plugin
>
> --
> Wendy
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For a
I am using Maven-2.0.9. In my project, i have a parent pom and n child poms.
Something like this:
Parent POM:
child-one
child-two
maven-antrun-plugin
doSomething
install
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
I am using Maven2 and trying to run a java class from Maven using the
exec-maven-plugin. Here's how it looks like:
org.codehaus.mojo
exec-maven-plugin
1.1-beta-1
exec
java
53 matches
Mail list logo