RE: Proxy connectors fails to download, Archiva needs restart

2008-04-02 Thread Jason Chaffee
FYI, I have noticed something similar after Archiva is up for a while and I thought it was related to my other consumer issues so I didn't mention it. One possibility to consider is the difference of Archiva being used as both a proxy and repository manager as opposed to just a proxy. Anyway, I

Re: Archiva not generating maven-metadata for available revisions

2008-04-02 Thread Brett Porter
On 03/04/2008, Brown, Carlton [EMAIL PROTECTED] wrote: I was reproducing this consistently, then I restarted Tomcat and I can't get it to reproduce at all anymore. There must have been something problematic cached in memory. Does that mean the metadata is generating properly now? Is there

Re: Skip tests for installation phase

2008-04-02 Thread kristoffer
Thanks for your answer. However, my current integration-test profile will force some test dependencies to be packaged within my deployment .ear during 'mvn install'... So if I use the same integration-test profile to run tests, my tests will run before the .ear has been packaged deployed

Re: antrun plugin - GWT - add the source directory to the classpath [resolved]

2008-04-02 Thread Bernard Lupin
Please excuse me Nicolas, I was certainly speaking about another maven plugin, I'll try your link asap. Returning to my initial problem, I've found a solution to add a directory to the maven dependencies, which could be useful for other purposes. The key is to use the systemPath available

RE: Skip tests for installation phase

2008-04-02 Thread nicklist
And if you're wondering why install matches my surefire-it executions, maven works with phases. If you execute a phase ( ie. compile, package or install, all phases before that phase are run, and guess, integration-test is between package and install. See [1]. Hth, Nick S. [1]

Re: Skip tests for installation phase

2008-04-02 Thread kristoffer
Thanks for your answer. However, my current integration-test profile will force some test dependencies to be packaged within my deployment .ear during 'mvn install'... So if I use the same integration-test profile to run tests, my tests will run before the .ear has been packaged deployed

RE: Skip tests for installation phase

2008-04-02 Thread kristoffer
Ok, that makes sense i guess. Is there any way to modify which phases are executed for specific projects? regards, -Krostoffer nicklist wrote: And if you're wondering why install matches my surefire-it executions, maven works with phases. If you execute a phase ( ie. compile, package or

AW: Antwort: Re: ProxyEception: Download failure on resource https://maven-repository.dev.java.net/nonav/repository

2008-04-02 Thread Lustig, Marc (Allianz Deutschland AG)
do you have different proxy-configs for http and https? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 2. April 2008 11:33 An: [EMAIL PROTECTED] Betreff: Antwort: Re: ProxyEception: Download failure on resource

Re: Fail to deploy 3rd party jar to repository in unix

2008-04-02 Thread Rex Huang
It's deploy successful when use mvn deploy with pom file, but mvn deploy:deploy-file is fail. Rex On Wed, Apr 2, 2008 at 11:47 AM, Rex Huang [EMAIL PROTECTED] wrote: same problem as Deploying 3rd party jar to our repository

antrun custom goal

2008-04-02 Thread Peter Horlock
Hi, I am new to Maven, and would like to know - isn't there a way to define a custom goal with the anrun plugin? The documentation states: plugin artifactIdmaven-antrun-plugin/artifactId executions execution

Re: Skip tests for installation phase

2008-04-02 Thread Stephen Connolly
Nope! What you could do is use a second module to run your integration tests and have it depend on your packaged .ear On Wed, Apr 2, 2008 at 10:45 AM, kristoffer [EMAIL PROTECTED] wrote: Ok, that makes sense i guess. Is there any way to modify which phases are executed for specific projects?

[m2] how to set log4j system properties for the axis2 maven plugin

2008-04-02 Thread Adrian Herscu
Hi all, I know that questions regarding setting log4j and system properties were asked many times, however I could not find anything that works for me. I am trying to make the axis2 plugin run during my build, and I am getting this error: [INFO] [axis2-wsdl2code:wsdl2code {execution: default}]

Re: During compile, use the related jar instead of the target/classes directory

2008-04-02 Thread Jan Fredrik Wedén
On Wed, Apr 2, 2008 at 5:39 AM, Neimoidia [EMAIL PROTECTED] wrote: HI, for a very very very complex project, I need a hack in order to build my projects. I have a parent pom, and 170 modules. One of this module, is in fact a fake, means that i dont want maven to build the associate jar

maven-remote-resources-plugin [Virus checked]

