[jira] Commented: (MNG-2589) Inherit transitive dependencies with runtime scope

2008-04-17 Thread Bugittaa Pahasti (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131084#action_131084
 ] 

Bugittaa Pahasti commented on MNG-2589:
---

Please read my comment in MNG-2205 (don't wan't to copy-paste that here). 
Generally, I think this should be how maven would work, so transitive 
dependencies would not be included in compile time classpath.

I know some people will think otherwise, so perhaps providing an option would 
be good, but I would prefer the default being as Joerg suggests.

Could someone fix the subject?

> Inherit transitive dependencies with runtime scope
> --
>
> Key: MNG-2589
> URL: http://jira.codehaus.org/browse/MNG-2589
> Project: Maven 2
>  Issue Type: Improvement
>  Components: Dependencies
>Affects Versions: 2.0.4
>Reporter: Joerg Schaible
> Fix For: 2.1
>
>
> Transitive dependencies of scope "compile" should be inherited with scope 
> "compile" only. This would avoid unwanted usage of 3rd party packages and 
> make explicit dependencies visible. It should be possible at least to run 
> Maven in such a mode.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MNG-3530) Properties get resolved before the LifeCycle is Forked.

2008-04-17 Thread Nick Pellow (JIRA)
Properties get resolved before the LifeCycle is Forked.
---

 Key: MNG-3530
 URL: http://jira.codehaus.org/browse/MNG-3530
 Project: Maven 2
  Issue Type: Bug
  Components: General
Affects Versions: 2.0.9
Reporter: Nick Pellow


Since Maven 2.0.9 -- If a plugin uses a forked lifecycle, then the project 
properties are resolved by maven before the lifecycle is forked.
This means that the forked lifecycle has the non-forked lifecycle's values.

This was not the case in maven prior to version 2.0.9, where properties were 
resolved at a much later time.

For example - the attached sample project uses the Clover plugin with the 
xdoclet plugin. When {code}mvn clean install{code} is run under *Maven-2.0.8* 
you can see the following output:

{code}
[INFO] [xdoclet:xdoclet {execution: default}]
[INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
 [echo] Build Dir: ${project.build.directory}/test.clover
[INFO] Executed tasks
{code}

whilst *Maven 2.0.9* outputs:

{code}
[INFO] [xdoclet:xdoclet {execution: default}]
[INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
[mkdir] Created dir: /Users/niick/work/mvnclvr/src/it/mng/xdoclet/target
[touch] Creating 
/Users/niick/work/mvnclvr/src/it/mng/xdoclet/target/test.clover
 [echo] Build Dir: 
/Users/niick/work/mvnclvr/src/it/mng/xdoclet/target/test.clover
[INFO] Executed tasks
[INFO] [resources:resources]
{code}

The fact the  ${project.build.directory} property has been expanded already 
under 2.0.9, means that the forked lifecycle has the same value for that 
property.

This new behavior will break any plugin which uses a forked lifecycle.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MNG-3530) Properties get resolved before the LifeCycle is Forked.

2008-04-17 Thread Nick Pellow (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Pellow updated MNG-3530:
-

Attachment: MNG-3530.tar.gz

To reproduce this bug, simply unpack this archive and run:
{code}
mvn clean install
{code}

When run with version 2.0.9 of maven you will see that the properties get 
resolved.
When run with version 2.0.8, these properties are not resolved.

Please let me know if you have any difficulties reproducing this.

> Properties get resolved before the LifeCycle is Forked.
> ---
>
> Key: MNG-3530
> URL: http://jira.codehaus.org/browse/MNG-3530
> Project: Maven 2
>  Issue Type: Bug
>  Components: General
>Affects Versions: 2.0.9
>Reporter: Nick Pellow
> Attachments: MNG-3530.tar.gz
>
>
> Since Maven 2.0.9 -- If a plugin uses a forked lifecycle, then the project 
> properties are resolved by maven before the lifecycle is forked.
> This means that the forked lifecycle has the non-forked lifecycle's values.
> This was not the case in maven prior to version 2.0.9, where properties were 
> resolved at a much later time.
> For example - the attached sample project uses the Clover plugin with the 
> xdoclet plugin. When {code}mvn clean install{code} is run under *Maven-2.0.8* 
> you can see the following output:
> {code}
> [INFO] [xdoclet:xdoclet {execution: default}]
> [INFO] Initializing DocletTasks!!!
> [INFO] Executing tasks
>  [echo] Build Dir: ${project.build.directory}/test.clover
> [INFO] Executed tasks
> {code}
> whilst *Maven 2.0.9* outputs:
> {code}
> [INFO] [xdoclet:xdoclet {execution: default}]
> [INFO] Initializing DocletTasks!!!
> [INFO] Executing tasks
> [mkdir] Created dir: /Users/niick/work/mvnclvr/src/it/mng/xdoclet/target
> [touch] Creating 
> /Users/niick/work/mvnclvr/src/it/mng/xdoclet/target/test.clover
>  [echo] Build Dir: 
> /Users/niick/work/mvnclvr/src/it/mng/xdoclet/target/test.clover
> [INFO] Executed tasks
> [INFO] [resources:resources]
> {code}
> The fact the  ${project.build.directory} property has been expanded already 
> under 2.0.9, means that the forked lifecycle has the same value for that 
> property.
> This new behavior will break any plugin which uses a forked lifecycle.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MDEP-162) localRepository as file URL in settings.xml makes unpacking dependencies fail: expanding into null

2008-04-17 Thread Heiko Selber (JIRA)
localRepository as file URL in settings.xml makes unpacking dependencies fail: 
expanding into null
--

 Key: MDEP-162
 URL: http://jira.codehaus.org/browse/MDEP-162
 Project: Maven 2.x Dependency Plugin
  Issue Type: Bug
  Components: unpack-dependencies
Affects Versions: 2.0
 Environment: Windows XP
Reporter: Heiko Selber
Assignee: Brian Fox
Priority: Minor
 Attachments: expanding_into_null.txt

I specified the localRepository in settings.xml like this:

file:///C:/.m2/repository

Using a file URL is apparently valid for artifacts which are only downloaded.

However, when a dependency is to be expanded to .unpacked-modules, a file URL 
leads to failure.

The dependency is unpacked to the directory where mvn was started.

The console output shows this line:

[INFO] Expanding: 
c:\.m2\repository\com\company\project\activemq-cpp\2.1.3_02\activemq-cpp-2.1.3_02-win32.zip
 into null

Debug output is attached, look for outputDirectory.

The problem here is an inconsistency in treating a file URL; it is correctly 
used by some modules, but incorrectly by others.

Possible solutions:

1. Accept file URLs everywhere (preferred)
2. Don't accept file URLs anywhere and fail cleanly when file URL is encountered
3. Document clearly in which format the path is to be given


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MJAR-105) Regression: Build fails for an empty main jar with 2.2

2008-04-17 Thread Joerg Schaible (JIRA)

[ 
http://jira.codehaus.org/browse/MJAR-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131099#action_131099
 ] 

Joerg Schaible commented on MJAR-105:
-

In your example, the resulting jar is not empty. Looking for the differences to 
your example and my setup I found that we use this configuration for the plugin:

{noformat}



false


{noformat}

Add this configuration to your example and the problem is also revealed :)

> Regression: Build fails for an empty main jar with 2.2
> --
>
> Key: MJAR-105
> URL: http://jira.codehaus.org/browse/MJAR-105
> Project: Maven 2.x Jar Plugin
>  Issue Type: Bug
>Affects Versions: 2.2
>Reporter: Joerg Schaible
> Attachments: MJAR-105.zip
>
>
> We have quite some projects with integration tests that have only test code, 
> but no sources (neither Java nor other resources) that are included into the 
> main artifact. With jar-plugin version 2.2 these kind of projects suddenly 
> fail:
> {noformat}
> [INFO] 
> 
> [INFO] Building eIP TempAccess Integration Tests
> [INFO]task-segment: [clean, deploy]
> [INFO] 
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory 
> D:\work\standard\eIP\TempAccess\EnterpriseArchive\integration-test-jar\target
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to 
> D:\work\standard\eIP\TempAccess\EnterpriseArchive\integration-test-jar\target\test-classes
> [INFO] [surefire:test]
> [INFO] Tests are skipped.
> [INFO] [jar:jar]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] Error assembling JAR
> Embedded error: You must set at least one file.
> [INFO] 
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> 
> [INFO] Total time: 14 minutes 44 seconds
> [INFO] Finished at: Wed Apr 16 08:18:43 CEST 2008
> [INFO] Final Memory: 111M/200M
> [INFO] 
> 
> {noformat}
> With 2.1 an empty main jar has been created and this behaviour was explicitly 
> acknowledged in MJAR-8.
> We stumbled about this upgrading from M205 to M209 that allowed us to use 
> also the newer jar-plugin version. Currently we're stuck with jar-plugin 
> version 2.1 because of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (ARCHETYPE-160) [regression] the default (15) is no longer present in generate

2008-04-17 Thread Brett Porter (JIRA)
[regression] the default (15) is no longer present in generate
--

 Key: ARCHETYPE-160
 URL: http://jira.codehaus.org/browse/ARCHETYPE-160
 Project: Maven Archetype
  Issue Type: Bug
Affects Versions: 2.0-alpha-3
Reporter: Brett Porter


previously, the quickstart archetype is selected as the default so that the 
prompt can just be ENTERed past. In 2.0-alpha-3, this is not present and you 
must make a selection.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MRELEASE-322) Unable to set the working directory for projects where the master pom isn't at the root of the project

2008-04-17 Thread Paolo Compieta (JIRA)

[ 
http://jira.codehaus.org/browse/MRELEASE-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131115#action_131115
 ] 

Paolo Compieta commented on MRELEASE-322:
-

the 'commitByProject' option only affects commit, not tagging.
so we have separate commits for each module but only one tagging - for the 
parent project.

i designing just now the company-wide maven approach (we'll be using both Idea 
and Eclipse): this bug is really annoying - fix greatly appreciated.

Regards
Paolo

