Re: How to assembly a zip (using maven-asembly-plugin) with two artifacts that have the same groupId, artifactId and type but different version

2009-01-08 Thread Dan Tran
use maven-dependency-plugin to pull them down first, then have maven-assembly-plugin to take over -D On Thu, Jan 8, 2009 at 9:56 PM, Rakesh Arora wrote: > I need to create a zip file that includes two versions of the same > artifact. What is the best way to do that? > > Thanks, > -Rakesh >

How to assembly a zip (using maven-asembly-plugin) with two artifacts that have the same groupId, artifactId and type but different version

2009-01-08 Thread Rakesh Arora
I need to create a zip file that includes two versions of the same artifact. What is the best way to do that? Thanks, -Rakesh

Re: pde-maven-plugin

2009-01-08 Thread Jason van Zyl
Pull the latest dev builds, the wiki page is here: http://docs.codehaus.org/display/M2ECLIPSE/Tycho+builds The sync from apache to central seems to be failing which is why it's choking on 3.0-alpha-1. On 8-Jan-09, at 7:32 PM, Barrie Treloar wrote: On Fri, Jan 9, 2009 at 5:50 AM, Josh Sueret

maven-archetype-plugin: Special Characters (#, $, etc)

2009-01-08 Thread Casey Butterworth
Hi All, I was recently having some trouble with a # (hash) symbol in a filtered file within a filtered file in my archetype and thought I'd share my solution for feedback and hopefully to help any others with the same problem: The following line in my spring applicationContext.xml: imple

Re: issues in Maven-Definitive-Guide.pdf

2009-01-08 Thread Jason van Zyl
Tim is more likely to see your issues if you raise them here: http://getsatisfaction.com/sonatype On 8-Jan-09, at 2:00 PM, Qiubo Su (David Su) wrote: To whom it may concerned, I want to master Maven and the relevant technologies and am going through the Maven-Definitive-Guide.pdf. But when

Re: pde-maven-plugin

2009-01-08 Thread Eugene Kuleshov
baerrach wrote: > > On Fri, Jan 9, 2009 at 5:50 AM, Josh Suereth > wrote: >> I gotta say, I'm *VERY* excited about Tycho. > > I dont want to throw stones because I would like to give Tycho a whirl. > http://ci.sonatype.org/view/Tycho/ gives stormy weather and the last I > looked I have to buil

Re: pde-maven-plugin

2009-01-08 Thread Barrie Treloar
On Fri, Jan 9, 2009 at 5:50 AM, Josh Suereth wrote: > I gotta say, I'm *VERY* excited about Tycho. I dont want to throw stones because I would like to give Tycho a whirl. http://ci.sonatype.org/view/Tycho/ gives stormy weather and the last I looked I have to build Tycho - which is a barrier to tr

issues in Maven-Definitive-Guide.pdf

2009-01-08 Thread Qiubo Su (David Su)
To whom it may concerned, I want to master Maven and the relevant technologies and am going through the Maven-Definitive-Guide.pdf. But when I reach the chapters after 9, I cannot create the project anymore. For example, I cannot use "mvn archetype:generate -DgroupId=org.sonatype.mavenbook.ch10 -

Using Maven 2 to run unit tests across multiple projects

2009-01-08 Thread Matchey, Brian
I have multiple service projects and one application project. The application POM specifies each of the services as dependencies. I would like to generate a surefire unit test report of all the service unit tests as well as the application's unit tests. Is it possible to do this? I have searche

Re: multimodule assembly

2009-01-08 Thread solo1970
I did it this way and it works... but not sure it's the right way 3fs-dist/target *.tar.gz Somehow I think that if it's a submodule I shouldn't have to specify the directory,etc...

Offline with the site plugin

2009-01-08 Thread Josiah Ulfers
The Maven dependency plugin does not seem to be downloading all required jars for the site plugin. Some bug reports, such as http://jira.codehaus.org/browse/MDEP-126 make me think that explicitly adding a plugin to a pom should be enough to make dependency:go-offline resolve that plugin's depen

multimodule assembly

2009-01-08 Thread solo1970
Hello, I'm having some difficulty achieving the following: I have a Parent pom, which generates a tar via the assembly plugin. Under the Parent I have Child1 that also generates a tar assembly file and a war dependency that I want included. I want the tar from child1 and the war to be included

RE: reporting plugin dependency question

2009-01-08 Thread Mark Struberg
And I apologies for obviously searching not good enough in Jira - so thank you for finding the bug for me :) --- Adam Leggett schrieb am Do, 8.1.2009: > Von: Adam Leggett > Betreff: RE: reporting plugin dependency question > An: "Maven Users List" > Datum: Donnerstag, 8. Januar 2009, 17:13 >

