RE: Proxy connectors fails to download, Archiva needs restart

2008-04-03 Thread Jason Chaffee
Also, if the artifact is in the local cache and this failure happens, shouldn't is simply log it and then return the cached artifact? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 6:29 AM To: archiva-users@maven.apache.org Subject: Re:

RE: Proxy connectors fails to download, Archiva needs restart

2008-04-03 Thread Jackson, Brian R
It does just that. The problem I'm having is with artifacts that haven't been cached yet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] On Behalf Of Jason Chaffee Sent: Thursday, April 03, 2008 2:44 PM To: archiva-users@maven.apache.org Subject: RE: Proxy

Re: Proxy connectors fails to download, Archiva needs restart

2008-04-03 Thread Brett Porter
This was reported by others against 1.0.1, and they've been unable to reproduce with 1.0.2. That release is currently being voted on - you can test it out from here: http://people.apache.org/builds/maven/archiva/1.0.2/ - Brett On 04/04/2008, Jackson, Brian R [EMAIL PROTECTED] wrote: I sniffed

RE: PMD 2.3 plugin error

2008-04-03 Thread Paul G
There is not another version that uses PMD 4.2 as yet that's my point. I have now tested our build with PMD plugin version 2.2 and 2.3. Version 2.2 works fine and version 2.3 does not the only difference I see between the versions is the PMD dependency, as listed below. The strange thing is the

StrutsTestCase issues

2008-04-03 Thread maarten roosendaal
Hi, We're trying to setup StrutsTestCase but we get a NullPointerException telling us that the struts-config.xml probably cannot be found. The tests are succesfull in Eclipse but not with Maven 2 info: Maven 2.0.7 StrutsTestCase 2.1.4-1.2-2.4 EasyMock 2.3 Surefire 2.4.2 I've tried: * adding

Re: StrutsTestCase issues

2008-04-03 Thread Antonio Petrelli
2008/4/3, maarten roosendaal [EMAIL PROTECTED]: Any ideas, suggestions? Contact the StrutsTestCase team: http://strutstestcase.sourceforge.net/ Antonio

Retrieve dependency version defined in properties

2008-04-03 Thread escorido
How to retrieve the version of a dependency defined inside the properties element? in a parent pom? -- View this message in context: http://www.nabble.com/Retrieve-dependency-version-defined-in-%3Cproperties%3E-tp16467322s177p16467322.html Sent from the Maven - Users mailing list archive at

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

2008-04-03 Thread Mark Struberg
I'm not quite sure if I understand your problem right, but sometimes not the result is the problem but the way is. An assembly in maven is usually an attached artifact. Attached artifacts always have the naming [artifact]-[verion]-[attachedQualifier] (or in never versions if you do not specify

Re: maven-war-plugin filtering problem

2008-04-03 Thread Christopher Barran
OK, I have a work around that I think will work for me. I add a properties section to my pom and copy the values I want from my project and from my profile respectively into new property names. The war plugin picks these up no problem. properties

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

2008-04-03 Thread Barrie Treloar
On Thu, Apr 3, 2008 at 4:15 PM, WolfgangRoessler [EMAIL PROTECTED] wrote: 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

Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Jason van Zyl
Dear Jolly Maven Users, After many months of alpha testing we are tickled pink to announce the 1.0-beta-1 release of Nexus. Tamás Cservenák, Brian Fox, Eugene Kuleshov and Justin Richard have been working very hard to bring Maven users something we feel will benefit the whole community. In

Re: webstart question

2008-04-03 Thread walterw
Hi, Here is my pom.xml that corresponds to the webstart: [code] !--WebStart Application for administration -- !-- plugin groupIdorg.codehaus.mojo/groupId artifactIddependency-maven-plugin/artifactId executions

Surefire not excluding jUnit TestSuite$1

2008-04-03 Thread Chad La Joie
I've checked the docs, mail archive, and open bug list for this one because I'm sure I'm just missing something stupid. When surefire runs my unit tests it always attempts to run junit.framework.TestSuite$1 which, of course, fails. The surefire docs note that the default test exclude list is

Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Jason van Zyl
Dear Jolly Maven Users, After many months of alpha testing we are tickled pink to announce the 1.0-beta-1 release of Nexus. Tamás Cservenák, Brian Fox, Eugene Kuleshov and Justin Richard have been working very hard to bring Maven users something we feel will benefit the whole community. In

Managing plugin versions using dependencyManagement?

2008-04-03 Thread Farrukh Najmi
Dear Colleagues, Is there a way to centrally control the version of a plugin by specifying something like dependencyManagement in top-level project pom so the plugin versions are not specified in all sub-module poms? Reading archives suggest this is not possible but I wanted to make sure. TIA