> Unable to set the working directory for projects where the master pom isn't 
> at the root of the project
> --
>
> Key: MRELEASE-322
> URL: http://jira.codehaus.org/browse/MRELEASE-322
> Project: Maven 2.x Release Plugin
>  Issue Type: Bug
>  Components: scm
>Affects Versions: 2.0-beta-7
>Reporter: Christian Nelson
>Priority: Blocker
>
> Branches and Tags are created from the current working directory, which isn't 
> always correct and there isn't a way to override the working directory.
> For example, we have the following directory structure:
> ${root}/master/pom.xml - The modules section include relative paths to 
> modules a, b, and c.
> ${root}/module-a/pom.xml
> ${root}/module-b/pom.xml
> ${root}/module-c/pom.xml
> All subversion copies (via branch or prepare) originate from ${root}/master.  
> As a result, they are incomplete; we really want to create copies from 
> ${root} not ${root}/master.  Here's the subversion command that I think is 
> the problem:
> {noformat}
> [INFO] Working directory: C:\devsys\repos\trunk\master
> [INFO] Branching release with the label release-1.0...
> [INFO] Executing: svn --non-interactive copy --file 
> C:\Users\cnelson\AppData\Local\Temp\maven-scm-1179760787.commit . 
> http://hostname/svn/dev/branches/release-1.0
> {noformat}
> The period after the filename is what's indicating to subversion to create 
> the copy from master instead of ${root}.  Note: the working directory is 
> derived from the basedir and I couldn't find a way to override the basedir.
> While not having the master pom at the root of the project may be a little 
> uncommon, it doesn't seem unreasonable.  Can we add a configuration option to 
> handle these cases?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MECLIPSE-377) eclipse:eclipse -DdownloadSources=true shouldn't attempt download more than once in a multi-project

2008-04-17 Thread Julien Renaut (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131116#action_131116
 ] 

Julien Renaut commented on MECLIPSE-377:


No need to patch this.

Here is what i've done:

Add the following to your root pom.xml (under build -> plugins):


false
maven-clean-plugin

true



The source status cache file is saved under the target dir of the your root 
pom. Unless you really need to delete it during clean goal you can skip it. 
That way you won't loose your source status file. Plus, this file is shared by 
all projects under your root pom.

Hope this helps.

> eclipse:eclipse -DdownloadSources=true shouldn't attempt download more than 
> once in a multi-project
> ---
>
> Key: MECLIPSE-377
> URL: http://jira.codehaus.org/browse/MECLIPSE-377
> Project: Maven 2.x Eclipse Plugin
>  Issue Type: Bug
>  Components: Core : Dependencies resolution and build path, Core : 
> Multi-projects
>Affects Versions: 2.4
>Reporter: Steinar Bang
>
> If you run "mvn eclipse:eclipse -DdownloadSources=true" it attempts to 
> download source jars for all projects, even when it has tried (and failed) to 
> download the jars in earlier projects.  This slows down the goal a lot on 
> slow network connections.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ARCHETYPE-159) mvn archetype:generate is failing to download needed archetype artifacts

2008-04-17 Thread Arnaud Heritier (JIRA)

 [ 
http://jira.codehaus.org/browse/ARCHETYPE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnaud Heritier updated ARCHETYPE-159:
--

Affects Version/s: 2.0-alpha-2

> mvn archetype:generate is failing to download needed archetype artifacts
> 
>
> Key: ARCHETYPE-159
> URL: http://jira.codehaus.org/browse/ARCHETYPE-159
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 2.0-alpha-2
> Environment: Windows XP, Maven 2.0.9
>Reporter: Glen Mazza
>
> A fresh install of Maven 2.0.9 on Windows XP, if I issue this command:
> mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart
> I get this error message:
> [INFO] The desired archetype does not exist 
> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> Partial error stack:
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] 
> 
> [INFO] Building Maven Default Project
> [INFO]task-segment: [archetype:generate] (aggregator-style)
> [INFO] 
> 
> [INFO] Preparing archetype:generate
> [INFO] No goals needed for project - skipping
> [INFO] Setting property: classpath.resource.loader.class => 
> 'org.codehaus.plexus
> .velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [archetype:generate]
> org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested 
> downl
> oad does not exist.
> at 
> org.apache.maven.archetype.downloader.DefaultDownloader.download(Defa
> ultDownloader.java:62)
> at 
> org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.exi
> sts(DefaultArchetypeArtifactManager.java:310)
> at 
> org.apache.maven.archetype.ui.DefaultArchetypeGenerationConfigurator.
> configureArchetype(DefaultArchetypeGenerationConfigurator.java:103)
> The same error also happens with an archetype artifact ID of 
> "maven-archetype-webapp" (and probably all the others as well).
> However, if I issue the same command but using archetype:create instead of 
> :generate, not only will the archetype artifact correctly download (and the 
> command work successfully), subsequent usages of archetype:generate with that 
> same archetype artifact will also correctly run.
> So I think the problem is that mvn archetype:generate needs to download 
> archetype artifacts just like mvn archetype:create does.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ARCHETYPE-159) mvn archetype:generate is failing to download needed archetype artifacts

2008-04-17 Thread Arnaud Heritier (JIRA)

[ 
http://jira.codehaus.org/browse/ARCHETYPE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131119#action_131119
 ] 

Arnaud Heritier commented on ARCHETYPE-159:
---

Same thing here :

{code}
Same thing here :

{code}
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:generate]
Choose archetype:
1: remote -> socle-fondations-services-archetype (Couche de services)
2: remote -> socle-ia-archetype (WebApp IA (Struts))
3: remote -> socle-ria-archetype (WebApp RIA (JSF/RichFaces))
4: remote -> socle-fondations-ws-archetype (WebApp WS (XFire))
5: remote -> socle-fondations-ear-archetype (EAR)
Choose a number:  (1/2/3/4/5): 1
Downloading: 
file://E:\Dev\data\maven-2.x\repository/fr/XXX/socle/fondations/archetypes/socle-fondations-services-archetype/2.0.0/socle-fondations-services
-archetype-2.0.0.jar
org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested 
download does not exist.
at 
org.apache.maven.archetype.downloader.DefaultDownloader.download(DefaultDownloader.java:75)
at 
org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.exists(DefaultArchetypeArtifactManager.java:310)
at 
org.apache.maven.archetype.ui.DefaultArchetypeGenerationConfigurator.configureArchetype(DefaultArchetypeGenerationConfigurator.java:125)
at 
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:163)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: File: 
E:\Dev\data\maven-2.x\repository\fr\XXX\socle\fondations\archetypes\socle-fo
ndations-services-archetype\2.0.0\socle-fondations-services-archetype-2.0.0.jar 
does not exist
{code}
It tries to download the archetype from . my local repository :-(

> mvn archetype:generate is failing to download needed archetype artifacts
> 
>
> Key: ARCHETYPE-159
> URL: http://jira.codehaus.org/browse/ARCHETYPE-159
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 2.0-alpha-2
> Environment: Windows XP, Maven 2.0.9
>Reporter: Glen Mazza
>
> A fresh install of Maven 2.0.9 on Windows XP, if I issue this command:
> mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart
> I get this error message:
> [INFO] The desired archetype does not exist 
> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> Partial error stack:
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] 
> 
> [INFO] Building Maven Default Project
> [INFO]task-segment: [archetype:generate] (aggregator-style)
> [INFO] 
> 
> [INFO] Preparing archetype:generate
> [INFO] No goals needed for project - skipping
> [INFO] Sett

[jira] Updated: (ARCHETYPE-159) mvn archetype:generate is failing to download needed archetype artifacts

2008-04-17 Thread Arnaud Heritier (JIRA)

 [ 
http://jira.codehaus.org/browse/ARCHETYPE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnaud Heritier updated ARCHETYPE-159:
--

Priority: Blocker  (was: Major)

> mvn archetype:generate is failing to download needed archetype artifacts
> 
>
> Key: ARCHETYPE-159
> URL: http://jira.codehaus.org/browse/ARCHETYPE-159
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 2.0-alpha-2
> Environment: Windows XP, Maven 2.0.9
>Reporter: Glen Mazza
>Priority: Blocker
>
> A fresh install of Maven 2.0.9 on Windows XP, if I issue this command:
> mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart
> I get this error message:
> [INFO] The desired archetype does not exist 
> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> Partial error stack:
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] 
> 
> [INFO] Building Maven Default Project
> [INFO]task-segment: [archetype:generate] (aggregator-style)
> [INFO] 
> 
> [INFO] Preparing archetype:generate
> [INFO] No goals needed for project - skipping
> [INFO] Setting property: classpath.resource.loader.class => 
> 'org.codehaus.plexus
> .velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [archetype:generate]
> org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested 
> downl
> oad does not exist.
> at 
> org.apache.maven.archetype.downloader.DefaultDownloader.download(Defa
> ultDownloader.java:62)
> at 
> org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.exi
> sts(DefaultArchetypeArtifactManager.java:310)
> at 
> org.apache.maven.archetype.ui.DefaultArchetypeGenerationConfigurator.
> configureArchetype(DefaultArchetypeGenerationConfigurator.java:103)
> The same error also happens with an archetype artifact ID of 
> "maven-archetype-webapp" (and probably all the others as well).
> However, if I issue the same command but using archetype:create instead of 
> :generate, not only will the archetype artifact correctly download (and the 
> command work successfully), subsequent usages of archetype:generate with that 
> same archetype artifact will also correctly run.
> So I think the problem is that mvn archetype:generate needs to download 
> archetype artifacts just like mvn archetype:create does.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MRELEASE-337) generated command line must remove newLine characters

2008-04-17 Thread nicolas de loof (JIRA)
generated command line must remove newLine characters
-

 Key: MRELEASE-337
 URL: http://jira.codehaus.org/browse/MRELEASE-337
 Project: Maven 2.x Release Plugin
  Issue Type: Bug
Affects Versions: 2.0-beta-8
Reporter: nicolas de loof


When using an XML editor with formating support, a long goal list (including 
custom plugins with com.mycompany.groupId:plugin:goal) MAY be splitted into 
multiple lines.

The release:perform executed command line does not remove such new lines 
characters, and some options / goals are not passed to the mvn instance

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Work started: (MRELEASE-337) generated command line must remove newLine characters

