Best practice declaring transitive dependencies used only for test

2012-04-25 Thread Gabriel Belingueres
Hi: In my last web app, I have the following dependency problem: Declared the following dependency in my pom: struts2-spring-plugin:2.3.1.2 with runtime scope, which have a transitive dependency to struts2-core:2.3.1.2 (runtime), which have a transivite dependency with commons-io:2.0.1

Re: maven and wtp dependencies not in WEB-INF/lib

2012-01-13 Thread Gabriel Belingueres
Hi! I see you are running with -Dwtpversion=2.0. According to the 2.8 version docs [1], it is NOT supported. In my experience, I always use 1.5 and any other higher version doesn't work. 3 things you want to make sure you have properly configured: * M2_REPO is defined inside eclipse * that you

Re: versions plugin does not show the maven-jar-plugin 2.3.2 as a new version

2011-11-25 Thread Gabriel Belingueres
сообщение- From: Gabriel Belingueres Sent: Monday, November 21, 2011 6:28 PM To: Maven Users List Subject: versions plugin does not show the maven-jar-plugin 2.3.2 as a new version Hi! I'm using maven 3.0.3, which uses the maven-jar-plugin 2.3.1 as default (predefined in the super pom I

Re: versions plugin does not show the maven-jar-plugin 2.3.2 as a new version

2011-11-25 Thread Gabriel Belingueres
stephen.alan.conno...@gmail.com: 2011/11/25 Gabriel Belingueres belingue...@gmail.com: Hi! I've runned with -U as you said, and even deleted the jar-plugin and versions-plugin from my local repo and the same result: No mention of jar plugin version 2.3.2. However, if I declare

versions plugin does not show the maven-jar-plugin 2.3.2 as a new version

2011-11-21 Thread Gabriel Belingueres
Hi! I'm using maven 3.0.3, which uses the maven-jar-plugin 2.3.1 as default (predefined in the super pom I think). If I run a mvn versions:display-plugin-updates then the maven-jar-plugin 2.3.2 does not shows in the list. Is it because I'm not explicitly declaring the use of the jar plugin in

Re: Does maven eclipse plugin downloads unnecesary artifacts?

2011-11-18 Thread Gabriel Belingueres
Thanks Barrie! 2011/11/18 Barrie Treloar baerr...@gmail.com: On Fri, Nov 18, 2011 at 6:19 AM, Gabriel Belingueres belingue...@gmail.com wrote: Hi! I usually use the maven eclipse plugin (v2.8) using the downloadSources and downloadJavadocs properties, however I added some runtime scoped

Does maven eclipse plugin downloads unnecesary artifacts?

2011-11-17 Thread Gabriel Belingueres
Hi! I usually use the maven eclipse plugin (v2.8) using the downloadSources and downloadJavadocs properties, however I added some runtime scoped dependency but the eclipse plugin downloads the sources.jar and javadoc.jar too of that library (also no other dependency depends on that runtime scoped

Re: eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-10-21 Thread Gabriel Belingueres
are not found, if the compiler plugin version is = 2.3, then it defaults to 1.5 (as documented in the maven compiler plugin). I attached the patch for the IdeUtils.java class. Regards, Gabriel 2011/9/23 Barrie Treloar baerr...@gmail.com: On Sat, Sep 24, 2011 at 12:43 AM, Gabriel Belingueres belingue

Re: eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-09-23 Thread Gabriel Belingueres
into account. [1] http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/ide/IdeUtils.java 2011/9/22 Barrie Treloar baerr...@gmail.com: On Fri, Sep 23, 2011 at 3:51 AM, Gabriel Belingueres belingue...@gmail.com wrote: Hi, I'm using Maven

eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-09-22 Thread Gabriel Belingueres
Hi, I'm using Maven 3.0.3. My current project pom.xml file uses a parent pom where is defined the maven-compiler-plugin configuration: properties maven.compiler.source1.6/maven.compiler.source maven.compiler.target1.6/maven.compiler.target