2008-04-02 Thread Wolfgang . Schrecker
Hi All, does anybody remember this plugin maven-remote-resources-plugin ? Shouldn't this pom snippet plugin artifactIdmaven-remote-resources-plugin/artifactId executions execution idembedded-only/id goals goalprocess/goal

No answers yet: Error deploying artifact (Is a directory)

2008-04-02 Thread David Delbecq
Little up for my question, still didn't find a solution En l'instant précis du 28/03/08 17:43, David Delbecq s'exprimait en ces termes: Hello, i try to deploy a .war to our release repository, but mvn deploy fails with this message: [INFO] [install:install] [INFO] No primary artifact to

PMD 2.3 plugin error

2008-04-02 Thread Paul G
I am running PMD reporting plugin and I get the below error java.lang.ClassNotFoundException: net.sourceforge.pmd.rules.SingularField Now this used to work some time back, plus when i lookin in the plugin pom the only dependency that mentions pmd is dependency groupIdpmd/groupId

RE: [deploy-plugin] Abort deploy when a target is present

2008-04-02 Thread Ben Lidgey
-Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: 27 March 2008 17:52 To: Maven Users List Subject: RE: [deploy-plugin] Abort deploy when a target is present It's done... there is a force flag to force a deploy if you need to, otherwise it will fail. Is this

RE : [2.0.9 RC6] Release Candidate testing

2008-04-02 Thread Deneux, Christophe
+1, no problem to build my projects -- Christophe De: Martin Hoeller [mailto:[EMAIL PROTECTED] Date: mer. 02/04/2008 09:06 À: users@maven.apache.org Objet : Re: [2.0.9 RC6] Release Candidate testing On 01 Apr 2008, Brian E. Fox wrote: I didn't get much

Re: changelog vs scm:update

2008-04-02 Thread Jon Strayer
On Wed, Apr 2, 2008 at 12:18 AM, Heinrich Nirschl [EMAIL PROTECTED] wrote: After cvs.user there is a closing parethesis ) instead of a brace }. Hope this helps, Henry Thanks, but that didn't help. scm:cvs:pserver:${cvs.user):[EMAIL PROTECTED]:12310 :/appl/pkg1/cvs/reps/theteam/cvs:cans

RE: No answers yet: Error deploying artifact (Is a directory)