2008-04-17 Thread nicolas de loof (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on MRELEASE-337 started by nicolas de loof.

> generated command line must remove newLine characters
> -
>
> Key: MRELEASE-337
> URL: http://jira.codehaus.org/browse/MRELEASE-337
> Project: Maven 2.x Release Plugin
>  Issue Type: Bug
>Affects Versions: 2.0-beta-8
>Reporter: nicolas de loof
>Assignee: nicolas de loof
>
> When using an XML editor with formating support, a long goal list (including 
> custom plugins with com.mycompany.groupId:plugin:goal) MAY be splitted into 
> multiple lines.
> The release:perform executed command line does not remove such new lines 
> characters, and some options / goals are not passed to the mvn instance

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (MRELEASE-337) generated command line must remove newLine characters

2008-04-17 Thread nicolas de loof (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof closed MRELEASE-337.


   Resolution: Fixed
Fix Version/s: 2.0-beta-8

goals parameter is now splitted and joined to produce a single line command

> generated command line must remove newLine characters
> -
>
> Key: MRELEASE-337
> URL: http://jira.codehaus.org/browse/MRELEASE-337
> Project: Maven 2.x Release Plugin
>  Issue Type: Bug
>Affects Versions: 2.0-beta-8
>Reporter: nicolas de loof
>Assignee: nicolas de loof
> Fix For: 2.0-beta-8
>
>
> When using an XML editor with formating support, a long goal list (including 
> custom plugins with com.mycompany.groupId:plugin:goal) MAY be splitted into 
> multiple lines.
> The release:perform executed command line does not remove such new lines 
> characters, and some options / goals are not passed to the mvn instance

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MECLIPSE-377) eclipse:eclipse -DdownloadSources=true shouldn't attempt download more than once in a multi-project

2008-04-17 Thread Arnaud Heritier (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131124#action_131124
 ] 

Arnaud Heritier commented on MECLIPSE-377:
--

I'll solve this in 2.5.2. I made a comment on this in MECLIPSE-387

> eclipse:eclipse -DdownloadSources=true shouldn't attempt download more than 
> once in a multi-project
> ---
>
> Key: MECLIPSE-377
> URL: http://jira.codehaus.org/browse/MECLIPSE-377
> Project: Maven 2.x Eclipse Plugin
>  Issue Type: Bug
>  Components: Core : Dependencies resolution and build path, Core : 
> Multi-projects
>Affects Versions: 2.4
>Reporter: Steinar Bang
>
> If you run "mvn eclipse:eclipse -DdownloadSources=true" it attempts to 
> download source jars for all projects, even when it has tried (and failed) to 
> download the jars in earlier projects.  This slows down the goal a lot on 
> slow network connections.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MWAR-154) documentation for overlay is incorrect

2008-04-17 Thread Stephane Nicoll (JIRA)

[ 
http://jira.codehaus.org/browse/MWAR-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131125#action_131125
 ] 

Stephane Nicoll commented on MWAR-154:
--

Well, I don't see that on the link you provided.



> documentation for overlay is incorrect
> --
>
> Key: MWAR-154
> URL: http://jira.codehaus.org/browse/MWAR-154
> Project: Maven 2.x War Plugin
>  Issue Type: Task
>Reporter: Olaf Kittelmann
>
> The documentation on 
> http://maven.apache.org/plugins/maven-war-plugin/overlays.html describes a 
> feature that only works with 
> version 2.1-alpha-1 of the plugin. 
> yet the pom snippets on the documentation page always point to version 2.0. 
>  [...]
> 
>   
> org.apache.maven.plugins
> maven-war-plugin
> 2.0
> 
>   
>   **/IncludeME,**/images 
>   
> 
>
>   
>   [...]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MANTTASKS-71) running m2 inside Ant

2008-04-17 Thread Bernd Schuller (JIRA)

[ 
http://jira.codehaus.org/browse/MANTTASKS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131126#action_131126
 ] 

Bernd Schuller commented on MANTTASKS-71:
-

Actually one usecase for this would be to maven-enable builds that rely heavily 
on ant, and use ant in some weird way :-)
One such example is Eclipse rich-client development.
A simple  task would be very very handy here.



> running m2 inside Ant
> -
>
> Key: MANTTASKS-71
> URL: http://jira.codehaus.org/browse/MANTTASKS-71
> Project: Maven 2.x Ant Tasks
>  Issue Type: Task
>Reporter: Brett Porter
>Priority: Minor
>
> I'm thinking out loud now, but given that we have the artifact and pom tasks, 
> and m2 is embeddalbe - for those still using Ant as their primary 
> environment, but might want some m2 projects we could have an m2 task. The 
> artifact tasks (whould could hopefully install themselves a bit more easily 
> in future) could pull down the necessary m2 libraries and fire it up to run 
> goals.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MIDEA-110) multi-module master ipr generated incorrectly

2008-04-17 Thread Paolo Compieta (JIRA)

[ 
http://jira.codehaus.org/browse/MIDEA-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131128#action_131128
 ] 

Paolo Compieta commented on MIDEA-110:
--

I'm facing exactly the same problem on:
- IntelliJ 6.0.6
- maven-idea-plugin:2.1

I'm designing a flat structure for all maven project, because of 
Eclipse-compatibility: it's really annoying having to manually fix each 
submodule's path in the xml file.

Note: my modules do not specify the parent's 'relativePath'.

Thanks

> multi-module master ipr generated incorrectly
> -
>
> Key: MIDEA-110
> URL: http://jira.codehaus.org/browse/MIDEA-110
> Project: Maven 2.x IDEA Plugin
>  Issue Type: Bug
> Environment: Windows XP / opened with IntelliJ 7.0.3 (EAP)
>Reporter: Darren Davis
>
> I have a multi-module web-application which works fine with maven2.  In order 
> to make it more friendly with our source control system, the master project 
> pom file was moved into it's own directory, parallel to the child modules.  
> C:\\Development\mavenflattened\GetSmartMaster
> The modules section of the pom.xml references each child module using a 
> relative filepath:
> 
>   ../GetSmartLogging
>   ../GetSmart
> 
> Each child pom.xml was modified to reference the parent, also using a 
> relative filepath:
> 
>   com.foo.max
>   app
>   ../GetSmartMaster/pom.xml
> 
> With this configuration I can successfully compile,build, deploy the entire 
> application the mvn commands.
> When I create an IntelliJ ipr/iml files using the idea:idea goal, the modules 
> filepath are incorrect in the ipr file.  These appear as:
> 
>   
>filepath="$PROJECT_DIR$/C:/development/mavenflattened/GetSmartLogging/GetSmartLogging.iml"/>
>filepath="$PROJECT_DIR$/C:/development/mavenflattened/GetSmart/GetSmart.iml"/>
> 
> When i try to open up the master ipr with IntelliJ,  I get the following 
> error message for each module:
> Cannot load module file 
> 'C:\development\mavenflattened\GetSmartMaster\C:\development\mavenflattened\GetSmartLogging\GetSmartLogging.iml':
> File 
> C:\development\mavenflattened\GetSmartMaster\C:\development\mavenflattened\GetSmartLogging\GetSmartLogging.iml
>  does not exist
> Would you like to remove the module from the project?
> I have to manually edit the generated ipr file to get the project to open 
> with the correct module references.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ARCHETYPE-159) mvn archetype:generate is failing to download needed archetype artifacts

2008-04-17 Thread Arnaud Heritier (JIRA)

 [ 
http://jira.codehaus.org/browse/ARCHETYPE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnaud Heritier updated ARCHETYPE-159:
--

Attachment: ARCHETYPE-159-3.patch

It's a first patch for this bug.
There's no test, I didn't yet find how to add one for this problem.
I changed 2 things to fix the problem : 
 - I passed remoteRepositories list from the plugin to the Downloader
 - I removed a suspect code on the the Downloader. I don't understand why you 
change the repository of the artifact. I you uncomment this, the bug comes 
back. Same thing with repositories list.

> mvn archetype:generate is failing to download needed archetype artifacts
> 
>
> Key: ARCHETYPE-159
> URL: http://jira.codehaus.org/browse/ARCHETYPE-159
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 2.0-alpha-2
> Environment: Windows XP, Maven 2.0.9
>Reporter: Glen Mazza
>Priority: Blocker
> Attachments: ARCHETYPE-159-3.patch
>
>
> A fresh install of Maven 2.0.9 on Windows XP, if I issue this command:
> mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart
> I get this error message:
> [INFO] The desired archetype does not exist 
> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> Partial error stack:
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] 
> 
> [INFO] Building Maven Default Project
> [INFO]task-segment: [archetype:generate] (aggregator-style)
> [INFO] 
> 
> [INFO] Preparing archetype:generate
> [INFO] No goals needed for project - skipping
> [INFO] Setting property: classpath.resource.loader.class => 
> 'org.codehaus.plexus
> .velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [archetype:generate]
> org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested 
> downl
> oad does not exist.
> at 
> org.apache.maven.archetype.downloader.DefaultDownloader.download(Defa
> ultDownloader.java:62)
> at 
> org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.exi
> sts(DefaultArchetypeArtifactManager.java:310)
> at 
> org.apache.maven.archetype.ui.DefaultArchetypeGenerationConfigurator.
> configureArchetype(DefaultArchetypeGenerationConfigurator.java:103)
> The same error also happens with an archetype artifact ID of 
> "maven-archetype-webapp" (and probably all the others as well).
> However, if I issue the same command but using archetype:create instead of 
> :generate, not only will the archetype artifact correctly download (and the 
> command work successfully), subsequent usages of archetype:generate with that 
> same archetype artifact will also correctly run.
> So I think the problem is that mvn archetype:generate needs to download 
> archetype artifacts just like mvn archetype:create does.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Issue Comment Edited: (MRM-781) Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav

2008-04-17 Thread Brett Porter (JIRA)

[ 
http://jira.codehaus.org/browse/MRM-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131145#action_131145
 ] 

brettporter edited comment on MRM-781 at 4/17/08 11:02 AM:


this is looking ok so far. Some missing things:

- license header on some new files
- I saw this when getting group and artifact ID level metadata: 2008-04-17 
23:52:11,208 [btpool0-6] ERROR 
org.apache.maven.archiva.webdav.ArchivaDavResourceFactory  - Not a versioned 
reference, as version id on path has no number in it.
org.apache.maven.archiva.repository.metadata.RepositoryMetadataException: Not a 
versioned reference, as version id on path has no number in it.
- requires login (guest doesn't work) even when configured (may be my fault as 
I adjusted XworkUser too)
- content length is not reported - we should compare HTTP headers that used to 
be returned to ensure they are complete