Re: Managing plugin versions using dependencyManagement?

2008-04-03 Thread nicolas de loof
Use pluginManagement in your parent POM ! 2008/4/3, Farrukh Najmi [EMAIL PROTECTED]: Dear Colleagues, Is there a way to centrally control the version of a plugin by specifying something like dependencyManagement in top-level project pom so the plugin versions are not specified in all

Re: Managing plugin versions using dependencyManagement?

2008-04-03 Thread [EMAIL PROTECTED]
Yes, the pluginManagement tag will do this. Of course if you change the setting in a parent pom, all the child poms need to be updated to point to the new parent pom before this will take effect. If the child modules point to different versions of the parent pom, then they will still be using

Re: Surefire not excluding jUnit TestSuite$1

2008-04-03 Thread Martin Höller
On Thursday 03 April 2008 Chad La Joie wrote: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration testFailureIgnoretrue/testFailureIgnore

RE: Proxy connectors fails to download, Archiva needs restart

2008-04-03 Thread Jackson, Brian R
Why would restarting MY instance of Archiva temporarily fix this issue though? I'll get more information from the remote side when the owner is available. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] On Behalf Of Brett Porter Sent: Thursday, April 03, 2008

Third party dependency

2008-04-03 Thread Cosmin Marginean
Hello, I am having this issue related to a third-party dependency. It's about Saxon and some license issues that are not clarified yet. I have a Maven plugin that is using the Saxon transformer. However, I would like to know if Maven provides a solution to use a dependency when it's not in a

Re: Proxy connectors fails to download, Archiva needs restart

2008-04-03 Thread Brett Porter
On 04/04/2008, Jackson, Brian R [EMAIL PROTECTED] wrote: Why would restarting MY instance of Archiva temporarily fix this issue though? I'll get more information from the remote side when the owner is available. Good point - sorry I forgot that. Let's see what they have to say - though

Re: Managing plugin versions using dependencyManagement?