2008-04-02 Thread Brian E. Fox
Install:install is giving a hint that there is no primary artifact. Can you paste your whole pom? -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 7:42 AM To: Maven Users List Subject: No answers yet: Error deploying artifact (Is a

RE: [deploy-plugin] Abort deploy when a target is present

2008-04-02 Thread Brian E. Fox
The code needs to be moved to the deploy plugin and then the wagons in 2.0 and 2.1 updated to use it correctly. 2.1 will be a while before it's ready for production use. -Original Message- From: Ben Lidgey [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 9:31 AM To: Maven Users

Re: war plugin error with cargo

2008-04-02 Thread Urooj Khan
thanks wayne!! actually i figured out the problem.. for others who may experience the same issue... the groupId and artifact in the deployable tag must match the groupId and artifactId just below the project tag defined at the begining of your pom.xml deployable

Re: Fail to deploy 3rd party jar to repository in unix

2008-04-02 Thread Wayne Fay
You must provide more information, perhaps the error stack trace produced by Maven when it fails, etc. Wayne On 4/2/08, Rex Huang [EMAIL PROTECTED] wrote: It's deploy successful when use mvn deploy with pom file, but mvn deploy:deploy-file is fail. Rex On Wed, Apr 2, 2008 at 11:47 AM, Rex

RE: PMD 2.3 plugin error

2008-04-02 Thread Brian E. Fox
Is there another version of the plugin that uses PMD 4.2? In Maven versions prior to 2.0.9 you can't override the plugin dependencies so I'm not sure how it was working before. -Original Message- From: Paul G [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 9:02 AM To:

Re: SV: [2.0.9 RC6] Release Candidate testing

2008-04-02 Thread John Casey
Do you have a failing POM/project we could use to express this problem for the purposes of debugging? It looks like the differences in dependency ordering (precedence of plugin-level dependencies in your POM, in this case) may be affecting your build, but I can't be sure without something

Clue bits for sale?

2008-04-02 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, Anybody know of any published books out there that cover Maven 2 to help with the learning curve? - Peter L. Berghold Unix Professional [EMAIL PROTECTED] AIM: redcowdawg YIM: blue_cowdawg Those who fail

Issue Using JDK 1.6 with maven-pmd-plugin

2008-04-02 Thread Tonté Pouncil
Hi, I am get the following issue, that is documented at http://jira.codehaus.org/browse/MPMD-67, when I using the maven-pmd-plugin with JDK 1.6. This plugin complains about the following: Can't use annotations when running in JDK 1.4 mode! Can't use generics unless running in JDK 1.5 mode!

AW: Clue bits for sale?

2008-04-02 Thread Giesselmann, Torben
That would be Maven: The Definitive Guide (O'Reilly) ... due in July 2008 I think. Regards, - Torben Giesselmann -Ursprüngliche Nachricht- Von: Peter L. Berghold [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 2. April 2008 18:17 An: Maven Users List Betreff: Clue bits for sale?

RE: Clue bits for sale?

2008-04-02 Thread Brian E. Fox
Which is available in alpha form here: http://www.sonatype.com/book -Original Message- From: Giesselmann, Torben [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 12:40 PM To: Maven Users List Subject: AW: Clue bits for sale? That would be Maven: The Definitive Guide (O'Reilly)

tomcat:run with jndi datasource in context.xml

2008-04-02 Thread Peter Horlock
Hi, I am trying to use the run goal of the Codehaus tomcat plugin ( http://mojo.codehaus.org/tomcat-maven-plugin/) I've defined a jndi datasource in my context.xml - when the embedded tomcat starts up, it can't find that data source connection. Is that a bug, or maybe have I done something

Re: Clue bits for sale?

2008-04-02 Thread Lance Java
I found this very useful and I'm a maven newbie... it has great examples. http://code.google.com/p/opencookbook/downloads/detail?name=BetterBuildsWithMaven.pdfcan=2q= On 02/04/2008, Brian E. Fox [EMAIL PROTECTED] wrote: Which is available in alpha form here: http://www.sonatype.com/book

Re: AW: Clue bits for sale?

2008-04-02 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giesselmann, Torben wrote: That would be Maven: The Definitive Guide (O'Reilly) ... due in July 2008 I think. Guess I have to wait until July then. I have Maven: Programmer's Notebook on order, but something tells me it may not cover Maven 2

RE: AW: Clue bits for sale?

2008-04-02 Thread Brian E. Fox
That old Maven1 book most likely won't help you as Maven 1 and 2 are very different. -Original Message- From: Peter L. Berghold [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 1:06 PM To: Maven Users List Subject: Re: AW: Clue bits for sale? -BEGIN PGP SIGNED MESSAGE-

I want to run install even if my tests fail

2008-04-02 Thread Sommers, Elizabeth
Is there any way to do this? And, yes, I know that it is a bad thing to do but I need to attach some artifacts whether or not the tests have failed. Liz Sommers [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: I want to run install even if my tests fail

2008-04-02 Thread Mick Knutson
In your surefire plugin: testFailureIgnoretrue/testFailureIgnore On Wed, Apr 2, 2008 at 10:25 AM, Sommers, Elizabeth [EMAIL PROTECTED] wrote: Is there any way to do this? And, yes, I know that it is a bad thing to do but I need to attach some artifacts whether or not the tests have failed.

No Answers yet: - Query on using maven-assembly-plugin.

2008-04-02 Thread logachandru . x . rajamanickam
I couldn't find any solution for this issue. Can any one please suggest. Thanks Regards, Logu Rajamanickam - Forwarded by Logachandru X Rajamanickam/JPMCHASE on 04/02/2008 12:55 PM - Logachandru X Rajamanickam/JPMCHASE 03/28/2008 04:04 PM To Maven Users List users@maven.apache.org

Problems with Maven on OSX

2008-04-02 Thread Chris Boyer
I'm lost here and can't seem to figure this out. I'm working with Maven on OSX and for some reason it doesn't seem to be downloading dependencies or anything really. Just for fun. I went ahead and moved off my .m2 repo and ran a mvn install on a pretty simple pom file. It spewed this at

Re: Problems with Maven on OSX

2008-04-02 Thread Joshua ChaitinPollak
Chris, try locking down the version of the site plugin you are using by putting this in your buildplugins section: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId

Re: I want to run install even if my tests fail

2008-04-02 Thread Siarhei Dudzin
or 'mvn install -Dmaven.test.skip=true' Siarhei On Wed, Apr 2, 2008 at 7:34 PM, Mick Knutson [EMAIL PROTECTED] wrote: In your surefire plugin: testFailureIgnoretrue/testFailureIgnore On Wed, Apr 2, 2008 at 10:25 AM, Sommers, Elizabeth [EMAIL PROTECTED] wrote: Is there any way to do

RE: [2.0.9 RC6] Release Candidate testing

2008-04-02 Thread Chris Schmidt
I don't see any issue with my build either. Thanks, Chris Schmidt -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 4:35 PM To: Maven Users List Subject: [2.0.9 RC6] Release Candidate testing I didn't get much response yesterday and we

RE: I want to run install even if my tests fail

2008-04-02 Thread Sommers, Elizabeth
Won't work because I want to run the tests (I am trying to attach cobertura data). I am looking for a property I can set at build time that allows me to ignore failed tests and just continue to install. -Original Message- From: Siarhei Dudzin [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: I want to run install even if my tests fail

2008-04-02 Thread Joshua ChaitinPollak
On Apr 2, 2008, at 2:10 PM, Siarhei Dudzin wrote: or 'mvn install -Dmaven.test.skip=true' Siarhei As a short cut to the above solution we have the following in our pom.xml. It lets us do: mvn -Dskiptest install Which is a minor improvement in terms of typing. profile

Re: I want to run install even if my tests fail

2008-04-02 Thread Tom Huybrechts
-Dmaven.test.failure.ignore=true On Wed, Apr 2, 2008 at 8:19 PM, Sommers, Elizabeth [EMAIL PROTECTED] wrote: Won't work because I want to run the tests (I am trying to attach cobertura data). I am looking for a property I can set at build time that allows me to ignore failed tests and just

SV: SV: [2.0.9 RC6] Release Candidate testing

2008-04-02 Thread Arne Rivenes
Well it seems that mvn -X were what I should have done from the start. It revealed quite a bit of duplicates, which I removed, but what seems to do the trick, were removing jaxb2-plugin from an pluginManagament section in an parent-pom. The versions of the jaxb2 libraries where defined there, as

Re: No Answers yet: - Query on using maven-assembly-plugin.

2008-04-02 Thread Wayne Fay
I'd simply rename it manually when mvn is done. Wayne On 4/2/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I couldn't find any solution for this issue. Can any one please suggest. Thanks Regards, Logu Rajamanickam - Forwarded by Logachandru X Rajamanickam/JPMCHASE on 04/02/2008

1 artifact in 2 repositories

2008-04-02 Thread Benoit Decherf
I have an artifact in 2 repositories with 2 diferents versions. maven download the pom correctly (It try to download it from the 2 repositories) but fails to download the jar (It only try to download it on 1 repository). It seems that only the 2nd repository defined in settings.xml is used to

Re: 1 artifact in 2 repositories

2008-04-02 Thread Wendy Smoak
On Wed, Apr 2, 2008 at 2:26 PM, Benoit Decherf [EMAIL PROTECTED] wrote: I have an artifact in 2 repositories with 2 diferents versions. maven download the pom correctly (It try to download it from the 2 repositories) but fails to download the jar (It only try to download it on 1 repository).

mvn release with perforce

2008-04-02 Thread EJ Ciramella
Is anyone using this feature with perforce and maven 2? I'm a little fuzzy with this particular plugin, but doesn't it depend on the scm config specified at the top of the pom? I have this: scm connectionscm:perforce:${p4.username}:[EMAIL PROTECTED]://some/d epot/path/connection

Re: Relative link in xdoc file results in anchor

2008-04-02 Thread Dennis Lundberg
Siegmann Daniel, NY wrote: I used xdoc for my Maven site, and in one XML file I have the following link: a href=upgrade-guide-4.1.docUpgrade Guide/a When the site is generated locally the link is correct - it remains as above. However, when the site is deployed, the link becomes: a

Re: Problems with Maven on OSX

2008-04-02 Thread Chris Boyer
So that brought about a different error: ;) [INFO] Scanning for projects... [INFO] [INFO] Building Test [INFO]task-segment: [install] [INFO]

[2.0.9 RC7] Release Candidate testing

2008-04-02 Thread Brian E. Fox
Thank you everyone for the testing and confirmatory responses so far. It helps to gauge the progress. There was one regression identified in 2.0.9 RC6: (MNG-3495: NPE at org.apache.maven.wagon.repository.Repository.hashCode). This has been fixed and RC7 posted. Various users have identified some

[2.0.9 RC7] Release Candidate testing

2008-04-02 Thread Brian E. Fox
Thank you everyone for the testing and confirmatory responses so far. It helps to gauge the progress. There was one regression identified in 2.0.9 RC6: (MNG-3495: NPE at org.apache.maven.wagon.repository.Repository.hashCode). This has been fixed and RC7 posted. Various users have identified some

Re: changelog vs scm:update

2008-04-02 Thread Dennis Lundberg
Make sure that you are using version 2.1 of the changelog plugin. Jon Strayer wrote: How can I have scm:update work, but changelog:changelog fail with this message: Embedded error: cvs repository connection string doesn't contain six tokens BTW, my cvs repository connection string is

Re: No Answers yet: - Query on using maven-assembly-plugin.

2008-04-02 Thread Luke Daley
On 03/04/2008, at 3:58 AM, [EMAIL PROTECTED] wrote: I'm using maven-assembly-plugin in my POM and the assembly descriptor as below to generate a JAR package. The resultant artifact package is in the form of artifact-1.0-DEV.jar. But I require the package in the form of

Re: eclipse:eclipse 2.5 Build path specifies unavailable execution environment: J2SE-1.4?

2008-04-02 Thread Barrie Treloar
On Wed, Mar 26, 2008 at 8:29 AM, Barrie Treloar [EMAIL PROTECTED] wrote: I've updated the PreferencesJavaInstalled JREsExecution Environments to enable J2SE1-4 to jdk.1.5.0_12 (as suggested in http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg18807.html) But I still get this error

Problems building project in linux/mac using maven 2.0.8

2008-04-02 Thread Jonas Lim
Hi List, I'm building a gwt project using maven 2.0.8. I'm using gwtforge.gwtplugin for my gwt plugin (I'm not sure if this is causing the issue with this maven version). When running a maven install on a mac and linux machine and with a clean local repo I get the following error

Re: Problems building project in linux/mac using maven 2.0.8

2008-04-02 Thread Brett Porter
Hi Jonas, Can you try out the latest RCs Brian has been building to see if it is already addressed? If not, it seems like it's worth filing a bug for 2.0.10 with a small sample project that demonstrates the problem. Cheers, Brett On 03/04/2008, Jonas Lim [EMAIL PROTECTED] wrote: Hi List,

Using a dynamic property for setting the dependency scope

2008-04-02 Thread Neimoidia
Hi, depending on which plateform i build my projects, i need to change the scope of some dependencies. For dev, i need to build WARs with full jars dependency included. So the scope must be compiled. For integration/production, i need to excluded some jars of the WARs as they will be exposed on

Re: [2.0.9 RC7] Release Candidate testing

2008-04-02 Thread Kaizer H. Sogiawala
I am getting a strange behavior with apache-maven-2.0.9-RC* (all RC) builds. Here is what I see- --- SNIP --- + Error stacktraces are turned on. Maven version: 2.0.9-RC7 Java version: 1.5.0_12 OS name: windows xp version: 5.1 arch: x86 Family: windows [DEBUG] Building Maven user-level plugin

Re: Using a dynamic property for setting the dependency scope

2008-04-02 Thread Stephen Connolly
I would add the dependencies with their scopes in the profiles. You do know you can add dependencies in a profile? AFAIK the scope tag does not support property expansion On Thu, Apr 3, 2008 at 5:26 AM, Neimoidia [EMAIL PROTECTED] wrote: Hi, depending on which plateform i build my projects,

Re: PMD 2.3 plugin error

2008-04-02 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul G wrote: | | I am running PMD reporting plugin and I get the below error | java.lang.ClassNotFoundException: | net.sourceforge.pmd.rules.SingularField | | Now this used to work some time back, The error comes from the fact that SingularField

Re: Using a dynamic property for setting the dependency scope

2008-04-02 Thread Neimoidia
Thks for your answer. I know i can add dependencies into splited profiles, but this was the last solution i want to use, because it cause me a lot of rewriting and management works (around 170 projects under maven control). What a pity scope does not support property expansion... Regards.

Re: Using a dynamic property for setting the dependency scope

2008-04-02 Thread Stephen Connolly
As I said, the proptery interpolation is only an As Far As I Know. Others will be able to confirm or deny On Thu, Apr 3, 2008 at 6:16 AM, Neimoidia [EMAIL PROTECTED] wrote: Thks for your answer. I know i can add dependencies into splited profiles, but this was the last solution i want to

eclipse:to-maven ... pom-version problems

2008-04-02 Thread WolfgangRoessler
Hello, I have a problem when using eclipse:to-maven. For example org.eclipse.emf:ecore has a dependency to org.eclipse.runtime:core with a version range [3.2.0,4.00). Unfortunately the version of org.eclipse.runtime:core is something like 3.2.0-v20071103 so maven can't resolve the version. Are