I'll look to commit this tomorrow.

  was (Author: brettporter):
this is looking ok so far. Some missing things:

- license header on some new files
- I saw this when getting group and artifact ID level metadata: 2008-04-17 
23:52:11,208 [btpool0-6] ERROR 
org.apache.maven.archiva.webdav.ArchivaDavResourceFactory  - Not a versioned 
reference, as version id on path has no number in it.
org.apache.maven.archiva.repository.metadata.RepositoryMetadataException: Not a 
versioned reference, as version id on path has no number in it.
- requires login (guest doesn't work) even when configured (may be my fault as 
I adjusted XworkUser too)

I'll look to commit this tomorrow.
  
> Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
> --
>
> Key: MRM-781
> URL: http://jira.codehaus.org/browse/MRM-781
> Project: Archiva
>  Issue Type: Improvement
>  Components: WebDAV interface
>Affects Versions: 1.1
>Reporter: James William Dumay
>Assignee: Brett Porter
> Attachments: archiva-jackrabbit-webdav.patch, 
> archiva-jackrabbit-webdav.patch, archiva-jackrabbit-webdav.patch
>
>
> This patch removes plexus-webdav in favor of Jackrabbit's webdav servlet 
> implementation. It is not yet 100% completed and tested. HTTP GET and PUT 
> should work correctly.
> The following needs to happen before integration:
> 1) New Jackrabbit classes need to be correctly unit tested.
> 2) Webdav properties need to be implemented
> 3) Testing of common webdav clients - Mac OS X, Windows, Wagon-Dav, etc

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MDEPLOY-48) deploy:deploy-file does not support deploying sources jars too

2008-04-17 Thread Duncan Doyle (JIRA)

[ 
http://jira.codehaus.org/browse/MDEPLOY-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131151#action_131151
 ] 

Duncan Doyle commented on MDEPLOY-48:
-

I would like to see this option included as well. James, have you already 
started with a fix? If so, could you send me the source code so I can build my 
own deploy plugin.

> deploy:deploy-file does not support deploying sources jars too
> --
>
> Key: MDEPLOY-48
> URL: http://jira.codehaus.org/browse/MDEPLOY-48
> Project: Maven 2.x Deploy Plugin
>  Issue Type: Improvement
>Affects Versions: 2.3
>Reporter: Geoffrey De Smet
>
> deploy:deploy does, but deploy:deploy-file doesn't have a parameter to tell 
> him where the sources jar is:
> mvn deploy:deploy-file -Dfile=$artifactFile -DpomFile=$pomFile -Durl=$toRepo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Issue Comment Edited: (ARCHETYPE-159) mvn archetype:generate is failing to download needed archetype artifacts

2008-04-17 Thread Arnaud Heritier (JIRA)

[ 
http://jira.codehaus.org/browse/ARCHETYPE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131119#action_131119
 ] 

aheritier edited comment on ARCHETYPE-159 at 4/17/08 11:26 AM:
-

Same thing here :

{code}
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:generate]
Choose archetype:
1: remote -> socle-fondations-services-archetype (Couche de services)
2: remote -> socle-ia-archetype (WebApp IA (Struts))
3: remote -> socle-ria-archetype (WebApp RIA (JSF/RichFaces))
4: remote -> socle-fondations-ws-archetype (WebApp WS (XFire))
5: remote -> socle-fondations-ear-archetype (EAR)
Choose a number:  (1/2/3/4/5): 1
Downloading: 
file://E:\Dev\data\maven-2.x\repository/fr/XXX/socle/fondations/archetypes/socle-fondations-services-archetype/2.0.0/socle-fondations-services
-archetype-2.0.0.jar
org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested 
download does not exist.
at 
org.apache.maven.archetype.downloader.DefaultDownloader.download(DefaultDownloader.java:75)
at 
org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.exists(DefaultArchetypeArtifactManager.java:310)
at 
org.apache.maven.archetype.ui.DefaultArchetypeGenerationConfigurator.configureArchetype(DefaultArchetypeGenerationConfigurator.java:125)
at 
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:163)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: File: 
E:\Dev\data\maven-2.x\repository\fr\XXX\socle\fondations\archetypes\socle-fo
ndations-services-archetype\2.0.0\socle-fondations-services-archetype-2.0.0.jar 
does not exist
{code}
It tries to download the archetype from . my local repository :-(

  was (Author: aheritier):
Same thing here :

{code}
Same thing here :

{code}
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:generate]
Choose archetype:
1: remote -> socle-fondations-services-archetype (Couche de services)
2: remote -> socle-ia-archetype (WebApp IA (Struts))
3: remote -> socle-ria-archetype (WebApp RIA (JSF/RichFaces))
4: remote -> socle-fondations-ws-archetype (WebApp WS (XFire))
5: remote -> socle-fondations-ear-archetype (EAR)
Choose a number:  (1/2/3/4/5): 1
Downloading: 
file://E:\Dev\data\maven-2.x\repository/fr/XXX/socle/fondations/archetypes/socle-fondations-services-archetype/2.0.0/socle-fondations-services
-archetype-2.0.0.jar
org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested 
download does not exist.
at 
org.apache.maven.archetype.downloader.DefaultDownloader.download(DefaultDownloader.java:75)
at 
org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.exist

[jira] Created: (MEAR-86) Add a property to automatically add jars dependencies into application.xml (TEST AND PATCH ATTACHED).

2008-04-17 Thread Thomas Recloux (JIRA)
Add a property to automatically add jars dependencies into application.xml 
(TEST AND PATCH ATTACHED).
-

 Key: MEAR-86
 URL: http://jira.codehaus.org/browse/MEAR-86
 Project: Maven 2.x Ear Plugin
  Issue Type: Improvement
Affects Versions: 2.3.1
Reporter: Thomas Recloux
 Attachments: MEAR-86-maven-ear-plugin.patch

Before this issue resolution http://jira.codehaus.org/browse/MNG-826 , all jar 
dependencies were added into the application.xml. After the resolution, it was 
not added and a property was added on the javaModule element in order to add it 
into the application.xml.

With a big ear project with a lot of direct or transitive dependencies, it is 
becoming really long and a source of errors when a transitive dependency is 
changing.
My application server (JBoss 4.0.5GA) needs to add the jar modules in the 
application.xml.

The default behaviour should not be changed, I added a property which includes 
all jar dependencies in the application.xml. If the property is not set, 
nothing changes.

The patch was built against the ear plugin's trunk, it includes a test (project 
43).


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MEAR-86) Add a property to automatically add jars dependencies into application.xml (TEST AND PATCH ATTACHED).

2008-04-17 Thread Thomas Recloux (JIRA)

 [ 
http://jira.codehaus.org/browse/MEAR-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Recloux updated MEAR-86:
---

Attachment: MEAR-86-maven-ear-plugin.patch

The patch

> Add a property to automatically add jars dependencies into application.xml 
> (TEST AND PATCH ATTACHED).
> -
>
> Key: MEAR-86
> URL: http://jira.codehaus.org/browse/MEAR-86
> Project: Maven 2.x Ear Plugin
>  Issue Type: Improvement
>Affects Versions: 2.3.1
>Reporter: Thomas Recloux
> Attachments: MEAR-86-maven-ear-plugin.patch
>
>
> Before this issue resolution http://jira.codehaus.org/browse/MNG-826 , all 
> jar dependencies were added into the application.xml. After the resolution, 
> it was not added and a property was added on the javaModule element in order 
> to add it into the application.xml.
> With a big ear project with a lot of direct or transitive dependencies, it is 
> becoming really long and a source of errors when a transitive dependency is 
> changing.
> My application server (JBoss 4.0.5GA) needs to add the jar modules in the 
> application.xml.
> The default behaviour should not be changed, I added a property which 
> includes all jar dependencies in the application.xml. If the property is not 
> set, nothing changes.
> The patch was built against the ear plugin's trunk, it includes a test 
> (project 43).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MECLIPSE-208) Implicit dependencies are not resolved when using make-artifacts with stripQualifier=false

2008-04-17 Thread Michael Vorburger (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131157#action_131157
 ] 

Michael Vorburger commented on MECLIPSE-208:


This is annoying... would be wonderful if this could get fixed something... see 
also 
http://fornax-platform.org/cp/display/fornax/2.+Hello+World+Tutorial+%28CSC%29?focusedCommentId=2098#comment-2098.

> Implicit dependencies are not resolved when using make-artifacts with 
> stripQualifier=false
> --
>
> Key: MECLIPSE-208
> URL: http://jira.codehaus.org/browse/MECLIPSE-208
> Project: Maven 2.x Eclipse Plugin
>  Issue Type: Bug
>  Components: PDE support
>Affects Versions: 2.3
> Environment: Windows XP, Eclipse 3.3 M4
>Reporter: Chad Moats
> Attachments: MECLIPSE-208-maven-eclipse-plugin.patch
>
>
> When using qualifiers with the make-artifacts goal, implict dependencies 
> cannot be resolved because they fall outside the version range used.  This 
> issue was found when trying to deploy Eclipse 3.3 M4 to my local repository 
> while retaining the qualifier.  For example, the org.eclipse.core.runtime pom 
> that is gernerated states that it depends on org.eclipse.equinox.app using 
> the range of [1.0.0,2.0.0).  The actual version number of the 
> org.eclipse.equinox.app is 1.0.0-v.  Using a qualifier means that the 
> version actually falls before the 1.0.0-2.0.0 range.  The following error is 
> logged:
> Couldn't find a version in [1.0.0-v20061208] to match range [1.0.0,2.0.0)
>   org.eclipse.equinox:org.eclipse.equinox.app:jar:null

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Issue Comment Edited: (MECLIPSE-208) Implicit dependencies are not resolved when using make-artifacts with stripQualifier=false

2008-04-17 Thread Michael Vorburger (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131157#action_131157
 ] 

vorburger edited comment on MECLIPSE-208 at 4/17/08 1:15 PM:
-

This is annoying... would be wonderful if this could get fixed somehow... see 
also 
http://fornax-platform.org/cp/display/fornax/2.+Hello+World+Tutorial+%28CSC%29?focusedCommentId=2098#comment-2098.

  was (Author: vorburger):
This is annoying... would be wonderful if this could get fixed something... 
see also 
http://fornax-platform.org/cp/display/fornax/2.+Hello+World+Tutorial+%28CSC%29?focusedCommentId=2098#comment-2098.
  
