[ANN] Maven Compiler Plugin 2.5.1 Released

2012-06-04 Thread Olivier Lamy
The Maven team is pleased to announce the release of the Maven Compiler Plugin, version 2.5.1 The Compiler Plugin is used to compile the sources of your project. The default compiler is javac and is used to compile Java sources. http://maven.apache.org/plugins/maven-compiler-plugin/ You should

Re: maven dependency plugin and maven 3

2012-06-04 Thread Stephen Connolly
From what I recall, nobody has yet updated dependency:tree to query aether's graph directly rather than go through the emulation of 2.x's API for examining the dependency tree. When I last chatted on this with Benjamin, he left me with the distinct impression that I should not rely on the output

RE: maven dependency plugin and maven 3

2012-06-04 Thread Tim Wu T
Do you know if there is any small tool for us to deploy the 3pp jar into nexus in additional to the nexus gui? Br, Tim Ericsson TIM WU Software Designer CBC/XIT/J 100102, China Phone 84768153 (13153) SMS/MMS +86 13810715183 tim.t...@ericsson.com www.ericsson.com This Communication is

Re: maven dependency plugin and maven 3

2012-06-04 Thread Anders Hammar
Please don't hijack someone else's thread. Start a new thread instead. Also, this question is much more appropriate on the Nexus users mailing list. This is a generic Maven mailing list. /Anders On Mon, Jun 4, 2012 at 11:19 AM, Tim Wu T tim.t...@ericsson.com wrote: Do you know if there is any

RE: maven dependency plugin and maven 3

2012-06-04 Thread Tim Wu T
Hi Anders, Thanks :), my mistake. Br, Tim Ericsson TIM WU Software Designer CBC/XIT/J 100102, China Phone 84768153 (13153) SMS/MMS +86 13810715183 tim.t...@ericsson.com www.ericsson.com This Communication is Confidential. We only send and receive email on the basis of the terms set out

Maven toolchains plugin

2012-06-04 Thread Romain . Gilles
Hi all, Is there any issue with maven toolchains plugin? It seems that nobody use it... I would like to ensure that my build is compatible with a specific version of the JVM even if the JVM that running maven is not the same. Thanks, Romain. Romain Gilles Architect

Re: Maven toolchains plugin

2012-06-04 Thread Stephen Connolly
Animal-sniffer @ mojo is your man for that On Monday, 4 June 2012, wrote: Hi all, Is there any issue with maven toolchains plugin? It seems that nobody use it… I would like to ensure that my build is compatible with a specific version of the JVM even if the JVM that running

Imported dependency management does not override version and scope defined in parent POM.

2012-06-04 Thread Aliaksei Lahachou
Hello world! I encountered an interesting pecularity today. I don't know whether this is a feature or a bug, intended or not, known or unknown. Imagine that there are 3 modules: * Parent - defines version numbers in dependencyManagement and common plugin configuration in pluginManagement. * WAR

Re: maven dependency plugin and maven 3

2012-06-04 Thread Anthony Dahanne
Update ! Creating a jira for this issue, providing the same example pom, http://jira.codehaus.org/secure/attachment/60149/pom.xml when I tried to reproduce on a linux box, with the latest maven 3.0.4 1) do a mvn package 2) then do a mvn

Any intention/eta for a maven-release-plugin 2.3.2?

