Re: SNAPSHOT for parent pom versioning

2009-05-22 Thread Bocalinda
I managed to get this working by having the artifactory name artifacts uniquely (with timestamp). Don't know if this is the proper way, but it's working so far. 2009/5/18 Anders Hammar and...@hammar.net Could it be an Artifactory bug? What's the content of the maven-metadata.xml file of the

Re: How to create Hello World Projects using Maven for Spring, Hibernate, JPA, EJB, ActiveMQ?

2009-05-22 Thread Wayne Fay
Ooops!  Do I need to delete me repository? [INFO] Required goal not found: archetype:generate in org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7 If you look at the documentation, you'll see the generate goal was not added until 2.0-alpha-4, so this error message is correct. Your

Re: mvn install for ear project

2009-05-22 Thread Stephane Nicoll
It's a bug of the war plugin that has been fixed a while back. Please use the latest version. S. On Tue, May 19, 2009 at 8:55 PM, tubin gen fachh...@gmail.com wrote: my project has subprojects one for ear , one for war and one for jar . I get this error when I run mvn install

About Maven 1.0.2

2009-05-22 Thread Kerry Zhu
came accross a problem? could someone do me a favor? thanks!! // preparing goal: xdoclet:hibernatedoclet execution chain: [] final list of plugins to prepare: [] popping off org.apache.maven.jelly.mavenjellycont...@969c29 for org.apache.maven.jelly.mavenjellycont...@1e67e6a in

how to pack additional source-files (*.groovy) into *-sources.jar file?

2009-05-22 Thread torsten . reinhard
Hi, how can I pack additional source-files, in my case *.groovy files at src\main\groovy into the -sources.jar file, generated by maven-source-plugin? Thanx, torsten

Re: how to pack additional source-files (*.groovy) into *-sources.jar file?

2009-05-22 Thread Stephen Connolly
http://www.lmgtfy.com/?q=maven-soure-plugin+include+patterns+packaged+into+the+jarl=1 2009/5/22 torsten.reinh...@gi-de.com Hi, how can I pack additional source-files, in my case *.groovy files at src\main\groovy into the -sources.jar file, generated by maven-source-plugin? Thanx, torsten

Re: About Maven 1.0.2

2009-05-22 Thread Brian Fox
What's Maven 1? ;-) On Fri, May 22, 2009 at 3:59 AM, Kerry Zhu houkun@gmail.com wrote: came accross a problem? could someone do me a favor? thanks!! // preparing goal: xdoclet:hibernatedoclet execution chain: [] final list of plugins to prepare: [] popping off

Re: Maven: The Definitive Guide in French

2009-05-22 Thread Emmanuel Hugonnet
Hi, There is also: In Libro Veritas (http://www.inlibroveritas.net) a small editor for open content license books (Licence Art Librehttp://artlibre.org/, Creative Commons http://fr.creativecommons.org/, GFDLhttp://www.gnu.org/copyleft/fdl.html). You can get the books in pdf or on paper for a price

Re: How to Sync Specific Artifact from One Repository to Another

2009-05-22 Thread Brian Fox
Both the dependency plugin and the assembly plugin are able to assembly a repository layout from a list of dependencies. 2009/5/21 Rui Tang tangrui...@gmail.com Hello friends, I'm in trouble with the following problem: 1. In the ordinary software release, we always include our own jars and

RE: maven-dependency-plugin odd behaviour

2009-05-22 Thread Adam Purkiss
Well that did not work One thing to note is that CLI copies the jar NOT the classes folder where as m2eclipse wants to copy the classes folder and not the jar file as I expect so I am wondering if its a m2eclipse configuration or some classpath/command line type mess up. From:

Re: mvn install for ear project

2009-05-22 Thread fachhoch
my mvn version Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400) Java version: 1.6.0_11 Java home: C:\Program Files\Java\jdk1.6.0_11\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows xp version: 5.1 arch: x86 Family: windows this is the same version and still I am

executions, phases and multiple goals

2009-05-22 Thread Stephen Connolly
OK, I just noticed this... If I have two mojo's annotated with different phases, i.e. /** * @goal integration-test * @requiresProject true * @requiresDependencyResolution test * @phase integration-test */ public class FailsafeMojo extends AbstractMojo { ... } and /** * @goal verify

Re: executions, phases and multiple goals

2009-05-22 Thread Stephen Connolly
2009/5/22 Stephen Connolly stephen.alan.conno...@gmail.com OK, I just noticed this... If I have two mojo's annotated with different phases, i.e. /** * @goal integration-test * @requiresProject true * @requiresDependencyResolution test * @phase integration-test */ public class

maven cobertura plugin - haltonFailure ?