> Implicit dependencies are not resolved when using make-artifacts with 
> stripQualifier=false
> --
>
> Key: MECLIPSE-208
> URL: http://jira.codehaus.org/browse/MECLIPSE-208
> Project: Maven 2.x Eclipse Plugin
>  Issue Type: Bug
>  Components: PDE support
>Affects Versions: 2.3
> Environment: Windows XP, Eclipse 3.3 M4
>Reporter: Chad Moats
> Attachments: MECLIPSE-208-maven-eclipse-plugin.patch
>
>
> When using qualifiers with the make-artifacts goal, implict dependencies 
> cannot be resolved because they fall outside the version range used.  This 
> issue was found when trying to deploy Eclipse 3.3 M4 to my local repository 
> while retaining the qualifier.  For example, the org.eclipse.core.runtime pom 
> that is gernerated states that it depends on org.eclipse.equinox.app using 
> the range of [1.0.0,2.0.0).  The actual version number of the 
> org.eclipse.equinox.app is 1.0.0-v.  Using a qualifier means that the 
> version actually falls before the 1.0.0-2.0.0 range.  The following error is 
> logged:
> Couldn't find a version in [1.0.0-v20061208] to match range [1.0.0,2.0.0)
>   org.eclipse.equinox:org.eclipse.equinox.app:jar:null

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MJAR-105) Regression: Build fails for an empty main jar with 2.2

2008-04-17 Thread Dennis Lundberg (JIRA)

[ 
http://jira.codehaus.org/browse/MJAR-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131159#action_131159
 ] 

Dennis Lundberg commented on MJAR-105:
--

Thanks, I can confirm that this is the case.

> Regression: Build fails for an empty main jar with 2.2
> --
>
> Key: MJAR-105
> URL: http://jira.codehaus.org/browse/MJAR-105
> Project: Maven 2.x Jar Plugin
>  Issue Type: Bug
>Affects Versions: 2.2
>Reporter: Joerg Schaible
> Attachments: MJAR-105.zip
>
>
> We have quite some projects with integration tests that have only test code, 
> but no sources (neither Java nor other resources) that are included into the 
> main artifact. With jar-plugin version 2.2 these kind of projects suddenly 
> fail:
> {noformat}
> [INFO] 
> 
> [INFO] Building eIP TempAccess Integration Tests
> [INFO]task-segment: [clean, deploy]
> [INFO] 
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory 
> D:\work\standard\eIP\TempAccess\EnterpriseArchive\integration-test-jar\target
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to 
> D:\work\standard\eIP\TempAccess\EnterpriseArchive\integration-test-jar\target\test-classes
> [INFO] [surefire:test]
> [INFO] Tests are skipped.
> [INFO] [jar:jar]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] Error assembling JAR
> Embedded error: You must set at least one file.
> [INFO] 
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> 
> [INFO] Total time: 14 minutes 44 seconds
> [INFO] Finished at: Wed Apr 16 08:18:43 CEST 2008
> [INFO] Final Memory: 111M/200M
> [INFO] 
> 
> {noformat}
> With 2.1 an empty main jar has been created and this behaviour was explicitly 
> acknowledged in MJAR-8.
> We stumbled about this upgrading from M205 to M209 that allowed us to use 
> also the newer jar-plugin version. Currently we're stuck with jar-plugin 
> version 2.1 because of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MASSEMBLY-311) Empty outputFileNameMapping creates zip entries with no name

2008-04-17 Thread John Casey (JIRA)

[ 
http://jira.codehaus.org/browse/MASSEMBLY-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131163#action_131163
 ] 

John Casey commented on MASSEMBLY-311:
--

You might try:

{noformat}
${artifact.file.name}
{noformat}

I'm not entirely sure whether that will work, but it should, since we use a 
reflective value extractor for mapping expression sections separated by '.' 
(dots) onto 'getXXX()' and 'isXXX()' calls in the object graph.

> Empty outputFileNameMapping creates zip entries with no name
> 
>
> Key: MASSEMBLY-311
> URL: http://jira.codehaus.org/browse/MASSEMBLY-311
> Project: Maven 2.x Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 2.2-beta-2
> Environment: Maven 2.0.9
>Reporter: Dirk Olmes
>Priority: Trivial
> Attachments: assembly-with-system-dependency.zip
>
>
> I'm working on a project that has system dependencies. I want to package 
> those dependencies with their original name into the assembly (i.e. use the 
> same name of the JAR as in the system path).
> Leaving the outputFileNameMapping in the assembly descriptor's dependencySet 
> creates ZipEntries in the resulting zip file but those don't have a name. 
> Example:
> {code}
> unzip -qql target/assembly.zip
>   0  04-16-08 16:20   assembly/
> 2205737  04-07-08 18:23   assembly/lib/
>2621  04-16-08 16:20   assembly/lib/
> {code}
> Note the second line ...
> I have attached a sample project that uses Maven's uber Jar as system scope 
> dependency. Run the test with mvn -DMAVEN_HOME= package assembly:assembly 
> to create the zip.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MRELEASE-337) generated command line must remove newLine characters

2008-04-17 Thread Justin Edelson (JIRA)

[ 
http://jira.codehaus.org/browse/MRELEASE-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131168#action_131168
 ] 

Justin Edelson commented on MRELEASE-337:
-

It looks like this created an opportunity for a nullpointerexception. see 
http://www.nabble.com/release-perform-null-pointer-exception-tt16752665.html

The split should be moved to after the null check.



> generated command line must remove newLine characters
> -
>
> Key: MRELEASE-337
> URL: http://jira.codehaus.org/browse/MRELEASE-337
> Project: Maven 2.x Release Plugin
>  Issue Type: Bug
>Affects Versions: 2.0-beta-8
>Reporter: nicolas de loof
>Assignee: nicolas de loof
> Fix For: 2.0-beta-8
>
>
> When using an XML editor with formating support, a long goal list (including 
> custom plugins with com.mycompany.groupId:plugin:goal) MAY be splitted into 
> multiple lines.
> The release:perform executed command line does not remove such new lines 
> characters, and some options / goals are not passed to the mvn instance

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (MJAVADOC-182) use ${project.build.sourceEncoding} as default value for "encoding" parameter

2008-04-17 Thread Herve Boutemy (JIRA)

 [ 
http://jira.codehaus.org/browse/MJAVADOC-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy closed MJAVADOC-182.
--

 Assignee: Herve Boutemy
   Resolution: Fixed
Fix Version/s: 2.5

done in r648281

> use ${project.build.sourceEncoding} as default value for "encoding" parameter
> -
>
> Key: MJAVADOC-182
> URL: http://jira.codehaus.org/browse/MJAVADOC-182
> Project: Maven 2.x Javadoc Plugin
>  Issue Type: Improvement
>Affects Versions: 2.4
>Reporter: Herve Boutemy
>Assignee: Herve Boutemy
> Fix For: 2.5
>
>
> see 
> http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (JXR-60) use ${project.build.sourceEncoding} as default value for "inputEncoding" parameter

2008-04-17 Thread Herve Boutemy (JIRA)

 [ 
http://jira.codehaus.org/browse/JXR-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy closed JXR-60.


 Assignee: Herve Boutemy
   Resolution: Fixed
Fix Version/s: 2.2

done in r649284

> use ${project.build.sourceEncoding} as default value for "inputEncoding" 
> parameter
> --
>
> Key: JXR-60
> URL: http://jira.codehaus.org/browse/JXR-60
> Project: Maven JXR
>  Issue Type: Improvement
>  Components: maven2 jxr plugin
>Affects Versions: 2.1
>Reporter: Herve Boutemy
>Assignee: Herve Boutemy
> Fix For: 2.2
>
>
> see 
> http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MINVOKER-31) Test failing because of system property

2008-04-17 Thread Paul Gier (JIRA)
Test failing because of system property
---

 Key: MINVOKER-31
 URL: http://jira.codehaus.org/browse/MINVOKER-31
 Project: Maven 2.x Invoker Plugin
  Issue Type: Bug
 Environment: Linux, Maven 2.0.8
Reporter: Paul Gier


I'm getting a test failure like the following when I try to build the invoker 
plugin:

testSimpleRunValidate(org.apache.maven.plugin.invoker.InvokerMojoTest)  Time 
elapsed: 0.139 sec  <<< ERROR!
java.lang.IllegalStateException: Maven application directory was not specified, 
and ${maven.home} is not provided in the system properties. Please specify at 
least on of these.
at 
org.apache.maven.shared.invoker.MavenCommandLineBuilder.checkRequiredState(MavenCommandLineBuilder.java:119)
at 
org.apache.maven.shared.invoker.MavenCommandLineBuilder.build(MavenCommandLineBuilder.java:58)

I tried setting "maven.home" from the command line, but it still gave the same 
error.  For some reason the properties are not being passed to the junit tests.

Upgrading the version of surefire to 2.4.2 seems to fix the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MINVOKER-31) Test failing because of system property

