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 (run

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 c

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

2011-11-25 Thread Gabriel Belingueres
like this? 2011/11/25 Stephen Connolly : > 2011/11/25 Gabriel Belingueres : >> 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 pl

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

2011-11-25 Thread Gabriel Belingueres
e circumstances the maven checks for new versions in the local > repository only. Force it to check the central explicitly with > mvn -U versions:display-plugin-updates > > -Исходное сообщение- From: Gabriel Belingueres > Sent: Monday, November 21, 2011 6:28 PM > To: Maven

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 my

Re: Does maven eclipse plugin downloads unnecesary artifacts?

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

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
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 : > On Sat, Sep 24, 2011 at 12:43 AM, Gabriel Belingueres > wrot

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 : > On Fri, Sep 23, 2011 at 3:51 AM, Gabriel Belingueres > wrote: >> Hi, >> >> I'm using Mav

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: 1.6 1.6 true true lines,vars,source true org.apache.maven.plugins