2009-05-22 Thread huser
Hi, I am trying to use Maven Cobertura Plugin. I want to setup different lineRate/branchRate for different packages. But this doesnt seem to be working. 1. haltnFailure does not work even if I set the values to 100 for the top level module. 2. regex doesnt seem to do anything. I specified

RE: Override dependency classes with another module's classes

2009-05-22 Thread Brendan Haverlock
Martin, Unfortunately, we are overriding classes from a dependency library, so we are just putting the classes in the same package and wanting our overriding classes to get precedence on the classpath. So, our classes are in the same package as the library's classes and have the same class

Re: Override dependency classes with another module's classes

2009-05-22 Thread Wayne Fay
Unfortunately, we are overriding classes from a dependency library, so we are just putting the classes in the same package and wanting our overriding classes to get precedence on the classpath.  So, our classes are in the same package as the library's classes and have the same class name, we

RE: Override dependency classes with another module's classes

2009-05-22 Thread Brendan Haverlock
Thanks Wayne...I just found a link to the other post about this: http://www.mail-archive.com/users@maven.apache.org/msg70079.html Thanks for not redirecting me to the What is Maven page. That seems like the only plausible solution to me for now. Is there any plan for making the dependency

Generating a jar multiple times using classifiers

2009-05-22 Thread Bracewell, Robert
Hi, How do people approach the need to generate a jar multiple times using classifiers. My specific requirement is that I have a module which needs to be built against Axis2 1.3 and Axis2 1.4 and have 2 jars in the repo with distinct classifiers. I can get this to work using profiles but this

RE: Generating a jar multiple times using classifiers

2009-05-22 Thread Martin Gainty
the StudioEclipseMojo updates manifest.mf (with updateManifest method) here is the code: + final ListArtifact artifactList = createArtifactList(); + + // Update Bundle-Classpath in MANIFEST.MF + updateManifest(artifactList); +

RE: How to create Hello World Projects using Maven for Spring, Hibernate, JPA, EJB, ActiveMQ?

2009-05-22 Thread siegfried
Renaming .m2 to save.m2 seems to have fixed the problem. Thanks! Is http://docs.codehaus.org/display/MAVENUSER/Archetypes+List the best list of archetypes? Ooops! Do I need to delete me repository? [INFO] Required goal not found: archetype:generate in

RE: Negation of boolean property

2009-05-22 Thread rajks
Hi, The team here want to by default skip the test/integration-test targets when doing mvn install i.e skip test. They would like to explicitly pass a system property when they want to execute the tests also. Particularly when we want an automated build happening periodically on a build

Re: How to create Hello World Projects using Maven for Spring, Hibernate, JPA, EJB, ActiveMQ?

2009-05-22 Thread Wayne Fay
Is http://docs.codehaus.org/display/MAVENUSER/Archetypes+List the best list of archetypes? As I sent in a previous email... The listing of archetpes on the Maven User wiki is pretty complete, as far as I am aware. There are no specific archetypes for session stateful ejb -- just generic

Re: Negation of boolean property

2009-05-22 Thread Stephen Connolly
profile activation defining skip false in the profile Sent from my [rhymes with myPod] ;-) On 22 May 2009, at 21:10, rajks ra...@hotmail.com wrote: Hi, The team here want to by default skip the test/integration-test targets when doing mvn install i.e skip test. They would like to

回复: AW: About unittest run three times

2009-05-22 Thread Forest
Thanks for your clarification. I really aplied those features. I'd chang the object to only get test report. Are there any suggestions for setting the goals? By the way, are there any good practices for this case? Thanks 原信息 主题: AW: About unittest run three times 发件人: Mark Struberg

Re: 回复: AW: About unittest run three times

2009-05-22 Thread Dominic Mitchell
On 22 May 2009, at 23:02, Forest wrote: Thanks for your clarification. I really aplied those features. I'd chang the object to only get test report. Are there any suggestions for setting the goals? By the way, are there any good practices for this case? The only thing I'd mention is

Does reactor spawn a subprocess for each submodule?

2009-05-22 Thread Tracy Hartford
I am working on a large multi-module project, and I need to know how the reactor works when I invoke a maven goal on the parent POM. I know that Maven adds all the submodule POMs into the Reactor, which analyzes the dependencies between them, and determines the build order. I understand that the

Re: maven-dependency-plugin odd behaviour

2009-05-22 Thread Brian Fox
This can happen if the phase run in a reactor is package. 2009/5/22 Adam Purkiss ajpurk...@hotmail.com Well that did not work One thing to note is that CLI copies the jar NOT the classes folder where as m2eclipse wants to copy the classes folder and not the jar file as I expect so I