2008-04-17 Thread Paul Gier (JIRA)

 [ 
http://jira.codehaus.org/browse/MINVOKER-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Gier updated MINVOKER-31:
--

Attachment: MINVOKER-31-surefire-update.patch

> Test failing because of system property
> ---
>
> Key: MINVOKER-31
> URL: http://jira.codehaus.org/browse/MINVOKER-31
> Project: Maven 2.x Invoker Plugin
>  Issue Type: Bug
> Environment: Linux, Maven 2.0.8
>Reporter: Paul Gier
> Attachments: MINVOKER-31-surefire-update.patch
>
>
> I'm getting a test failure like the following when I try to build the invoker 
> plugin:
> testSimpleRunValidate(org.apache.maven.plugin.invoker.InvokerMojoTest)  Time 
> elapsed: 0.139 sec  <<< ERROR!
> java.lang.IllegalStateException: Maven application directory was not 
> specified, and ${maven.home} is not provided in the system properties. Please 
> specify at least on of these.
>   at 
> org.apache.maven.shared.invoker.MavenCommandLineBuilder.checkRequiredState(MavenCommandLineBuilder.java:119)
>   at 
> org.apache.maven.shared.invoker.MavenCommandLineBuilder.build(MavenCommandLineBuilder.java:58)
> I tried setting "maven.home" from the command line, but it still gave the 
> same error.  For some reason the properties are not being passed to the junit 
> tests.
> Upgrading the version of surefire to 2.4.2 seems to fix the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (MCOMPILER-70) use ${project.build.sourceEncoding} as default value for "encoding" parameter

2008-04-17 Thread Herve Boutemy (JIRA)

 [ 
http://jira.codehaus.org/browse/MCOMPILER-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy closed MCOMPILER-70.
--

 Assignee: Herve Boutemy
   Resolution: Fixed
Fix Version/s: 2.1

done in r649286

> use ${project.build.sourceEncoding} as default value for "encoding" parameter
> -
>
> Key: MCOMPILER-70
> URL: http://jira.codehaus.org/browse/MCOMPILER-70
> Project: Maven 2.x Compiler Plugin
>  Issue Type: Improvement
>Reporter: Herve Boutemy
>Assignee: Herve Boutemy
> Fix For: 2.1
>
>
> see 
> http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (ARCHETYPE-161) RemoteCatalogArchetypeDataSource don't allow to download arbitrary urls

2008-04-17 Thread Eugene Kuleshov (JIRA)
RemoteCatalogArchetypeDataSource don't allow to download arbitrary urls
---

 Key: ARCHETYPE-161
 URL: http://jira.codehaus.org/browse/ARCHETYPE-161
 Project: Maven Archetype
  Issue Type: Bug
Reporter: Eugene Kuleshov


org.apache.maven.archetype.Archetype class has the following JavaDoc:

{noformat}
/**
 * Gives the catalog of archetypes located at the given url.
 * if the url doesn't define a catalog, then 'archetype-catalog.xml' is 
appended to it for search.
 * @param url the catalog url or base url containing the catalog file.
 * @return the catalog.
 */
ArchetypeCatalog getRemoteCatalog( String url );
{noformat}

However implementation of the 
org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.getArchetypeCatalog(..)
 method does not respect above contract and always assume that url is pointing 
to some folder that contains archetype-catalog.xml file.

This is very confusing and also prevent to publish multiple archetype catalogs 
in the same folder.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MINVOKER-31) Test failing because of system property

2008-04-17 Thread Olivier Lamy (JIRA)

 [ 
http://jira.codehaus.org/browse/MINVOKER-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy updated MINVOKER-31:
-

 Assignee: Olivier Lamy
Fix Version/s: 1.2

> Test failing because of system property
> ---
>
> Key: MINVOKER-31
> URL: http://jira.codehaus.org/browse/MINVOKER-31
> Project: Maven 2.x Invoker Plugin
>  Issue Type: Bug
> Environment: Linux, Maven 2.0.8
>Reporter: Paul Gier
>Assignee: Olivier Lamy
> Fix For: 1.2
>
> Attachments: MINVOKER-31-surefire-update.patch
>
>
> I'm getting a test failure like the following when I try to build the invoker 
> plugin:
> testSimpleRunValidate(org.apache.maven.plugin.invoker.InvokerMojoTest)  Time 
> elapsed: 0.139 sec  <<< ERROR!
> java.lang.IllegalStateException: Maven application directory was not 
> specified, and ${maven.home} is not provided in the system properties. Please 
> specify at least on of these.
>   at 
> org.apache.maven.shared.invoker.MavenCommandLineBuilder.checkRequiredState(MavenCommandLineBuilder.java:119)
>   at 
> org.apache.maven.shared.invoker.MavenCommandLineBuilder.build(MavenCommandLineBuilder.java:58)
> I tried setting "maven.home" from the command line, but it still gave the 
> same error.  For some reason the properties are not being passed to the junit 
> tests.
> Upgrading the version of surefire to 2.4.2 seems to fix the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (MINVOKER-31) Test failing because of system property

2008-04-17 Thread Olivier Lamy (JIRA)

 [ 
http://jira.codehaus.org/browse/MINVOKER-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MINVOKER-31.


Resolution: Fixed

fixed in rev 649291.
Thanks.


> Test failing because of system property
> ---
>
> Key: MINVOKER-31
> URL: http://jira.codehaus.org/browse/MINVOKER-31
> Project: Maven 2.x Invoker Plugin
>  Issue Type: Bug
> Environment: Linux, Maven 2.0.8
>Reporter: Paul Gier
>Assignee: Olivier Lamy
> Fix For: 1.2
>
> Attachments: MINVOKER-31-surefire-update.patch
>
>
> I'm getting a test failure like the following when I try to build the invoker 
> plugin:
> testSimpleRunValidate(org.apache.maven.plugin.invoker.InvokerMojoTest)  Time 
> elapsed: 0.139 sec  <<< ERROR!
> java.lang.IllegalStateException: Maven application directory was not 
> specified, and ${maven.home} is not provided in the system properties. Please 
> specify at least on of these.
>   at 
> org.apache.maven.shared.invoker.MavenCommandLineBuilder.checkRequiredState(MavenCommandLineBuilder.java:119)
>   at 
> org.apache.maven.shared.invoker.MavenCommandLineBuilder.build(MavenCommandLineBuilder.java:58)
> I tried setting "maven.home" from the command line, but it still gave the 
> same error.  For some reason the properties are not being passed to the junit 
> tests.
> Upgrading the version of surefire to 2.4.2 seems to fix the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MINVOKER-32) Exclude some files by default when using "cloneProjectsTo"

2008-04-17 Thread Paul Gier (JIRA)
Exclude some files by default when using "cloneProjectsTo"
--

 Key: MINVOKER-32
 URL: http://jira.codehaus.org/browse/MINVOKER-32
 Project: Maven 2.x Invoker Plugin
  Issue Type: Improvement
Reporter: Paul Gier
Priority: Minor


The plexus directory scanner has a set of default excludes that should be used 
when cloning the it projects directory.  This way things like the .svn 
directory will not be copied when cloning the projects directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MINVOKER-32) Exclude some files by default when using "cloneProjectsTo"

2008-04-17 Thread Paul Gier (JIRA)

 [ 
http://jira.codehaus.org/browse/MINVOKER-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Gier updated MINVOKER-32:
--

Attachment: MINVOKER-32-default-excludes.patch

> Exclude some files by default when using "cloneProjectsTo"
> --
>
> Key: MINVOKER-32
> URL: http://jira.codehaus.org/browse/MINVOKER-32
> Project: Maven 2.x Invoker Plugin
>  Issue Type: Improvement
>Reporter: Paul Gier
>Priority: Minor
> Attachments: MINVOKER-32-default-excludes.patch
>
>
> The plexus directory scanner has a set of default excludes that should be 
> used when cloning the it projects directory.  This way things like the .svn 
> directory will not be copied when cloning the projects directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MINVOKER-32) Exclude some files by default when using "cloneProjectsTo"

2008-04-17 Thread Olivier Lamy (JIRA)

[ 
http://jira.codehaus.org/browse/MINVOKER-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131179#action_131179
 ] 

Olivier Lamy commented on MINVOKER-32:
--

The patch looks fine.
You don't have commit rigths ? 

> Exclude some files by default when using "cloneProjectsTo"
> --
>
> Key: MINVOKER-32
> URL: http://jira.codehaus.org/browse/MINVOKER-32
> Project: Maven 2.x Invoker Plugin
>  Issue Type: Improvement
>Reporter: Paul Gier
>Priority: Minor
> Attachments: MINVOKER-32-default-excludes.patch
>
>
> The plexus directory scanner has a set of default excludes that should be 
> used when cloning the it projects directory.  This way things like the .svn 
> directory will not be copied when cloning the projects directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (SUREFIRE-484) Don't output empty tables

2008-04-17 Thread Benjamin Bentmann (JIRA)
Don't output empty tables
-

 Key: SUREFIRE-484
 URL: http://jira.codehaus.org/browse/SUREFIRE-484
 Project: Maven Surefire
  Issue Type: Improvement
  Components: report plugin
Affects Versions: 2.4.2
Reporter: Benjamin Bentmann
Priority: Minor


This makes creating a nice custom skin difficult:
{code:java}
private void sinkLineBreak( Sink sink )
{
sink.table();
sink.tableRow();
sink.tableRow_();
sink.tableRow();
sink.tableRow_();
sink.table_();
}
{code}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (SUREFIRE-484) Don't output empty tables

2008-04-17 Thread Benjamin Bentmann (JIRA)

 [ 
http://jira.codehaus.org/browse/SUREFIRE-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed SUREFIRE-484.
--

 Assignee: Benjamin Bentmann
   Resolution: Fixed
Fix Version/s: 2.5

Fixed in [r649316|http://svn.apache.org/viewvc?view=rev&revision=649316].

> Don't output empty tables
> -
>
> Key: SUREFIRE-484
> URL: http://jira.codehaus.org/browse/SUREFIRE-484
> Project: Maven Surefire
>  Issue Type: Improvement
>  Components: report plugin
>Affects Versions: 2.4.2
>Reporter: Benjamin Bentmann
>Assignee: Benjamin Bentmann
>Priority: Minor
> Fix For: 2.5
>
>
> This makes creating a nice custom skin difficult:
> {code:java}
> private void sinkLineBreak( Sink sink )
> {
> sink.table();
> sink.tableRow();
> sink.tableRow_();
> sink.tableRow();
> sink.tableRow_();
> sink.table_();
> }
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MINVOKER-32) Exclude some files by default when using "cloneProjectsTo"

2008-04-17 Thread Olivier Lamy (JIRA)

 [ 
http://jira.codehaus.org/browse/MINVOKER-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy updated MINVOKER-32:
-

 Assignee: Olivier Lamy
Fix Version/s: 1.2

> Exclude some files by default when using "cloneProjectsTo"
> --
>
> Key: MINVOKER-32
> URL: http://jira.codehaus.org/browse/MINVOKER-32
> Project: Maven 2.x Invoker Plugin
>  Issue Type: Improvement
>Reporter: Paul Gier
>Assignee: Olivier Lamy
>Priority: Minor
> Fix For: 1.2
>
> Attachments: MINVOKER-32-default-excludes.patch
>
>
> The plexus directory scanner has a set of default excludes that should be 
> used when cloning the it projects directory.  This way things like the .svn 
> directory will not be copied when cloning the projects directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MINVOKER-32) Exclude some files by default when using "cloneProjectsTo"

2008-04-17 Thread Olivier Lamy (JIRA)

[ 
http://jira.codehaus.org/browse/MINVOKER-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131186#action_131186
 ] 

Olivier Lamy commented on MINVOKER-32:
--

fixed in rev 649323.
Thanks

> Exclude some files by default when using "cloneProjectsTo"
> --
>
> Key: MINVOKER-32
> URL: http://jira.codehaus.org/browse/MINVOKER-32
> Project: Maven 2.x Invoker Plugin
>  Issue Type: Improvement
>Reporter: Paul Gier
>Assignee: Olivier Lamy
>Priority: Minor
> Fix For: 1.2
>
> Attachments: MINVOKER-32-default-excludes.patch
>
>
> The plexus directory scanner has a set of default excludes that should be 
> used when cloning the it projects directory.  This way things like the .svn 
> directory will not be copied when cloning the projects directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (MINVOKER-32) Exclude some files by default when using "cloneProjectsTo"

2008-04-17 Thread Olivier Lamy (JIRA)

 [ 
http://jira.codehaus.org/browse/MINVOKER-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MINVOKER-32.


Resolution: Fixed

> Exclude some files by default when using "cloneProjectsTo"
> --
>
> Key: MINVOKER-32
> URL: http://jira.codehaus.org/browse/MINVOKER-32
> Project: Maven 2.x Invoker Plugin
>  Issue Type: Improvement
>Reporter: Paul Gier
>Assignee: Olivier Lamy
>Priority: Minor
> Fix For: 1.2
>
> Attachments: MINVOKER-32-default-excludes.patch
>
>
> The plexus directory scanner has a set of default excludes that should be 
> used when cloning the it projects directory.  This way things like the .svn 
> directory will not be copied when cloning the projects directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (MNG-3482) merging managed dependencies happens before managed-dependency versions are interpolated

2008-04-17 Thread John Casey (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Casey closed MNG-3482.
---

   Resolution: Fixed
Fix Version/s: 2.1-alpha-1
   2.0.10

integration test is in place.

> merging managed dependencies happens before managed-dependency versions are 
> interpolated
> 
>
> Key: MNG-3482
> URL: http://jira.codehaus.org/browse/MNG-3482
> Project: Maven 2
>  Issue Type: Bug
>  Components: POM
>Affects Versions: 2.0.9, 2.1-alpha-1
>Reporter: John Casey
>Assignee: John Casey
> Fix For: 2.0.10, 2.1-alpha-1
>
>
> mergeManagedDependencies(..) happens ahead of processProjectLogic(..) inside 
> the DefaultMavenProjectBuilder.buildInternal(..) method. This means that, if 
> the current POM specifies an expression for one of  the managed dependencies 
> that have scope == import, the artifact resolver will fail to resolve the 
> managed dependency with an uninterpolated version.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (WAGON-109) Refactor Wagon HTTP and Wagon WebDav

2008-04-17 Thread James William Dumay (JIRA)

[ 
http://jira.codehaus.org/browse/WAGON-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131190#action_131190
 ] 

James William Dumay commented on WAGON-109:
---

Current dependency tree looks like this

[INFO] [dependency:tree]
[INFO] org.apache.maven.wagon:wagon-webdav:jar:1.0-rc1-SNAPSHOT
[INFO] +- org.apache.jackrabbit:jackrabbit-webdav:jar:1.4:compile
[INFO] |  +- org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.4:compile
[INFO] |  +- commons-collections:commons-collections:jar:3.1:compile
[INFO] |  \- xerces:xercesImpl:jar:2.8.1:compile
[INFO] | \- xml-apis:xml-apis:jar:1.3.03:compile
[INFO] +- org.apache.maven.wagon:wagon-http-shared:jar:1.0-rc1-SNAPSHOT:compile
[INFO] |  \- jtidy:jtidy:jar:4aug2000r7-dev:compile
[INFO] +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] |  +- commons-logging:commons-logging:jar:1.0.4:compile
[INFO] |  \- commons-codec:commons-codec:jar:1.2:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.3.0:runtime (scope not updated to compile)
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.3.0:runtime
[INFO] |  \- log4j:log4j:jar:1.2.13:runtime
[INFO] +- org.codehaus.plexus:plexus-utils:jar:1.4.2:compile
[INFO] +- it.could:webdav:jar:0.4:test
[INFO] |  \- javax.servlet:servlet-api:jar:2.3:test
[INFO] +- org.mortbay.jetty:jetty:jar:4.2.12:test
[INFO] +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-rc1-SNAPSHOT:compile
[INFO] +- org.apache.maven.wagon:wagon-provider-test:jar:1.0-rc1-SNAPSHOT:test
[INFO] |  \- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:test
[INFO] | \- classworlds:classworlds:jar:1.1-alpha-2:test
[INFO] \- junit:junit:jar:3.8.1:test

Will slf4j need shading?

> Refactor Wagon HTTP and Wagon WebDav
> 
>
> Key: WAGON-109
> URL: http://jira.codehaus.org/browse/WAGON-109
> Project: wagon
>  Issue Type: Improvement
>  Components: wagon-http, wagon-webdav
>Reporter: James William Dumay
> Attachments: webdav-http-dav-refactor.patch, 
> webdav-http-dav-refactor.patch, webdav-http-dav-refactor.patch
>
>
> This patch includes the following:
> * Webdav wagon is now using Jackrabbits webdav client implementation over the 
> Apache Slide client library (now defunct)
> * Inclusion of a commons HttpClient abstract wagon for code reuse between 
> Wagon Http and Wagon Dav.
> * Improved consistency of http parameters across Wagon HTTP and Wagon Webdav 
> methods

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (WAGON-109) Refactor Wagon HTTP and Wagon WebDav

2008-04-17 Thread Brett Porter (JIRA)

[ 
http://jira.codehaus.org/browse/WAGON-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131195#action_131195
 ] 

Brett Porter commented on WAGON-109:


that is quite a lot of dependencies. I think slf4j-log4j12/slf4j-api can be 
test if they aren't needed at runtime?

we probably want to exclude commons-logging too?

The user of the library (eg, maven core) can take care of the shading I think. 
I was planning to take that back out of the wagon build.

> Refactor Wagon HTTP and Wagon WebDav
> 
>
> Key: WAGON-109
> URL: http://jira.codehaus.org/browse/WAGON-109
> Project: wagon
>  Issue Type: Improvement
>  Components: wagon-http, wagon-webdav
>Reporter: James William Dumay
> Attachments: webdav-http-dav-refactor.patch, 
> webdav-http-dav-refactor.patch, webdav-http-dav-refactor.patch
>
>
> This patch includes the following:
> * Webdav wagon is now using Jackrabbits webdav client implementation over the 
> Apache Slide client library (now defunct)
> * Inclusion of a commons HttpClient abstract wagon for code reuse between 
> Wagon Http and Wagon Dav.
> * Improved consistency of http parameters across Wagon HTTP and Wagon Webdav 
> methods

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (MASSEMBLY-311) Empty outputFileNameMapping creates zip entries with no name

2008-04-17 Thread Dirk Olmes (JIRA)

 [ 
http://jira.codehaus.org/browse/MASSEMBLY-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dirk Olmes closed MASSEMBLY-311.


   Resolution: Fixed
Fix Version/s: 2.2-beta-2

John, thanks for the tip, it works :-)

> Empty outputFileNameMapping creates zip entries with no name
> 
>
> Key: MASSEMBLY-311
> URL: http://jira.codehaus.org/browse/MASSEMBLY-311
> Project: Maven 2.x Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 2.2-beta-2
> Environment: Maven 2.0.9
>Reporter: Dirk Olmes
>Priority: Trivial
> Fix For: 2.2-beta-2
>
> Attachments: assembly-with-system-dependency.zip
>
>
> I'm working on a project that has system dependencies. I want to package 
> those dependencies with their original name into the assembly (i.e. use the 
> same name of the JAR as in the system path).
> Leaving the outputFileNameMapping in the assembly descriptor's dependencySet 
> creates ZipEntries in the resulting zip file but those don't have a name. 
> Example:
> {code}
> unzip -qql target/assembly.zip
>   0  04-16-08 16:20   assembly/
> 2205737  04-07-08 18:23   assembly/lib/
>2621  04-16-08 16:20   assembly/lib/
> {code}
> Note the second line ...
> I have attached a sample project that uses Maven's uber Jar as system scope 
> dependency. Run the test with mvn -DMAVEN_HOME= package assembly:assembly 
> to create the zip.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (WAGON-110) Support directory operations sanely.

2008-04-17 Thread Luke Daley (JIRA)
Support directory operations sanely.


 Key: WAGON-110
 URL: http://jira.codehaus.org/browse/WAGON-110
 Project: wagon
  Issue Type: Improvement
  Components: wagon-provider-api
Reporter: Luke Daley


The {{Wagon}} provider API is confused for directory operations. To simplify, I 
propose a new interface be created (e.g. {{DirectoryWagon}}) that wagons can 
implement...

{code}
bool isDirectory(String path) throws TransferFailedException, 
ResourceDoesNotExistException, AuthorizationException;
String[] getFileList(String path) throws TransferFailedException, 
ResourceDoesNotExistException, AuthorizationException;
void mkdir(String path) throws TransferFailedException, 
ResourceDoesNotExistException, AuthorizationException;
void mkdirs(String path) throw throws TransferFailedException, 
ResourceDoesNotExistException, AuthorizationException;
{code}

This would also require removing all directory related methods from the 
{{Wagon}} interface. The {{AbstractWagon}} implementation could _transparently_ 
use the primitives from the {{DirectoryWagon}} interface (if implemented) to 
handle directory operations. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MRM-781) Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav

2008-04-17 Thread Brett Porter (JIRA)

[ 
http://jira.codehaus.org/browse/MRM-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131197#action_131197
 ] 

Brett Porter commented on MRM-781:
--

some matters of style for future patches:
- match current formatting
- we don't tend to use final parameters
- we don't tend to use * imports

> Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
> --
>
> Key: MRM-781
> URL: http://jira.codehaus.org/browse/MRM-781
> Project: Archiva
>  Issue Type: Improvement
>  Components: WebDAV interface
>Affects Versions: 1.1
>Reporter: James William Dumay
>Assignee: Brett Porter
> Attachments: archiva-jackrabbit-webdav.patch, 
> archiva-jackrabbit-webdav.patch, archiva-jackrabbit-webdav.patch
>
>
> This patch removes plexus-webdav in favor of Jackrabbit's webdav servlet 
> implementation. It is not yet 100% completed and tested. HTTP GET and PUT 
> should work correctly.
> The following needs to happen before integration:
> 1) New Jackrabbit classes need to be correctly unit tested.
> 2) Webdav properties need to be implemented
> 3) Testing of common webdav clients - Mac OS X, Windows, Wagon-Dav, etc

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MNG-3524) Profile to be activated when file is missing is always activated

