How to compile some modules with a specific JDK, the rest with default JDK

2012-05-08 Thread jose.nunez-zuleta
Hello Maven users, It is possible to tell maven to compile a specific module with a different JDK than the rest of the project? So say than the master pom has this: . |-- X |-- Y |-- Z Now Y and Z require the new JDK, while X can use the default (there is no dependency between X, Y and Z).

RE: How to compile some modules with a specific JDK, the rest with default JDK

2012-05-08 Thread jose.nunez-zuleta
Works like a charm (tested with mvn -X), inside the pom: project ... nameX/name build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.3.2/version configuration source1.7/source

RE: substitute a repository with another one in pom.xml?

2012-03-28 Thread jose.nunez-zuleta
Hello Hammar, I do have a repository manager but I needed this to test a new deployment artefact framework I'm working on; So far using a global property did it for me (I got access to my emails just this morning and I see you suggested the same), and is simple enough to maintain. Thanks for

There is a way to override distributionManagement in Maven

2012-03-27 Thread jose.nunez-zuleta
Hello Maven users, I have a project master pom.xml with a distribution management section defined like this: distributionManagement repository idone/id nameBlah Managed Releases Repository/name urlhttp://:8080/archiva/repository/one//url layoutdefault/layout

There is a way to download all the artifacts and dependencies for a given project without compiling

2012-03-06 Thread jose.nunez-zuleta
Hello all, Does anybody know if there is a way to download all the artifacts and dependencies for a project from the command line with maven without compiling the project or getting the master pom file? What about getting a list of artifacts using the coordinates (like groupid)? I guess one

RE: There is a way to download all the artifacts and dependencies for a given project without compiling

2012-03-06 Thread jose.nunez-zuleta
Let me rephrase the question to it is possible to download all the artifacts that belong to a specific group and version without getting the master pom. --Jose -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Tuesday, March 06, 2012 4:24 PM To: Maven Users List

RE: There is a way to download all the artifacts and dependencies for a given project without compiling

2012-03-06 Thread jose.nunez-zuleta
Thanks, that's a good start. --Jose -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Tuesday, March 06, 2012 4:45 PM To: Maven Users List Subject: Re: There is a way to download all the artifacts and dependencies for a given project without compiling Let me

How to make sure developers use the latest versions of dependencies?

2012-02-17 Thread jose.nunez-zuleta
Hello Maven users, I managed to convert and connect several projects through dependencies using Maven; I do daily releases and I change the version of the aggregator pom of all the projects using 'mvn versions:set -DnewVersion=X' . But I have the following problem: - My

RE: How to make sure developers use the latest versions of dependencies?

2012-02-17 Thread jose.nunez-zuleta
Thanks for your help Wayne, I'll dig further in the documentation and will come back to the list if I have more questions. --Jose -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Friday, February 17, 2012 10:37 AM To: Maven Users List Subject: Re: How to make sure

How to create a tar distribution of binary modules and dependencies using Assembly

2012-02-08 Thread jose.nunez-zuleta
Greetings, I've tried to setup the Assembly plug-in to create a master tar file with both my application jars and the dependencies used during compilation (stripping the version numbers from the resulting jars) without much success. Based on the documentation

RE: How to create a tar distribution of binary modules and dependencies using Assembly

2012-02-08 Thread jose.nunez-zuleta
All, I figured it out, this does exactly what I need: ?xml version=1.0? assembly xmlns= http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=