2008-04-03 Thread nicolas de loof
The issue is not to force usage of any corporate-validated plugin (I'm using some timestamped SNAPSHOTS), but to ensure the project will be reproductible even when new version of the plugins si released. Some of us got issues when surefire 2.4 was released, and test didn't pass anymore. This was

Re: Retrieve dependency version defined in properties

2008-04-03 Thread Wayne Fay
Assuming your property is named log4j-version: dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version${log4j-version}/version /dependency Wayne On 4/3/08, escorido [EMAIL PROTECTED] wrote: How to retrieve the version of a dependency defined inside the properties element? in

Re: Surefire not excluding jUnit TestSuite$1

2008-04-03 Thread Chad La Joie
Martin, thanks for the reply, unfortunately the debug output didn't help, but it did lead me to look at something else. I have other projects that use Maven as well and none of them exhibit this problem, so it seems like it must be something with this project's POM. However, if I diff this

RE: Managing plugin versions using dependencyManagement?

2008-04-03 Thread Brian E. Fox
I personally think using pluginManagement to impose the same version on a bunch of other modules is a bad idea anyway. You cannot control what plugin versions are used by third-party libraries - and don't care, right? So why try to impose this on your own code? If a module successfully builds and

RE: [2.0.9 RC7] Release Candidate testing

2008-04-03 Thread Brian E. Fox
Do you have a way to reproduce this? The DefaultPathTranslator class hasn't changed since 2.0.6 so it must be a higher level change we're looking for. -Original Message- From: Kaizer H. Sogiawala [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 12:49 AM To: Maven Users List

Re: [2.0.9 RC7] Release Candidate testing

2008-04-03 Thread Brett Porter
-1 could be empty string, and there were some hacks in the project builder that set expressions to that. I know that the path translator was effected by interpolation changes, even though indirectly, because the values got interpolated after instead of before. I'd look at those changes - though a

How to deploy an artifact to some predefined location?

2008-04-03 Thread Lukasz Guminski
Hello, I'm looking for the best way of deploying a single file to some predefined location (at a webdav enabled server). First, I've tried to use maven-deploy-plugin. It required some effort to get rid of variable components of the resulting path, but finally I managed to do it.

Re: [2.0.9 RC7] Release Candidate testing

2008-04-03 Thread John Casey
FWIW, using: build directory${basedir}/directory /build will express this error. See http://jira.codehaus.org/browse/MNG-3498 I have the fix, just need to get it cleaned up and committed. -john On Apr 3, 2008, at 11:23 AM, Brett Porter wrote: -1 could be empty string, and there were some

PMD Warning

2008-04-03 Thread ichasco
Hi! I try to execute the pmd:check goal with maven 2 but while it is executing i recieve the next message: Unable to locate Source XRef to link to - DISABLED. At the end, the report it´s empty. Anybody knows which problem can i have? I use the follow pom.xml (a part of it): build plugins

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

2008-04-03 Thread Carlos Sanchez
from maven 2.0.9 you can use dependencyManagement to force the versions you want See Maven, Eclipse and OSGi working together tutorial from EclipseCON http://www.jroller.com/carlossg/entry/slides_from_eclipsecon On Thu, Apr 3, 2008 at 3:56 AM, Barrie Treloar [EMAIL PROTECTED] wrote: On Thu,

Re: Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread BlueBerry
Dear Jason could you tell me what difference is between Artifactory and nexus. thanks a lot thomas.chen - Original Message - From: Jason van Zyl [EMAIL PROTECTED] To: Maven Developers List [EMAIL PROTECTED]; Maven Users List users@maven.apache.org; [EMAIL PROTECTED]; [EMAIL

Re: Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Jason van Zyl
Hi, We will make a comparison table but I'll try to summarize the technical and non-technical. Technical - We use ExtJS for the front-end - The ExtJS client talks to the back-end using REST via RESTLet, so everything is accessed via a REST API - We rely on no CMS, which we don't believe is

RE: mvn release with perforce

2008-04-03 Thread EJ Ciramella
Ok, made it a bit further - but I'm getting this now: [ERROR] BUILD FAILURE [INFO] [INFO] The port has to be a number. [INFO] [INFO] For more

Assembly howto?

2008-04-03 Thread Clifton
Hello all, We have a requirement to build a customized tomcat bundle for deployment. We currently make a tarball of tomcat bundled with our webapps and give this to another team responsible for putting everything into production. The only real requirements is that the bundle is handed off in

Re: [2.0.9 RC7] Release Candidate testing

2008-04-03 Thread Kaizer H. Sogiawala
I debugged through the source and can confirm directory${basedir}/directory is the issue. On Thu, Apr 3, 2008 at 8:42 AM, John Casey [EMAIL PROTECTED] wrote: FWIW, using: build directory${basedir}/directory /build will express this error. See http://jira.codehaus.org/browse/MNG-3498

RE: Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Hayes, Peter
What do you mean by not relying on a CMS? Does that mean an application server? I was looking through the documentation and it does not look like Nexus is made to be hosted within an application server like Tomcat and Websphere. Is that right? Thanks, Pete -Original Message- From:

RE: [2.0.9 RC7] Release Candidate testing

2008-04-03 Thread Brian E. Fox
I'm about to build and release RC8 with this fix. -Original Message- From: Kaizer H. Sogiawala [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 2:51 PM To: Maven Users List Subject: Re: [2.0.9 RC7] Release Candidate testing I debugged through the source and can confirm

Re: [2.0.9 RC7] Release Candidate testing

2008-04-03 Thread Haroon Rafique
On Yesterday at 5:52pm, BEF=Brian E. Fox [EMAIL PROTECTED] wrote: BEF Thank you everyone for the testing and confirmatory responses so far. BEF It helps to gauge the progress. There was one regression identified BEF in 2.0.9 RC6: (MNG-3495: NPE at BEF

Re: Mvn 2 plugin to copy files?

2008-04-03 Thread Lee Meador
Stefanie, Google maven antrun plugin and select the 1st search result returned. The title is Maven AntRun Plugin - Introduction Click on Usage in the left menu area. This will show the XML used to invoke the antrun plugin. Add that to the pom that generates the artifact you want copied or add it

Re: Surefire not excluding jUnit TestSuite$1

2008-04-03 Thread Chad La Joie
Alright, one of our developers located the problem. It appears that when surefire runs it creates a TestSuite from all concrete classes that match the default includes pattern (**/Test*.java, **/*Test.java, **/*TestCase.java). In this project there was a non-abstract base class that all

Re: Assembly howto?

2008-04-03 Thread Clifton
At the advice of a good friend I'm going to put this together in Ant (or maybe Gant) as an external concern. The reason being there's additional complexity that I can't explain as well in a bulletin board posting. I'll revisit the topic when I get a working solution and then we can discuss if/how

Re: Surefire not excluding jUnit TestSuite$1

2008-04-03 Thread Kathryn Huxtable
So how are you liking Maven now? -K On Apr 3, 2008, at 2:19 PM, Chad La Joie wrote: Alright, one of our developers located the problem. It appears that when surefire runs it creates a TestSuite from all concrete classes that match the default includes pattern (**/ Test*.java, **/*Test.java,

Re: Surefire not excluding jUnit TestSuite$1

2008-04-03 Thread Kathryn Huxtable
Sorry. Didn't mean to post that to the list. -K On Apr 3, 2008, at 2:38 PM, Kathryn Huxtable wrote: So how are you liking Maven now? -K - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Proxy connectors fails to download, Archiva needs restart

2008-04-03 Thread Jackson, Brian R
I sniffed the traffic and it's attempting to connect through the network proxy I've setup for some of my other Proxy Connectors. I've double-checked that the Proxy Connector for wdig.releases, the remote repo that is failing, is configured to (direct connection). -Original Message-

Re: Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Richard Wallace
I've downloaded and tried it out. Looks nice. I like that I don't have to configure webdav for deployment, it's an annoying issue with other repo managers. The biggest thing that I felt was missing is users and permissions. Is this going to be a feature of the commercial version only? If

Re-spinning a release via maven-release-plugin

2008-04-03 Thread Farrukh Najmi
Dear colleagues, Does maven-release-plugin easily support the re-spinning of a release. Re-spinning means that one makes a bug fix and then creates a new release using the same release # as the previous release. Also, the previous releases tag is reused to tag the latest bits. I feel this is

Re: Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Jason van Zyl
On 3-Apr-08, at 11:57 AM, Hayes, Peter wrote: What do you mean by not relying on a CMS? Does that mean an application server? A general content management system. I was looking through the documentation and it does not look like Nexus is made to be hosted within an application server

[2.0.9 RC8] Release Candidate testing

2008-04-03 Thread Brian E. Fox
RC8 posted to solve this regression. http://people.apache.org/~brianf/staging-repository/org/apache/maven/apa che-maven/ -Original Message- From: Kaizer H. Sogiawala [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 2:51 PM To: Maven Users List Subject: Re: [2.0.9 RC7] Release

Re: Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Jason van Zyl
On 3-Apr-08, at 12:51 PM, Richard Wallace wrote: I've downloaded and tried it out. Looks nice. I like that I don't have to configure webdav for deployment, it's an annoying issue with other repo managers. It's also, unfortunately, fundamentally unreliable. It's not transactional so

Re: Mvn 2 plugin to copy files?

2008-04-03 Thread Tomislav Stojcevich
Why don't you try the war:inplace goal instead of the war:war goal. This copies classes/lib/etc... back from target into src/main/webapp. Then use a context.xml file to define your webapp within tomcat. JSP changes take without the need to copy any files. Of course you'll have to be careful and

RE: [2.0.9 RC8] Release Candidate testing

2008-04-03 Thread Jason Chaffee
Brian, Is there any documentation about the new locked down plugin in feature in 2.0.9? I would like to know how it works, how it impacts not having plugins locked vs. having them locked down already in your pom and how it would impact the enforcer plugin as well. Thanks. -Original

Question about download.meter and maven2

2008-04-03 Thread Lacoste, Dana (TSG Software San Diego)
OK, from the archives, I can run mvn with -Dmaven.download.meter=bootstrap (for example) and I won't get the Downloading 1/123k updating to 2/123k etc. But this doesn't appear to work in maven2 This causes issues because I'm running in a scripted environment (Cruise Control) on multiple

Re: Re-spinning a release via maven-release-plugin

2008-04-03 Thread Farrukh Najmi
Farrukh Najmi wrote: Dear colleagues, Does maven-release-plugin easily support the re-spinning of a release. Re-spinning means that one makes a bug fix and then creates a new release using the same release # as the previous release. Also, the previous releases tag is reused to tag the latest

RE: [2.0.9 RC8] Release Candidate testing

2008-04-03 Thread Brian E. Fox
Jason, nothing written yet. The effect is the same as putting the versions in the pluginManagement of your corp pom. If you have defined them in your poms then those will override the superpom. The enforcer rule walks the tree and does not look at the super pom so it will still tell you which

Re: Question about download.meter and maven2

2008-04-03 Thread Tom Huybrechts
Use -B On Thu, Apr 3, 2008 at 10:30 PM, Lacoste, Dana (TSG Software San Diego) [EMAIL PROTECTED] wrote: OK, from the archives, I can run mvn with -Dmaven.download.meter=bootstrap (for example) and I won't get the Downloading 1/123k updating to 2/123k etc. But this doesn't appear to work

RE: Question about download.meter and maven2

2008-04-03 Thread Brian E. Fox
Use the -B option to put maven in batch mode and you won't get the download output. It will also tell plugins not to prompt you for input...if you are running from the CI system this is what you want. -Original Message- From: Lacoste, Dana (TSG Software San Diego) [mailto:[EMAIL

Re: Re-spinning a release via maven-release-plugin

2008-04-03 Thread Paul Spencer
Farrukh, A word of caution. Once a release artifact is downloaded into the user's local repository, I do not believe it will be re-downloaded without manual intervention. Thus you may end up with the original and re-spon artifact scattered throughout your developers. Since the name of the

RE: Question about download.meter and maven2

2008-04-03 Thread Lacoste, Dana (TSG Software San Diego)
Thanks! I can see why I missed it: batch just plain wasn't one of my search terms :) Dana Lacoste -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 1:43 PM To: Maven Users List Subject: RE: Question about download.meter and maven2 Use the -B

Re: eclipse:install-plugins 2.5 does not add qualifier to jar, 2.4 did.

2008-04-03 Thread Arnaud HERITIER
Carlos, WDYT about this ? Is it a defect ? Arnaud On Tue, Apr 1, 2008 at 2:44 AM, Barrie Treloar [EMAIL PROTECTED] wrote: My PDE build has stopped working after upgrading to maven-eclipse-plugin:2.5 The install-plugin goal is now copying my dependencies as: com.ibm.icu_3.4.5.jar instead

using jikes?

2008-04-03 Thread Joshua ChaitinPollak
Hello, I'm trying to use the jikes compiler with Maven. Following the directions here: http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.html I created this profile: profile idjikes/id activation property

Re: eclipse:install-plugins 2.5 does not add qualifier to jar, 2.4 did.

2008-04-03 Thread Carlos Sanchez
dont know, we'd need to see what was the change in the code and who did it On Thu, Apr 3, 2008 at 2:30 PM, Arnaud HERITIER [EMAIL PROTECTED] wrote: Carlos, WDYT about this ? Is it a defect ? Arnaud On Tue, Apr 1, 2008 at 2:44 AM, Barrie Treloar [EMAIL PROTECTED] wrote: My PDE build

Re: [2.0.9 RC8] Release Candidate testing

2008-04-03 Thread Kaizer H. Sogiawala
+1 I can confirm that the issue (http://jira.codehaus.org/browse/MNG-3498) is resolved in RC8. My projects are building fine. Thanks! On Thu, Apr 3, 2008 at 12:51 PM, Brian E. Fox [EMAIL PROTECTED] wrote: RC8 posted to solve this regression.

Newsgroup for m2e at Eclipse

2008-04-03 Thread Jason van Zyl
Hi, Just to keep everyone informed of the m2e progress at Eclipse, we now have the newsgroup setup for people to discuss how to move forward to the creation review process. We have a lot of support all round so I think we will move to this phase quickly given we have two great mentors

Re: How to deploy an artifact to some predefined location?

2008-04-03 Thread Luke Daley
On 04/04/2008, at 1:35 AM, Lukasz Guminski wrote: But I'm still not happy with the solution. This is because of the impossibility to avoid generating unnecessary folder structure (/.../latestStableVersion/download/latestStableVersion- download.xml). I would like to have it flat, without

Re: How to deploy an artifact to some predefined location?

2008-04-03 Thread Luke Daley
On 04/04/2008, at 10:08 AM, Luke Daley wrote: On 04/04/2008, at 1:35 AM, Lukasz Guminski wrote: But I'm still not happy with the solution. This is because of the impossibility to avoid generating unnecessary folder structure (/.../latestStableVersion/download/latestStableVersion-

Re: eclipse:install-plugins 2.5 does not add qualifier to jar, 2.4 did.

2008-04-03 Thread Barrie Treloar
I no one knows, I can do the investigation. On Fri, Apr 4, 2008 at 7:15 AM, Carlos Sanchez [EMAIL PROTECTED] wrote: dont know, we'd need to see what was the change in the code and who did it On Thu, Apr 3, 2008 at 2:30 PM, Arnaud HERITIER [EMAIL PROTECTED] wrote: Carlos, WDYT about this

how to include my lib folder in the war file

2008-04-03 Thread whitesox12
Hi, Need some help as this is the first time I am trying to use Maven for my build. I am facing an issue when creatin a war file maven is not putting the right libraries in the lib folder. When issuing a command mvn install it downloads a bunc of jars and after it's done creating war when I

Re: how to include my lib folder in the war file

2008-04-03 Thread Dan Tran
What you see in your WEB-INF/lib folder is the correct and intended behavior. - If you see some unintended jar showing up, then you need to use dependency's exclusion. - If you see unwanted version of jar, then you need to use dependencyManagement to override. Take a look at