2008-04-17 Thread Adrian Hempel, Atlassian (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131200#action_131200
 ] 

Adrian Hempel, Atlassian commented on MNG-3524:
---

Oh dear... reporters can't edit issues.

The description should read:

   "even when the ${project.build.directory}/built file is present"

> Profile to be activated when file is missing is always activated
> 
>
> Key: MNG-3524
> URL: http://jira.codehaus.org/browse/MNG-3524
> Project: Maven 2
>  Issue Type: Bug
>  Components: Profiles
>Affects Versions: 2.0.9
>Reporter: Adrian Hempel, Atlassian
> Attachments: pom.xml
>
>
> When I run "mvn integration-test" with the attached pom.xml, the antrun:run 
> goal is always executed, even when the 
> ${project.build.directory}/target/build file is present.
> I would expect that the  element would ensure that the profile 
> containing the antrun:run goal would only be activated when that file is 
> missing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MDEP-163) Unpacking Artifacts : site usage example does not work.

2008-04-17 Thread Andrew Hughes (JIRA)
Unpacking Artifacts : site usage example does not work.
---

 Key: MDEP-163
 URL: http://jira.codehaus.org/browse/MDEP-163
 Project: Maven 2.x Dependency Plugin
  Issue Type: Bug
  Components: unpack