Re: pde-maven-plugin

2009-01-08 Thread Josh Suereth
I gotta say, I'm *VERY* excited about Tycho. On Thu, Jan 8, 2009 at 11:43 AM, Eugene Kuleshov wrote: > > > PDE plugin is bit outdated and I don't think it supports Eclipse 3.4. > > There is another plugin that can be used to handle building of Eclipse > plugins and it works with Eclipse 3.3. a

Hegde, Ramdas is out of the office.

2009-01-08 Thread Ramdas . Hegde
I will be out of the office starting 12/22/2008 and will not return until 01/12/2009.

RE: Question on the dependency plugin

2009-01-08 Thread stug23
Thanks Brian. That solved my problem. I did find that since I wanted both .class and source jar files that the best approach was to have two executions of the dependency plugin. And since not all source jars are available I added a failOnMissingClassifierArtifact = false to help things along. He

Re: pde-maven-plugin

2009-01-08 Thread Eugene Kuleshov
PDE plugin is bit outdated and I don't think it supports Eclipse 3.4. There is another plugin that can be used to handle building of Eclipse plugins and it works with Eclipse 3.3. and 3.4. There is some initial documentation on the wiki at http://docs.codehaus.org/display/M2ECLIPSE/Tycho+pro

RE: Dynamic dependencies?

2009-01-08 Thread Brian E. Fox
Have you looked at Tycho and M2eclipse? -Original Message- From: Lewis, Eric [mailto:eric.le...@ipi.ch] Sent: Thursday, January 08, 2009 8:00 AM To: Maven Users List Subject: AW: Dynamic dependencies? Hello, anyone? :-) > -Ursprüngliche Nachricht- > Von: Lewis, Eric > Gesende

RE: Question on the dependency plugin

2009-01-08 Thread Brian E. Fox
This is a bit confusing and I had to refresh myself with the code. The includeClassifier will filter the list based on the classifier. Unless you have declared dependencies on sources jars, they won't be included by your config below. If you want the dependencies to be translated into sources jars

RE: reporting plugin dependency question

2009-01-08 Thread Adam Leggett
Apologies Mark, I seem to have not read all the way to the bottom of your mail :). Looks like this is an issue already - http://jira.codehaus.org/browse/MNG-1948, roadmapped for 3.x Adam -Original Message- From: Mark Struberg [mailto:strub...@yahoo.de] Sent: 08 January 2009 15:04 To: M

AW: Maven and shell command

2009-01-08 Thread Lewis, Eric
Hi Nico Perhaps the Maven Exec Plugin is what you're looking for. http://mojo.codehaus.org/exec-maven-plugin/ Best regards, Eric > -Ursprüngliche Nachricht- > Von: Nicola Benaglia [mailto:nicola.benag...@tecno-progetti.eu] > Gesendet: Donnerstag, 8. Januar 2009 16:27 > An: Maven Users

RE: maven-dependency-plugin copy-dependencies

2009-01-08 Thread Brian E. Fox
Nope, it's the same as this: http://maven.apache.org/plugins/maven-dependency-plugin/faq.html#cli If you put the config in an execution, that config is not picked up when you run from the cli. If you want to bind it to a phase to run as part of the lifecycle, then it will work fine. If you want

RE: Retrieving Project Artifact from the Repository During Assembly

2009-01-08 Thread Brian E. Fox
The assembly plugin should be able to do that, but also take a look a the maven-dependency-plugin:copy / copy-dependencies goals. You could also use this to pull it from the repo to a local folder and then include that in the assembly. Sometimes this is easier to manage than trying to coax the asse

pde-maven-plugin

2009-01-08 Thread sandraB
Hi, I try to use the pde-maven-plugin to generate a HelloWorld plugin eclipse. I already succeed for the eclipse 3.2 and eclipse 3.3 version but I've got an issue with eclipse 3.4. [WARNING] Attempting to build MavenProject instance for Artifact (org.codehaus.mojo:pde-maven-plugin:1.0-alpha-2-20

