Problem compiling FlexLibrary using include directive

2009-10-06 Thread boyetp
Hi All, I hope someone can help me with my issue using Maven to compile Flex Library Project. I got this following files. the class App.as package com.test { public class App { include TestIncl.as; public function App(){ super();

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

2009-10-06 Thread Barrie Treloar
On Tue, Oct 6, 2009 at 4:05 PM, Christian Breuer cyba...@gmail.com wrote: plugin              groupIdorg.codehaus.mojo/groupId              artifactIdbuild-helper-maven-plugin/artifactId              version1.1/version              executions                execution                  

(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

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

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

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

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: modules moduleA/module moduleB/module ... modulemaven-integrationtestC-plugin/module

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.

Re: Failed deployment of Maven project to Glassfish

2009-10-06 Thread Wayne Fay
Failed to find following classes:    javax.ws.rs.core.ApplicationConfig    dependency      groupIdjavax.ws.rs/groupId      artifactIdjsr311-api/artifactId      version1.1/version      scopecompile/scope    /dependency Go here and download the jar file that corresponds to this artifact:

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

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

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 !-- and -- that

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

Re: Buildable standalone source bundles with the assembly plugin

2009-10-06 Thread Mark Hobson
2009/10/6 Brett Porter br...@apache.org: 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.

Re: How to add generated resources directory in a plugin

2009-10-06 Thread Stevo Slavić
What I do until this http://jira.codehaus.org/browse/CASTOR-2829 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

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

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

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

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. plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId version1.3/version executions execution idadd-source/id

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

Re: Snapshots resolution issue

2009-10-06 Thread Brian Fox
On Tue, Oct 6, 2009 at 1:02 PM, Julien CARSIQUE jcarsi...@nuxeo.com 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

[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.

[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/

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

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

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) *

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 remy.tempora...@gmail.com wrote: Hello, The maven-release-plugin works like that : * Check that there are no uncommitted changes in the sources

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

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: target name=external-run java classname=org.apache.tools.ant.Main fork=true dir=${basedir}

Re: Maven2 Pom Configuration

2009-10-06 Thread Barrie Treloar
On Wed, Oct 7, 2009 at 3:00 AM, Entner Harald entner.har...@afb.de 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:

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 modules

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