Affects Versions: 2.0
 Environment: 
http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html
Reporter: Andrew Hughes
Assignee: Brian Fox


I've taken the dependency:unpack example on 
http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html
 (below) and it does now work (complete pom for you to test on the bottom if 
you dare).

{noformat}
 
   [...]
   

  
 org.apache.maven.plugins
 maven-dependency-plugin
 
   
 unpack
 package
 
   unpack
 
 
   
 
   junit
   junit
   3.8.1
   jar
   false
   
${project.build.directory}/alternateLocation
   optional-new-name.jar
   **/*.class,**/*.xml
   **/*test.class
 
   
   **/*.java
   **/*.properties
   
${project.build.directory}/wars
   false
   true
 
   
 
   
 
   
   [...]
 
{noformat}

The error I get is...
{noformat}
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] One or more required plugin parameters are invalid/missing for 
'dependency:unpack'

[0] inside the definition for plugin: 'maven-dependency-plugin'specify the 
following:


  ...
  VALUE
.

[INFO] 
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: 
org.apache.maven.plugins:maven-dependency-plugin. Reason: Invalid or missing 
parameters: [Mojo parameter [name: 'artifactItems'; alias: 'null']] for mojo: 
org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:568)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.PluginParameterException: Error configuring: 
org.apache.maven.plugins:maven-dependency-plugin. Reason: Invalid or missing 
parameters: [Mojo parameter [name: 'artifactItems'; alias: 'null']] for mojo: 
org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack
at 
org.apache.maven.plugin.DefaultPluginManager.checkRequiredParameters(DefaultPluginManager.java:907)
at 
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:612)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:421)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
[INFO] 
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Apr 18 14:05:51 CST 2008
[INFO] Final Memory: 12M/132M
[INFO] 
{noformat}

Complete pom, cut/paste/save and run 'mvn dependency:unpack' to see err

[jira] Commented: (MDEP-163) Unpacking Artifacts : site usage example does not work.

2008-04-17 Thread Andrew Hughes (JIRA)

[ 
http://jira.codehaus.org/browse/MDEP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131201#action_131201
 ] 

Andrew Hughes commented on MDEP-163:


Seems as tho this is because these goals are not meant to be run on the cli. 
They are supposed to be bound and run to a phase... like "mvn package". I don't 
know if this means I should look at a patch that throws a little more sensible 
exception message?

> Unpacking Artifacts : site usage example does not work.
> ---
>
> Key: MDEP-163
> URL: http://jira.codehaus.org/browse/MDEP-163
> Project: Maven 2.x Dependency Plugin
>  Issue Type: Bug
>  Components: unpack
>Affects Versions: 2.0
> Environment: 
> http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html
>Reporter: Andrew Hughes
>Assignee: Brian Fox
>
> I've taken the dependency:unpack example on 
> http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html
>  (below) and it does now work (complete pom for you to test on the bottom if 
> you dare).
> {noformat}
>  
>[...]
>
> 
>   
>  org.apache.maven.plugins
>  maven-dependency-plugin
>  
>
>  unpack
>  package
>  
>unpack
>  
>  
>
>  
>junit
>junit
>3.8.1
>jar
>false
>
> ${project.build.directory}/alternateLocation
>optional-new-name.jar
>**/*.class,**/*.xml
>**/*test.class
>  
>
>**/*.java
>**/*.properties
>
> ${project.build.directory}/wars
>false
>true
>  
>
>  
>
>  
>
>[...]
>  
> {noformat}
> The error I get is...
> {noformat}
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] One or more required plugin parameters are invalid/missing for 
> 'dependency:unpack'
> [0] inside the definition for plugin: 'maven-dependency-plugin'specify the 
> following:
> 
>   ...
>   VALUE
> .
> [INFO] 
> 
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: 
> org.apache.maven.plugins:maven-dependency-plugin. Reason: Invalid or missing 
> parameters: [Mojo parameter [name: 'artifactItems'; alias: 'null']] for mojo: 
> org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:568)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.PluginParameterException: Error 
> configuring: org.apache.maven.plugins:maven-dependency-plugin. Reason: 
> Invalid or missing parameters: [Mojo parameter [name: 'artifactItems'; alias: 
> 'null']] for mojo: org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack
> at 
> org.apache.maven.plugin.DefaultPluginManager.checkRequiredParameters(Def

[jira] Reopened: (MRELEASE-337) generated command line must remove newLine characters

2008-04-17 Thread nicolas de loof (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof reopened MRELEASE-337:
--


Will fix this ASAP.
thanks for reporting...

> generated command line must remove newLine characters
> -
>
> Key: MRELEASE-337
> URL: http://jira.codehaus.org/browse/MRELEASE-337
> Project: Maven 2.x Release Plugin
>  Issue Type: Bug
>Affects Versions: 2.0-beta-8
>Reporter: nicolas de loof
>Assignee: nicolas de loof
> Fix For: 2.0-beta-8
>
>
> When using an XML editor with formating support, a long goal list (including 
> custom plugins with com.mycompany.groupId:plugin:goal) MAY be splitted into 
> multiple lines.
> The release:perform executed command line does not remove such new lines 
> characters, and some options / goals are not passed to the mvn instance

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MDEP-163) Unpacking Artifacts : site usage example does not work.

2008-04-17 Thread Andrew Hughes (JIRA)

[ 
http://jira.codehaus.org/browse/MDEP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131210#action_131210
 ] 

Andrew Hughes commented on MDEP-163:


Bugger, I don't have access to 'edit' this issue and change it from bug to 
improvement. Sorry.

> Unpacking Artifacts : site usage example does not work.
> ---
>
> Key: MDEP-163
> URL: http://jira.codehaus.org/browse/MDEP-163
> Project: Maven 2.x Dependency Plugin
>  Issue Type: Bug
>  Components: unpack
>Affects Versions: 2.0
> Environment: 
> http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html
>Reporter: Andrew Hughes
>Assignee: Brian Fox
>
> I've taken the dependency:unpack example on 
> http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html
>  (below) and it does now work (complete pom for you to test on the bottom if 
> you dare).
> {noformat}
>  
>[...]
>
> 
>   
>  org.apache.maven.plugins
>  maven-dependency-plugin
>  
>
>  unpack
>  package
>  
>unpack
>  
>  
>
>  
>junit
>junit
>3.8.1
>jar
>false
>
> ${project.build.directory}/alternateLocation
>optional-new-name.jar
>**/*.class,**/*.xml
>**/*test.class
>  
>
>**/*.java
>**/*.properties
>
> ${project.build.directory}/wars
>false
>true
>  
>
>  
>
>  
>
>[...]
>  
> {noformat}
> The error I get is...
> {noformat}
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] One or more required plugin parameters are invalid/missing for 
> 'dependency:unpack'
> [0] inside the definition for plugin: 'maven-dependency-plugin'specify the 
> following:
> 
>   ...
>   VALUE
> .
> [INFO] 
> 
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: 
> org.apache.maven.plugins:maven-dependency-plugin. Reason: Invalid or missing 
> parameters: [Mojo parameter [name: 'artifactItems'; alias: 'null']] for mojo: 
> org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:568)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.PluginParameterException: Error 
> configuring: org.apache.maven.plugins:maven-dependency-plugin. Reason: 
> Invalid or missing parameters: [Mojo parameter [name: 'artifactItems'; alias: 
> 'null']] for mojo: org.apache.maven.plugins:maven-dependency-plugin:2.0:unpack
> at 
> org.apache.maven.plugin.DefaultPluginManager.checkRequiredParameters(DefaultPluginManager.java:907)
> at 
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:612)
> at 
> org.apac

[jira] Closed: (MRELEASE-337) generated command line must remove newLine characters

2008-04-17 Thread nicolas de loof (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof closed MRELEASE-337.


Resolution: Fixed

fixed in 2.0-beta-8-20080418.064928-4

> generated command line must remove newLine characters
> -
>
> Key: MRELEASE-337
> URL: http://jira.codehaus.org/browse/MRELEASE-337
> Project: Maven 2.x Release Plugin
>  Issue Type: Bug
>Affects Versions: 2.0-beta-8
>Reporter: nicolas de loof
>Assignee: nicolas de loof
> Fix For: 2.0-beta-8
>
>
> When using an XML editor with formating support, a long goal list (including 
> custom plugins with com.mycompany.groupId:plugin:goal) MAY be splitted into 
> multiple lines.
> The release:perform executed command line does not remove such new lines 
> characters, and some options / goals are not passed to the mvn instance

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira