Re: Release a version

2009-10-06 Thread Jörg Schaible
Arnaud HERITIER wrote at Dienstag, 6. Oktober 2009 23:58: > It isn't possible actually.We do that to enforce our users to have > SNAPSHOTs version in their SVN and this is for a good reason: If somebody change some file of the project, but does not adjust the POM, the next build will produce an i

Re: weird source not found problem in eclipse

2009-10-06 Thread Rice Yeh
Hi, I create a new project in a new workspace and add library reference to a jar called p.jar created from my project p and another jar log4j. Both files are from .m2/repository. Now I can open the source files for log4j but I cannot open source files from my project's jar p.jar. I check p's sour

Re: Buildable standalone source bundles with the assembly plugin

2009-10-06 Thread Brett Porter
On 06/10/2009, at 8:22 PM, Mark Hobson wrote: Note that -r is deprecated in favour of -pl now... Oh right, I hadn't seen that mentioned anywhere. So does -pl support building the project list dynamically from subdirectories like -r does? Yes, though I think it requires the proper set up t

Re: Maven2 Pom Configuration

2009-10-06 Thread Barrie Treloar
On Wed, Oct 7, 2009 at 3:00 AM, Entner Harald wrote: > You can use the build-helper-maven-plugin to add additional source folders. [del] > -Ursprüngliche Nachricht- > Von: tbar0711 [mailto:thomas.bart...@kaufland.de] > Gesendet: Dienstag, 6. Oktober 2009 17:45 > An: users@maven.apache.org

Re: Developing Ant Plugins problems

2009-10-06 Thread depstei2
One last problem, the system property java.class.path is set to \myMaven\boot\classworlds-1.1.jar, this is causing class not found exceptions in my ant script when using the java task: I would like for this to be set to the maven plugin classpath without cha

Why is maven ignoring project.properties ?

2009-10-06 Thread laredotornado
Hi, I'm using Maven 1.1. Upon trying to run my test case (using "maven test:test" in my test directory), I get this error ... Testcase: testSignupSuccess(myco.oit.governor.citizen.assistanceUtility.test.AddToMailingListTest): Caused an ERROR org/apache/regexp/RESyntaxException java.lang.NoClass

Re: Release a version

2009-10-06 Thread Arnaud HERITIER
It isn't possible actually.We do that to enforce our users to have SNAPSHOTs version in their SVN Arnaud On Tue, Oct 6, 2009 at 11:50 PM, Rémy wrote: > > Hello, > > The maven-release-plugin works like that : > >* Check that there are no uncommitted changes in the sources >* Check that t

Release a version

2009-10-06 Thread Rémy
Hello, The maven-release-plugin works like that : * Check that there are no uncommitted changes in the sources * Check that there are no SNAPSHOT dependencies * Change the version in the poms from x-SNAPSHOT to a new version (you will be prompted for the versions to use) * Transf

Invoking a plugin from within another plugin

2009-10-06 Thread Allan Ditzel
Hi all, What is the best accepted way for one plugin to invoke another? I can obviously do it out of process from the first plugin and do an exec, but I was wondering if there was a way to invoke another plugin in process. Thanks, Allan

Re: How-to implement Code Quality Analysis on multiple Maven Projects?

2009-10-06 Thread Freddy Mallet
Hi Christian and Barrie, FYI, I've just deployed on Nemo (http://nemo.sonarsource.org) a Sonar Views plugin in a Beta version (this will be a commercial SonarSource plugin). This plugin allows to create any kind of aggregation of technical Maven projects. For instance you can group projects by app

[ANN] Maven Repository Plugin 2.3 Released

2009-10-06 Thread John Casey
The Maven team is pleased to announce the release of the Maven Repository Plugin, version 2.3 This plugin assists the user in creating archived bundles that are designed to meet all requirements for upload to the central Maven repository. http://maven.apache.org/plugins/maven-repository-plugin/

[ANN] Maven Resources Plugin 2.4.1 Released

2009-10-06 Thread John Casey
The Maven team is pleased to announce the release of the Maven Resources Plugin, version 2.4.1 This plugin filters non-Java resource files, replacing expressions with values from the POM or any of the filtering properties files you choose to configure. http://maven.apache.org/plugins/maven-resou

Re: Snapshots resolution issue

2009-10-06 Thread Brian Fox
On Tue, Oct 6, 2009 at 1:02 PM, Julien CARSIQUE wrote: > Forget it, there's a fix in Nexus 1.4 about this (NEXUS-2472), maybe not a > Maven bug :) The fix was to override the maven behavior, so I think in some cases Maven can still get the wrong snapshot if it's present in multiple repos. > Tha

Re: Snapshots resolution issue

2009-10-06 Thread Julien CARSIQUE
Forget it, there's a fix in Nexus 1.4 about this (NEXUS-2472), maybe not a Maven bug :) Thanks - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

AW: Maven2 Pom Configuration

2009-10-06 Thread Entner Harald
You can use the build-helper-maven-plugin to add additional source folders. e.g. org.codehaus.mojo build-helper-maven-plugin 1.3 add-source generate-sources

Snapshots resolution issue

2009-10-06 Thread Julien CARSIQUE
Hello, I have an issue with Nexus that seems to be linked to Maven. Getting a snapshot from a Nexus group including two repositories doesn't give me the latest one. Here's the metadata, I'm waiting for the latest artifact (from internal repository) which is 5.2.1-20091006.153450-66 but I get a