2012-06-04 Thread myron0815
Hi list for 2.4 there are 11 items scheduled. the 7 unresolved ones are already there since 2.0-beta+ and i call them not that critical...? But the already 4 fixed ones are regression for 2.3(.1)... and without them, the m-release-p 2.3 is quite... unusable. (release:rollback no longer works;

Can't make maven-plugin-testing-harness work...

2012-06-04 Thread Benjamin Reed
I'm trying to write a maven plugin. I've added maven-plugin-testing-harness to my project as a test dependency, and created a very simple test that right now just tries to load a pom whose only content is a plugin section to load the plugin. If I have it load like this: plugin

Re: maven dependency plugin and maven 3

2012-06-04 Thread Wayne Fay
[WARNING] Missing POM for javax.servlet:servlet-api:jar:2.5 [WARNING] Missing POM for net.dahanne.gallery:commons-gallery:jar:2.1.0-SNAPSHOT even though those 2 artifacts are existing in my local repo. Have you looked at the content of those pom files to ensure they aren't corrupted? Wayne

Re: maven dependency plugin and maven 3

2012-06-04 Thread Anthony Dahanne
Hi Wayne, you are right, running the purge corrupted my local repo in a way : $ ls ~/.m2/repository/javax/servlet/servlet-api/2.5/ _maven.repositories servlet-api-2.5.jar servlet-api-2.5.jar.lastUpdated servlet-api-2.5.jar.sha1 and if I run mvn clean install just after , everything

Re: Any intention/eta for a maven-release-plugin 2.3.2?

2012-06-04 Thread Robert Scholte
Hi, I was planning a release soon, but it seems like there are still issues with the jazz-provider. I'd like to know what's going on and when possible include a fix for the 2.3.2 release. -Robert Op Mon, 04 Jun 2012 15:48:20 +0200 schreef myron0...@gmx.net: Hi list for 2.4 there are 11

Re: Trouble downloading repositories

2012-06-04 Thread Wayne Fay
I am just learning maven and I am having trouble with some repositories. No, this is not a problem with repositories. 6\05292012\src\main\java\Book.java:[3,0] package javax.persistence does not exist .. 6\05292012\src\main\java\Book.java:[5,1] cannot find symbol symbol: class Entity ...

Re: Can't make maven-plugin-testing-harness work...

2012-06-04 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/4/12 10:29 AM, Benjamin Reed wrote: ...am I doing something wrong? Seems like the test framework is breaking on the simplest things, I'm not sure how to start out if I can't even unit test this. So in attempting to troubleshoot this, it

Re: Maven toolchains plugin

2012-06-04 Thread Wayne Fay
Is there any issue with maven toolchains plugin? It seems that nobody use it… How did you determine that nobody uses it? I doubt this is true. Please post specific problems and someone might be able to help you resolve them. Wayne

Re: Maven toolchains plugin

2012-06-04 Thread Ansgar Konermann
Am 04.06.2012 14:50 schrieb Stephen Connolly stephen.alan.conno...@gmail.com: Animal-sniffer @ mojo is your man for that Unfortunately, it does not fully support Maven 3: http://jira.codehaus.org/browse/MANIMALSNIFFER-23 Got bitten by this issue recently. Ansgar On Monday, 4 June 2012,

How can I give a for Maven properties?

2012-06-04 Thread hujirong
I got this error below. If I add a around these properties, Maven doesn't like it. How can I fix this? Jirong properties wid.runtimesC:/Program Files (x86)/ibm/WID7/runtimes/wid.runtimes was.homeC:/Program Files/IBM/WebSphere/AppServer/was.home

Re: How can I give a for Maven properties?

2012-06-04 Thread Wayne Fay
I got this error below. If I add a around these properties, Maven doesn't like it. How can I fix this? ...        properties                wid.runtimesC:/Program Files (x86)/ibm/WID7/runtimes/wid.runtimes The simplest solution is to move these files to directories without spaces in the

Re: How can I give a for Maven properties?

2012-06-04 Thread Robert Scholte
Sounds more like a bug of the plugin. Op Mon, 04 Jun 2012 22:07:37 +0200 schreef hujirong jirong...@gmail.com: I got this error below. If I add a around these properties, Maven doesn't like it. How can I fix this? Jirong properties wid.runtimesC:/Program Files

[ANN] Maven FindBugs Plugin version 2.5 Released

2012-06-04 Thread LeClaire Garvin
Hi, The Mojo team is pleased to announce the release of the Maven FindBugs Plugin version 2.5. FindBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns. You can see more about the plugin at: http://mojo.codehaus.org/findbugs-maven-plugin/ To get this update,

Re: Can't make maven-plugin-testing-harness work...

2012-06-04 Thread Hervé BOUTEMY
I tried to build the project but got compilation failures [INFO] Compilation failure /tmp/opennms-maven-plugins/features-maven- plugin/src/main/java/org/opennms/maven/plugins/karaf/FeatureBuilder.java: [79,9] error: no suitable method found for addBundle(String,int,null,null) Regards, Hervé Le

mvn versions:set -DnewVersion not updating modules?

2012-06-04 Thread hujirong
C:\Sandbox\MDM-admin\CDIPubSubMgmtISmvn versions:set -DnewVersion=1.0.0 [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order: [INFO] [INFO] ClientServicesBOLib Mediation [INFO] ClientInfoMgmtLib Mediation [INFO]

Eclipse Plugin and Project Links to Independent Projects

2012-06-04 Thread Chris Redekop
(How) can I use the Eclipse plugin to create Eclipse project files that refer to an dependency A) with an Eclipse project link instead of B) as a JAR in the repo? The dependency in this case is A) NOT a module of the parent project (where 'mvn eclipse:eclipse' is executed) and B) NOT built with

Re: Eclipse Plugin and Project Links to Independent Projects

2012-06-04 Thread Barrie Treloar
On Tue, Jun 5, 2012 at 3:19 AM, Chris Redekop chris.rede...@gmail.com wrote: (How) can I use the Eclipse plugin to create Eclipse project files that refer to an dependency A) with an Eclipse project link instead of B) as a JAR in the repo?  The dependency in this case is A) NOT a module of the

why is commons-math3 jar missing from sonatype mirror of central?

2012-06-04 Thread Russ Tremain
it is here: http://repo.maven.apache.org/maven2/org/apache/commons/commons-math3/3.0 but not getting sync'd to the sonatype mirror: https://repository.sonatype.org/index.html#nexus-search;quick~commons-math3 in fact I only see 7 of the 32 files mirrored. anyone know why? It

maven-ant-run plugin fails due to missing class

2012-06-04 Thread pranay agarwal
Hi, earlier i was using the maven repository for downloading all artifacts and thus my project built successfully. However when i deleted my local repo and made my artifactory as a mirror of the maven site ..i get this error on building with maven 3.0.4: NFO]