Maven and shell command

2009-01-08 Thread Nicola Benaglia
Hi, I was looking to a maven plugin to execute command from shell (I need to run 'sed' from shell). I found Maven shell, but it seems deprecated. Could you please suggest something to use? Thank you, Nico - To unsubscribe, e-ma

Re: maven-dependency-plugin copy-dependencies

2009-01-08 Thread Ryan Moquin
Sorry, I forgot this is a "reply all list". I thought that the part before the colon could be considered a phase. I guess I shouldn't assume.that. I tried it that way and didn't think it worked, but I'll give it another shot in case when trying the different combinations I didn't try that one li

RE: reporting plugin dependency question

2009-01-08 Thread Mark Struberg
Yup Adam, that's exactly what I'm doing currently. I just wonder if not being able to specify dependencies in the reporting section is so by design (and there is a good reason for this), or if this is something we may improve in maven-3.0. txs and LieGrue, strub

RE: reporting plugin dependency question

2009-01-08 Thread Adam Leggett
I think you need to specify the dependency within the section of the pom and then reference in the reporting section: org.apache.maven.plugins maven-checkstyle-plugin com.example.whizbang build-tools 1.0

reporting plugin dependency question

2009-01-08 Thread Mark Struberg
Hi! I'm currently enabling the checkstyle plugin for the OpenWebBeans build and stumbled over an interesting problem: I'd like to define the openwebbeans_checks.xml in an own artifact for being used in different modules. My first idea was to simply define the checkstyle plugin in the reporting

Re: maven-dependency-plugin copy-dependencies

2009-01-08 Thread Jeff MAURY
I don't think because dependency is not a Maven standard phase !!! I suggest that you modify your POM so that the configuration parameters are independent of the phase and goals: org.apache.maven.plugins maven-dependency-plugin zip jar

Re: maven-dependency-plugin copy-dependencies

2009-01-08 Thread Ryan Moquin
That's what I figured, I couldn't see how it would work this way, I think this page made me think that you would use dependency:copy-dependencies to invoke it: http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-project-dependencies.html So, if I changed it to dependency, rat

Working with dynamic values in deployed poms?

2009-01-08 Thread Marco Huber
Dear mailing list, as far as I understand Maven, the benefit of a deployed artifact is that regarding to the pom the dependencies are fixed to a version and aren't changing anymore. But how do I nail down a specific version, if I have defined it with a property in my pom and set a new value

AW: Dynamic dependencies?

2009-01-08 Thread Lewis, Eric
Hello, anyone? :-) > -Ursprüngliche Nachricht- > Von: Lewis, Eric > Gesendet: Dienstag, 30. Dezember 2008 16:18 > An: 'Maven Users List' > Betreff: Dynamic dependencies? > > Hi > > I have a bit of a special problem. I want to use a Maven > wrapper around an existing Eclipse PDE build

[ANNOUNCE] Sonar 1.5 Released

2009-01-08 Thread Freddy Mallet
The Sonar team is pleased to announce the release of Sonar 1.5 Sonar is a quality management platform that transparently orchestrates well known tools such as Checkstyle, PMD, Findbugs, JavaNCSS, Clover and Cobertura. Sonar provides the ability to get an insight of the health of projects portfoli

RE: Skipping a lifecycle phase

2009-01-08 Thread Adam Leggett
Can you not place the soapui-plugin in a profile and trigger its activation via a command line parameter a la maven.test.skip? http://maven.apache.org/guides/introduction/introduction-to-profiles.htm l -Original Message- From: Marc Rolly [mailto:marc.ro...@gmail.com] Sent: 08 January 20

Skipping a lifecycle phase

2009-01-08 Thread Marc Rolly
I have soapui-plugin configured to run tests. On certain occasions, I would like to build the complete project without running the tests. Adding the property maven.test.skip only skips the maven-surefire plugin but not the soapui-plugin. There is also no way to add a property to skip the soa

Re: maven-dependency-plugin copy-dependencies

2009-01-08 Thread Jeff MAURY
Because you bound it to the phase package, you should use mvn clean package instead. I think Maven will not pick up your configuration if your run mvn clean dependency:copy-dependencies Regards Jeff On Wed, Jan 7, 2009 at 7:16 PM, Ryan Moquin wrote: > I'm trying to understand how to use the co