Maven2 Pom Configuration

2009-10-06 Thread tbar0711
Hi there, I actually have 2 Maven Projects in Eclipse. The one contains JUnit Tests (let's call it Test). The other (let's call it Core) contains session beans, entities etc. (everything that has to be tested by the JUnit Tests). In my Test project I have added a source folder named bootstrap to

Re: Failed deployment of Maven project to Glassfish

2009-10-06 Thread Sahoo
Glad your issue is resolved. I doubt verifier was wrong in pointing out that a required class was missing. Thanks, Sahoo dtiodtio wrote: Apologies for the misplaced post. The issue went away by installing the jersey bundle instead of the particular artifact javax.ws.rs Also, the verifier ind

Re: How to add generated resources directory in a plugin

2009-10-06 Thread Stevo Slavić
What I do until this is released as part of castor 1.3.1 is to add castor generates sources (.java) via build helper plugin, and for the Castor resources configure build resources to along with src/main/resource directory include ${project.build.directo

Re: Buildable standalone source bundles with the assembly plugin

2009-10-06 Thread Mark Hobson
2009/10/6 Brett Porter : > On 02/10/2009, at 12:59 AM, Mark Hobson wrote: >> Interesting idea, have you got an example of this? > > Every Maven project released in the last couple of months does this, or the > source bundle of Maven itself. Ah thanks, I didn't realise that'd been done. I think I

Re: Failed deployment of Maven project to Glassfish

2009-10-06 Thread dtiodtio
Apologies for the misplaced post. The issue went away by installing the jersey bundle instead of the particular artifact javax.ws.rs Also, the verifier indeed was a bit too picky by suggesting the build would fail when it actually was working. Thanks anyway, Dimitris On Tue, Oct 6, 2009 at 1

Re: The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found

2009-10-06 Thread Wayne Fay
> I am new at Maven so not able to figure out the problem. I have done the > proxy settings in ../.m2/settings.xml file still the problem persists. Generally, this occurs when you have configured things in your settings.xml file, but failed to delete the XML comment markings that surround the con

AW: Failed deployment of Maven project to Glassfish

2009-10-06 Thread Entner Harald
Does the jar reside in the war file? -Ursprüngliche Nachricht- Von: diafa...@gmail.com [mailto:diafa...@gmail.com] Im Auftrag von dtiodtio Gesendet: Samstag, 3. Oktober 2009 21:49 An: users@maven.apache.org Betreff: Failed deployment of Maven project to Glassfish Hello, I recently conve

Re: How to add generated resources directory in a plugin

2009-10-06 Thread Roland Asmann
Werber, Understandable. Then add the generated folder as a sources-folder and a resources-folder with a filter on '**/*.java'. I guess that would be the easiest way, in case more resource-types make it into this folder. Roland > Roland, > > I wish I had a choice, but I have to keep backwards-co

Re: Failed deployment of Maven project to Glassfish

2009-10-06 Thread Wayne Fay
> Failed to find following classes: >    javax.ws.rs.core.ApplicationConfig > >     >      javax.ws.rs >      jsr311-api >      1.1 >      compile >     Go here and download the jar file that corresponds to this artifact: http://download.java.net/maven/2/javax/ws/rs/jsr311-api/1.1/ Then open it w

Re: Failed deployment of Maven project to Glassfish

2009-10-06 Thread Sahoo
This is not a maven issue. You need to ask this question in GlassFish forum (us...@glassfish.dev.java.net). Have you tried deploying by-passing verifier by turning off verifier flag? Does the app work? If yes, I guess it is a false failure reported by verifier. In any case, don't reply here. As

Using plugin from pom which is in a sub module of the same pom

2009-10-06 Thread Jørgen Austvik
Hi, I have a maven project with many modules, two of which are maven plugins, with Mojos which I use for integration testing (maven-integrationtest*-plugin below). top-level pom.xml: A B ... maven-integrationtestC-plugin maven-integrationtestD-plugin For the maven-integrationtest*-pl

Re: Trouble running Maven test case

2009-10-06 Thread Siegfried Erb
Hi Dave, could you give some detail on what the exact error is and on how you actually call 'test:single'? Maven takes care of your test classpath, so to my knowledge you don't need to set 'maven.test.classpath' if you have everything you need declared as a dependency. At least I never had to.

Failed deployment of Maven project to Glassfish

2009-10-06 Thread dtiodtio
Hello, I recently converted from ant to maven and I'm now trying to deploy to GlassFish the Maven .war of a multimodule project. The .war file is built successfully with its dependencies (using the NetBeans IDE) and deployed using the GlassFish Admin Console (still don't have the hang of deploying

Re: How to add generated resources directory in a plugin

2009-10-06 Thread Werner Guttmann
Roland, I wish I had a choice, but I have to keep backwards-compatibility. Until now, we used to offer one property on the Mojo to set the output path (with a default of target/generated-sources/castor). Now, we are offering a second option for the resource files generated, but I still have to ca

(M2) site:deploy null pointer exception

2009-10-06 Thread Joe Argiro
Recently switched to maven2 2.2.1 Running on a solaris box Seem to have a problem with Site:deploy, Which works most of the time. But fails at least once per week ( random date & times ) site:deploy {execution: default-deploy} Using private key: /u/ixc/.ssh/id_dsa