[jira] Commented: (MSHADE-30) duplicate entry error

2009-01-24 Thread Benjamin Bentmann (JIRA)

[ 
http://jira.codehaus.org/browse/MSHADE-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162288#action_162288
 ] 

Benjamin Bentmann commented on MSHADE-30:
-

bq. [...] if you run it for the entire structure, it errs with the same thing.
Yeah, another known issue: MNG-3284

 duplicate entry error
 -

 Key: MSHADE-30
 URL: http://jira.codehaus.org/browse/MSHADE-30
 Project: Maven 2.x Shade Plugin
  Issue Type: Bug
Affects Versions: 1.0.1
Reporter: Michael Mattox
Assignee: Benjamin Bentmann
 Fix For: 1.2

 Attachments: mshade-30-patch.txt


 I receive this error:
 Embedded error: duplicate entry: org/apache/xmlbeans/FilterXmlObject.class
 It started with a javax.xml.namespace class.  So I started putting excludes, 
 and then I kept getting one new class after another.  If I exclude everything 
 then I doubt my application is going to work.
 I really don't understand this error.  I have never seen this type of error 
 with the fatjar eclipse plugin.  I understand it's complaining about having 
 the same class twice, but if it's not a problem for my eclipse project or the 
 maven build, why is it a problem for shade?
 I feel the shade plugin should be able to handle this gracefully.

-- 
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: (DOXIA-277) Specify the language identification

2009-01-24 Thread Dennis Lundberg (JIRA)

[ 
http://jira.codehaus.org/browse/DOXIA-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162293#action_162293
 ] 

Dennis Lundberg commented on DOXIA-277:
---

The language identification needs to be dynamic to work properly, and I'm not 
sure it will even work with that.

Example 1
A Maven generated site with multiple languages
Doxia needs to be told which language the pages are in. For each of the 
non-default languages there should be no problem, because the docs are in a 
directory named after the language id.

Example 2
A Maven generated site in a single language - not English. We have company 
internal documentation in Swedish only.
How does Doxia know which language it is in? It is not mentioned in the 
document sources.


 Specify the language identification
 ---

 Key: DOXIA-277
 URL: http://jira.codehaus.org/browse/DOXIA-277
 Project: Maven Doxia
  Issue Type: Improvement
  Components: Module - Xhtml
Affects Versions: 1.1
Reporter: Vincent Siveton

 Actually, the sink generates:
 {noformat}
 html xmlns=http://www.w3.org/1999/xhtml;
 {noformat}
 We need to add the language identification i.e.
 {noformat}
 html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
 {noformat}

-- 
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-3271) excludeDefaults does not seem to work

2009-01-24 Thread Benjamin Bentmann (JIRA)

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

Benjamin Bentmann closed MNG-3271.
--

 Assignee: Benjamin Bentmann
   Resolution: Fixed
Fix Version/s: (was: 2.0.x)
   2.1.0-M2
   2.0.10

Fixed by Brett in 
[r705567|http://svn.eu.apache.org/viewvc?view=revrevision=705567] and 
[r705574|http://svn.eu.apache.org/viewvc?view=revrevision=705574], 
respectively.

 excludeDefaults does not seem to work
 ---

 Key: MNG-3271
 URL: http://jira.codehaus.org/browse/MNG-3271
 Project: Maven 2
  Issue Type: Bug
  Components: POM
Affects Versions: 2.0.7
Reporter: Grégory Joseph
Assignee: Benjamin Bentmann
 Fix For: 2.0.10, 2.1.0-M2


 As far as I understand, adding
 excludeDefaultstrue/excludeDefaults
 in the  reporting  section of my pom should have the same effect as
 {code}
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-project-info-reports-plugin/artifactId
 reportSets
 reportSet/reportSet
 /reportSets
 /plugin
 {code}
 ... but only that latter had any effect.
 (I was mainly trying to disable the dependencies report, because I have many 
 dependencies build with m1 which don't have a proper m2 pom)

-- 
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-44) Add uniqueVersion parameter to deploy goal as deploy-file goal

2009-01-24 Thread JIRA

[ 
http://jira.codehaus.org/browse/MDEPLOY-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162310#action_162310
 ] 

Thorsten Möller commented on MDEPLOY-44:


The proposed workaround by Kalle Korhonen does not work for me either (using 
Maven 2.0.9 and deploy plugin 2.4).

I really appreciate if this issue would be fixed!

Thanks,
Thorsten

 Add uniqueVersion parameter to deploy goal as deploy-file goal
 --

 Key: MDEPLOY-44
 URL: http://jira.codehaus.org/browse/MDEPLOY-44
 Project: Maven 2.x Deploy Plugin
  Issue Type: Improvement
Affects Versions: 2.2.1
 Environment: Maven 2.0.4
Reporter: David Vicente

 We developp a big application which we deploy in our local repository with 
 deploy goal.
 But deploy goal use a timestamp to name the archive file and we have many 
 problems of disk space that obliges us to clean manually our local repository.
 it's possible to add the uniqueVersion parameter to deploy goal as done with 
 deploy-file goal which would remove us the obligation to purge ?
 thanks

-- 
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: (MDEPLOY-93) Deploy plugin does not honor modification of final name by assembly plugin

2009-01-24 Thread JIRA
Deploy plugin does not honor modification of final name by assembly plugin
--

 Key: MDEPLOY-93
 URL: http://jira.codehaus.org/browse/MDEPLOY-93
 Project: Maven 2.x Deploy Plugin
  Issue Type: Bug
Affects Versions: 2.4
Reporter: Thorsten Möller


When using the Maven assembly plugin to create an assembly for a project and 
using fileName parameter inside the plugin to change the final name of the 
assembly this new name will not be used by the deploy plugin. The deploy plugin 
always uses the default behavior. The following excerpt from a POM illustrates 
this:

groupIdmyGoupID/groupId
artifactIdmyArtifactID/artifactId
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
configuration
descriptors

descriptorsrc/main/assembly/bin.xml/descriptor
/descriptors
appendAssemblyIdfalse/appendAssemblyId
finalNamefoo/finalName
tarLongFileModegnu/tarLongFileMode
/configuration
executions
execution
idminimal/id
phasepackage/phase
goals
goalsingle/goal
/goals
/execution
/executions
/plugin
/plugins
/build

With this configuration an assembly named foo.{tar.gz|zip} will be created in 
the target folder of the project (note that the artifact is attached because 
the assembly plugin is attached to the package lifecycle phase). However, when 
deploying the project file to the distribution repository it will be named 
myArtifactId.{tar.gz|zip}, which is the default behavior if finalName is 
not specified. Interesting is that in the local repository the file name always 
corresponds to what is specified by fileName, just for the distribution 
repository the parameter is not honored.

BTW, the other parameter appendAssemblyId is honored correctly, i.e,  
depending on the boolean value the assembly Id will be appended to the name, or 
not.



-- 
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-93) Deploy plugin does not honor modification of final name by assembly plugin

2009-01-24 Thread JIRA

[ 
http://jira.codehaus.org/browse/MDEPLOY-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162312#action_162312
 ] 

Thorsten Möller commented on MDEPLOY-93:


I forgot to mention that the bug was observed when using Maven 2.0.9, assembly 
plugin 2.2-beta-3, and deploy plugin 2.4.

 Deploy plugin does not honor modification of final name by assembly plugin
 --

 Key: MDEPLOY-93
 URL: http://jira.codehaus.org/browse/MDEPLOY-93
 Project: Maven 2.x Deploy Plugin
  Issue Type: Bug
Affects Versions: 2.4
Reporter: Thorsten Möller

 When using the Maven assembly plugin to create an assembly for a project and 
 using fileName parameter inside the plugin to change the final name of the 
 assembly this new name will not be used by the deploy plugin. The deploy 
 plugin always uses the default behavior. The following excerpt from a POM 
 illustrates this:
 groupIdmyGoupID/groupId
 artifactIdmyArtifactID/artifactId
 build
   plugins
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-assembly-plugin/artifactId
   configuration
   descriptors
   
 descriptorsrc/main/assembly/bin.xml/descriptor
   /descriptors
   appendAssemblyIdfalse/appendAssemblyId
   finalNamefoo/finalName
   tarLongFileModegnu/tarLongFileMode
   /configuration
   executions
   execution
   idminimal/id
   phasepackage/phase
   goals
   goalsingle/goal
   /goals
   /execution
   /executions
   /plugin
   /plugins
 /build
 With this configuration an assembly named foo.{tar.gz|zip} will be created 
 in the target folder of the project (note that the artifact is attached 
 because the assembly plugin is attached to the package lifecycle phase). 
 However, when deploying the project file to the distribution repository it 
 will be named myArtifactId.{tar.gz|zip}, which is the default behavior if 
 finalName is not specified. Interesting is that in the local repository the 
 file name always corresponds to what is specified by fileName, just for the 
 distribution repository the parameter is not honored.
 BTW, the other parameter appendAssemblyId is honored correctly, i.e,  
 depending on the boolean value the assembly Id will be appended to the name, 
 or not.

-- 
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: (DOXIA-277) Specify the language identification

2009-01-24 Thread Vincent Siveton (JIRA)

[ 
http://jira.codehaus.org/browse/DOXIA-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162313#action_162313
 ] 

Vincent Siveton commented on DOXIA-277:
---

The Doxia API (forget the Maven integration) misses this feature in xdoc, 
docbook and xhtml

Yes it should be dynamic, I imagine this integration with Maven:
- the Maven site plugin allows i18n by directories and with 
site.xml/site_LANG.xml using the _locales_ parameter. The default language id 
could be the default locale language for the default site, and the locale 
language from the language dir. So, you could defined localesse/locales and 
all your documents in the default site will be tagged as Swedish.
- known limitation: in a given site (default or i18n dir) you *should* have the 
same language in all documents inside.


 Specify the language identification
 ---

 Key: DOXIA-277
 URL: http://jira.codehaus.org/browse/DOXIA-277
 Project: Maven Doxia
  Issue Type: Improvement
  Components: Module - Xhtml
Affects Versions: 1.1
Reporter: Vincent Siveton

 Actually, the sink generates:
 {noformat}
 html xmlns=http://www.w3.org/1999/xhtml;
 {noformat}
 We need to add the language identification i.e.
 {noformat}
 html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
 {noformat}

-- 
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: (MDEPLOY-44) Add uniqueVersion parameter to deploy goal as deploy-file goal

2009-01-24 Thread Benjamin Bentmann (JIRA)

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

Benjamin Bentmann updated MDEPLOY-44:
-

Attachment: MDEPLOY-44.zip

The approach described by Kalle is not a workaround but the primary means to 
control the snapshot naming. The attached demo project works for me. 

The only pitfall I could imagine here is that people have a dedicated 
{{snapshotRepository}} configured in their POM but set the 
{{uniqueVersion}} flag on the {{repository}} element instead of 
{{snapshotRepository}}.

bq. But, it'd be very useful if you could override uniqueVersion setting from 
the command line.
That's already possible via a profile that overrides {{snapshotRepository}}.

Please provide more details (debug log, demo project) if the usage of 
{{uniqueVersionfalse/uniqueVersion}} really does not work.

 Add uniqueVersion parameter to deploy goal as deploy-file goal
 --

 Key: MDEPLOY-44
 URL: http://jira.codehaus.org/browse/MDEPLOY-44
 Project: Maven 2.x Deploy Plugin
  Issue Type: Improvement
Affects Versions: 2.2.1
 Environment: Maven 2.0.4
Reporter: David Vicente
 Attachments: MDEPLOY-44.zip


 We developp a big application which we deploy in our local repository with 
 deploy goal.
 But deploy goal use a timestamp to name the archive file and we have many 
 problems of disk space that obliges us to clean manually our local repository.
 it's possible to add the uniqueVersion parameter to deploy goal as done with 
 deploy-file goal which would remove us the obligation to purge ?
 thanks

-- 
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: (MDEPLOY-44) Add uniqueVersion parameter to deploy goal as deploy-file goal

2009-01-24 Thread Benjamin Bentmann (JIRA)

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

Benjamin Bentmann closed MDEPLOY-44.


  Assignee: Benjamin Bentmann
Resolution: Won't Fix

 Add uniqueVersion parameter to deploy goal as deploy-file goal
 --

 Key: MDEPLOY-44
 URL: http://jira.codehaus.org/browse/MDEPLOY-44
 Project: Maven 2.x Deploy Plugin
  Issue Type: Improvement
Affects Versions: 2.2.1
 Environment: Maven 2.0.4
Reporter: David Vicente
Assignee: Benjamin Bentmann
 Attachments: MDEPLOY-44.zip


 We developp a big application which we deploy in our local repository with 
 deploy goal.
 But deploy goal use a timestamp to name the archive file and we have many 
 problems of disk space that obliges us to clean manually our local repository.
 it's possible to add the uniqueVersion parameter to deploy goal as done with 
 deploy-file goal which would remove us the obligation to purge ?
 thanks

-- 
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: (MSITE-378) Support polymorphism for menu inheritance

2009-01-24 Thread JIRA
Support polymorphism for menu inheritance
-

 Key: MSITE-378
 URL: http://jira.codehaus.org/browse/MSITE-378
 Project: Maven 2.x Site Plugin
  Issue Type: New Feature
  Components: inheritance
Affects Versions: 2.0-beta-7
Reporter: Thorsten Möller


Inheritance of menus in an multimodule project environment does not work as 
intuitively expected (as in OO languages). The following excerpts try to 
illustrate this. Assume there is a root project R that has one module (project) 
S. Both contain a site descriptor. Let the site descriptor for R be as follows:

{code:xml}
project name=${project.name}

!-- ... --

body
menu name=Main
item name=Introduction href=/index.html /
item name=News href=/news.html /
item name=Overwrite href=/documentation.html /
/menu
/body

!-- ... --

/project
{code}


And let the site descriptor for S be:

{code:xml}
project name=${project.name}

!-- ... --

body
menu name=Main
item name=Introduction href=/index.html /
item name=Overwrite href=/overwrite.html /
item name=Added href=/added.html /
/menu
/body

!-- ... --

/project
{code}

As I'm used to the way inheritance and polymorphism are defined in OO languages 
such as Java, I would expect the following properties for the Main menu in S:
- item Introduction is overwritten in S but refers to the same index.html 
file; of course, its path is relative to start directory of S
- item News is missing for S but will be inherited from R, thus, it will be 
rendered to the site as in R
- item Overwrite is overwritten in S and refers now to overwrite.html 
(instead of documentation.html as in R)
- item Added is new in S, thus, it will be rendered to the site in addition

Unfortunately, with the current implementation of the site plugin inheritance 
is as follows:
- Main menu of R is inherited by S as-is, that is, all changes made to the 
menu in S are not visible/rendered to the site.

I would like to propose to implement polymorphism regarding menu inheritance as 
described above. In addition, I would like to propose a new boolean parameter 
inherited (or inherit) that can be added to menu items. Its semantics would 
be equivalent to the inherited tag in pom.xml. In the following one example 
for R:

{code:xml}
project name=${project.name}

!-- ... --

body
menu name=Main
item name=Introduction href=/index.html /
item name=News 1 href=/news1.html  
inherited=false/
item name=News 2 href=/news2.html  
inherited=true/
item name=Overwrite href=/documentation.html /
/menu
/body

!-- ... --

/project
{code}

With this example only menu item News 2 would appear in S because its 
inheritance is not disabled, while menu item News 1 appears only in R and not 
in S because its inheritance was disabled (false). The default if the parameter 
is missing should be true.

Btw, the same extension should be made to the menu ...  tag to allow to 
enable or disable inheritance of menus entirely.

Regards,
Thorsten



-- 
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: (MSITE-378) Support polymorphism for menu inheritance

2009-01-24 Thread Mark Struberg (JIRA)

[ 
http://jira.codehaus.org/browse/MSITE-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162324#action_162324
 ] 

Mark Struberg commented on MSITE-378:
-

There was such a functionality in a very rudimentary form in  beta-6 already, 
but it did not work properly.

{noformat}
Site descriptors are inherited along the same lines as project descriptors are. 
When you deploy a project, its site descriptor is also deployed so that it can 
be inherited.

By default, only the basic settings are inherited. From the body, only the 
links are inherited, and these accumulate to contain all the parents' site 
descriptor links.

However, it is possible to inherit menus as well. To do so, use the inherit 
attribute in the site descriptor. This can be either top or bottom , indicating 
where in the menu it will be placed after inheritance. For example:
{noformat}
See 
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html 
for more information

This has lead to menu items in sub menus which are not intended because even if 
you inherit  a menu entry to news1.html,  where does the page come from?

I am cured from this weird behaviour since I use beta-7 now.  

To only inherit menu items is simply not enough sadly...

 Support polymorphism for menu inheritance
 -

 Key: MSITE-378
 URL: http://jira.codehaus.org/browse/MSITE-378
 Project: Maven 2.x Site Plugin
  Issue Type: New Feature
  Components: inheritance
Affects Versions: 2.0-beta-7
Reporter: Thorsten Möller

 Inheritance of menus in an multimodule project environment does not work as 
 intuitively expected (as in OO languages). The following excerpts try to 
 illustrate this. Assume there is a root project R that has one module 
 (project) S. Both contain a site descriptor. Let the site descriptor for R be 
 as follows:
 {code:xml}
 project name=${project.name}
   !-- ... --
   body
   menu name=Main
   item name=Introduction href=/index.html /
   item name=News href=/news.html /
   item name=Overwrite href=/documentation.html /
   /menu
   /body
   !-- ... --
   
 /project
 {code}
 And let the site descriptor for S be:
 {code:xml}
 project name=${project.name}
   !-- ... --
   body
   menu name=Main
   item name=Introduction href=/index.html /
   item name=Overwrite href=/overwrite.html /
   item name=Added href=/added.html /
   /menu
   /body
   !-- ... --
   
 /project
 {code}
 As I'm used to the way inheritance and polymorphism are defined in OO 
 languages such as Java, I would expect the following properties for the 
 Main menu in S:
 - item Introduction is overwritten in S but refers to the same index.html 
 file; of course, its path is relative to start directory of S
 - item News is missing for S but will be inherited from R, thus, it will be 
 rendered to the site as in R
 - item Overwrite is overwritten in S and refers now to overwrite.html 
 (instead of documentation.html as in R)
 - item Added is new in S, thus, it will be rendered to the site in addition
 Unfortunately, with the current implementation of the site plugin inheritance 
 is as follows:
 - Main menu of R is inherited by S as-is, that is, all changes made to the 
 menu in S are not visible/rendered to the site.
 I would like to propose to implement polymorphism regarding menu inheritance 
 as described above. In addition, I would like to propose a new boolean 
 parameter inherited (or inherit) that can be added to menu items. Its 
 semantics would be equivalent to the inherited tag in pom.xml. In the 
 following one example for R:
 {code:xml}
 project name=${project.name}
   !-- ... --
   body
   menu name=Main
   item name=Introduction href=/index.html /
   item name=News 1 href=/news1.html  
 inherited=false/
   item name=News 2 href=/news2.html  
 inherited=true/
   item name=Overwrite href=/documentation.html /
   /menu
   /body
   !-- ... --
   
 /project
 {code}
 With this example only menu item News 2 would appear in S because its 
 inheritance is not disabled, while menu item News 1 appears only in R and 
 not in S because its inheritance was disabled (false). The default if the 
 parameter is missing should be true.
 Btw, the same extension should be made to the menu ...  tag to allow to 
 enable or disable inheritance of menus entirely.
 Regards,
 Thorsten

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

[jira] Closed: (MNG-3885) Modules of Maven projects are deployed with Timestamp during reactor build when uniqueVersion is set to false in parent profile

2009-01-24 Thread Benjamin Bentmann (JIRA)

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

Benjamin Bentmann closed MNG-3885.
--

 Assignee: Benjamin Bentmann
   Resolution: Fixed
Fix Version/s: 2.1.0-M1
   2.0.11

Fixed in [r737402|http://svn.eu.apache.org/viewvc?view=revrevision=737402]. 
Already works in Maven 2.1.x as of 
[r689163|http://svn.eu.apache.org/viewvc?view=revrevision=689163].

 Modules of Maven projects are deployed with Timestamp during reactor build 
 when uniqueVersion is set to false in parent profile
 ---

 Key: MNG-3885
 URL: http://jira.codehaus.org/browse/MNG-3885
 Project: Maven 2
  Issue Type: Bug
  Components: Deployment
Affects Versions: 2.0.8
 Environment: Red Hat Linux, Maven 2.0.8, Java 1.6, Cruisecontrol
Reporter: Matthias Wegerhoff
Assignee: Benjamin Bentmann
 Fix For: 2.0.11, 2.1.0-M1

 Attachments: minimizedPOM.xml, minimizedPOM.xml, 
 minimizedSETTINGS.xml, MNG-3885.zip


 When deploying artifacts into local repository with cruisecontrol by using 
 the following command:
 mvn -U -P mvn-profile  ...  -DuniqueVersion=false deploy
 The parent is always beeing deployed correctly, without timestamp as 
 MODULE_VERSION-SNAPSHOT. But all Modules are beeing deployed with Timestamp.

-- 
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-44) Add uniqueVersion parameter to deploy goal as deploy-file goal

2009-01-24 Thread Benjamin Bentmann (JIRA)

[ 
http://jira.codehaus.org/browse/MDEPLOY-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162331#action_162331
 ] 

Benjamin Bentmann commented on MDEPLOY-44:
--

There was indeed a bug with the handling of {{uniqueVersion}} in the Maven 
core (MNG-3885) in combination with profiles and inheritance.

 Add uniqueVersion parameter to deploy goal as deploy-file goal
 --

 Key: MDEPLOY-44
 URL: http://jira.codehaus.org/browse/MDEPLOY-44
 Project: Maven 2.x Deploy Plugin
  Issue Type: Improvement
Affects Versions: 2.2.1
 Environment: Maven 2.0.4
Reporter: David Vicente
Assignee: Benjamin Bentmann
 Attachments: MDEPLOY-44.zip


 We developp a big application which we deploy in our local repository with 
 deploy goal.
 But deploy goal use a timestamp to name the archive file and we have many 
 problems of disk space that obliges us to clean manually our local repository.
 it's possible to add the uniqueVersion parameter to deploy goal as done with 
 deploy-file goal which would remove us the obligation to purge ?
 thanks

-- 
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: (MDEPLOY-57) uniqueVersionfalse/uniqueVersion not honored inside profile

2009-01-24 Thread Benjamin Bentmann (JIRA)

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

Benjamin Bentmann closed MDEPLOY-57.


  Assignee: Benjamin Bentmann
Resolution: Duplicate

This was actually a bug in the Maven core (MNG-3885).

 uniqueVersionfalse/uniqueVersion not honored inside profile
 -

 Key: MDEPLOY-57
 URL: http://jira.codehaus.org/browse/MDEPLOY-57
 Project: Maven 2.x Deploy Plugin
  Issue Type: Bug
Affects Versions: 2.3
 Environment: Windows XP SP2
 Maven 2.0.7
 Java 6 U1
Reporter: Matthew McCullough
Assignee: Benjamin Bentmann
Priority: Critical
 Attachments: effectivepom2.txt, pom.xml


 I am invoking maven as:
 mvn deploy -DCCDistribution
 The appropriate section of my pom.xml is below.
 In the attachment, I've provided the redirected output of mvn 
 help:effective-pom -DCCDistribution.
 And lastly, I've provided a snippet of build console output.
 - SECTION OF POMNOT BEING HONORED 
  profile
   idCCDistribution/id
   activation
 property
   nameCCDistribution/name
 /property
   /activation
   distributionManagement
 repository
 idKenanFX_M2_Repo/id
 nameKenanFX Maven 2 Repository/name
 urlftp://maven.kenan.com/KenanFX/m2_repo/url
 uniqueVersionfalse/uniqueVersion
 /repository
   /distributionManagement
 /profile
  CONSOLE OUTPUT SNIPPET SHOWING UNIQUE DATESTAMPED VERSIONS, 
 THOUGH NONUNIQUE ARE DESIRED 
 [INFO] 
 
 [INFO] Building CCBS UDT Functional API
 [INFO]task-segment: [deploy]
 [INFO] 
 
 [INFO] [site:attach-descriptor]
 [INFO] [install:install]
 [INFO] Installing c:\ClearCaseSource\mccm03_view3\single_api_src\udt\pom.xml 
 to C:\Documents and Settings\mccm03\.m2\repository\com\comverse\api\udt\c
 cbs-udt\1.0.M1-SNAPSHOT\ccbs-udt-1.0.M1-SNAPSHOT.pom
 [INFO] [deploy:deploy]
 altDeploymentRepository = null
 [INFO] Retrieving previous build number from KenanFX_M2_Repo
 Uploading: 
 ftp://maven.kenan.com/KenanFX/m2_repo/com/comverse/api/udt/ccbs-udt/1.0.M1-SNAPSHOT/ccbs-udt-1.0.M1-SNAPSHOT.pom
 721b uploaded
 [INFO] Retrieving previous metadata from KenanFX_M2_Repo
 [INFO] Uploading repository metadata for: 'artifact 
 com.comverse.api.udt:ccbs-udt'
 [INFO] Retrieving previous metadata from KenanFX_M2_Repo
 [INFO] Uploading repository metadata for: 'snapshot 
 com.comverse.api.udt:ccbs-udt:1.0.M1-SNAPSHOT'
 [INFO] 
 
 [INFO] Building CCBS UDT Shared
 [INFO]task-segment: [deploy]
 [INFO] 
 
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [compiler:compile]
 [INFO] Nothing to compile - all classes are up to date
 [INFO] [resources:testResources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [compiler:testCompile]
 [INFO] Not compiling test sources
 [INFO] [surefire:test]
 [INFO] Tests are skipped.
 [INFO] [jar:jar]
 [INFO] Building jar: 
 C:\ClearCaseSource\mccm03_view3\single_api_src\udt\shared\target\ccbs-udt-shared-1.0.M1-SNAPSHOT.jar
 [INFO] [install:install]
 [INFO] Installing 
 C:\ClearCaseSource\mccm03_view3\single_api_src\udt\shared\target\ccbs-udt-shared-1.0.M1-SNAPSHOT.jar
  to C:\Documents and Settings\mc
 cm03\.m2\repository\com\comverse\api\udt\ccbs-udt-shared\1.0.M1-SNAPSHOT\ccbs-udt-shared-1.0.M1-SNAPSHOT.jar
 [INFO] [deploy:deploy]
 altDeploymentRepository = null
 [INFO] Retrieving previous build number from KenanFX_M2_Repo
 Uploading: 
 ftp://maven.kenan.com/KenanFX/m2_repo/com/comverse/api/udt/ccbs-udt-shared/1.0.M1-SNAPSHOT/ccbs-udt-shared-1.0.M1-20070718.004617-1.jar
 6K uploaded
 [INFO] Retrieving previous metadata from KenanFX_M2_Repo
 [INFO] Uploading repository metadata for: 'artifact 
 com.comverse.api.udt:ccbs-udt-shared'
 [INFO] Retrieving previous metadata from KenanFX_M2_Repo
 [INFO] Uploading repository metadata for: 'snapshot 
 com.comverse.api.udt:ccbs-udt-shared:1.0.M1-SNAPSHOT'
 [INFO] Retrieving previous metadata from KenanFX_M2_Repo

-- 
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] Moved: (WAGON-256) FTP deploy

2009-01-24 Thread Benjamin Bentmann (JIRA)

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

Benjamin Bentmann moved MDEPLOY-72 to WAGON-256:


Affects Version/s: (was: 2.3)
   1.0-beta-2
  Key: WAGON-256  (was: MDEPLOY-72)
  Project: Maven Wagon  (was: Maven 2.x Deploy Plugin)

 FTP deploy
 --

 Key: WAGON-256
 URL: http://jira.codehaus.org/browse/WAGON-256
 Project: Maven Wagon
  Issue Type: Bug
Affects Versions: 1.0-beta-2
Reporter: Artem Pasko

 I use the following command 
 {code}
 mvn deploy:deploy-file -DgroupId=my.product -DartifactId=myproduct 
 -Dversion=1.1 
 -Dpackaging=jar -Dfile=D:\myproduct.jar -Durl=ftp://ftp.mycompany.com/maven2 
 -DrepositoryId=mycompanyftp
 {code}
 and get the error
 {code}
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'deploy'.
 [INFO] 
 
 [INFO] Building downloader-web
 [INFO]task-segment: [deploy:deploy-file] (aggregator-style)
 [INFO] 
 
 [INFO] [deploy:deploy-file]
 Uploading: 
 ftp://ftp.mycompany.com/maven2/my/product/myproduct/1.1/myproduct.jar
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Error deploying artifact: Required directory: '/maven2' is missing
 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time: 1 second
 [INFO] Finished at: Wed Jan 30 13:55:28 EET 2008
 [INFO] Final Memory: 2M/6M
 [INFO] 
 
 {code}
 and stacktrace
 {code}
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying 
 artifact
 : Required directory: '/maven2' is missing
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
 ultLifecycleExecutor.java:564)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
 Goal(DefaultLifecycleExecutor.java:493)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
 ltLifecycleExecutor.java:463)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
 dleFailures(DefaultLifecycleExecutor.java:311)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
 ts(DefaultLifecycleExecutor.java:224)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
 fecycleExecutor.java:143)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 sorImpl.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.MojoExecutionException: Error deploying 
 artif
 act: Required directory: '/maven2' is missing
 at 
 org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.
 java:243)
 at 
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
 nManager.java:447)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
 ultLifecycleExecutor.java:539)
 ... 16 more
 Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: 
 Error
  deploying artifact: Required directory: '/maven2' is missing
 at 
 org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Def
 aultArtifactDeployer.java:94)
 at 
 org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.
 java:239)
 ... 18 more
 Caused by: org.apache.maven.wagon.TransferFailedException: Required 
 directory: '
 /maven2' is missing
 at 
 org.apache.maven.wagon.providers.ftp.FtpWagon.fillOutputData(FtpWagon
 .java:232)
 at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:133)
 at 
 

[jira] Updated: (WAGON-256) FTP deploy

2009-01-24 Thread Benjamin Bentmann (JIRA)

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

Benjamin Bentmann updated WAGON-256:


Description: 
I use the following command 
{code}
mvn deploy:deploy-file -DgroupId=my.product -DartifactId=myproduct 
-Dversion=1.1 
-Dpackaging=jar -Dfile=D:\myproduct.jar -Durl=ftp://ftp.mycompany.com/maven2 
-DrepositoryId=mycompanyftp
{code}
and get the error
{code}
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO] 
[INFO] Building downloader-web
[INFO]task-segment: [deploy:deploy-file] (aggregator-style)
[INFO] 
[INFO] [deploy:deploy-file]
Uploading: ftp://ftp.mycompany.com/maven2/my/product/myproduct/1.1/myproduct.jar
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error deploying artifact: Required directory: '/maven2' is missing

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Wed Jan 30 13:55:28 EET 2008
[INFO] Final Memory: 2M/6M
[INFO] 
{code}
and stacktrace
{code}
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying 
artifact: Required directory: '/maven2' is missing
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
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:224)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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.MojoExecutionException: Error deploying 
artifact: Required directory: '/maven2' is missing
at 
org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.java:243)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: 
Error deploying artifact: Required directory: '/maven2' is missing
at 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
at 
org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.java:239)
... 18 more
Caused by: org.apache.maven.wagon.TransferFailedException: Required directory: 
'/maven2' is missing
at 
org.apache.maven.wagon.providers.ftp.FtpWagon.fillOutputData(FtpWagon.java:232)
at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:133)
at 
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237)
at 
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:153)
at 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
... 19 more
{code}
The maven2 directory is present on ftp and i can connect to it.
I look to the FtpWagon.fillOutputData() method and find the code which throw 
exception
{code}
if(!ftp.changeWorkingDirectory(getRepository().getBasedir()))
throw new TransferFailedException(Required 

[jira] Commented: (MSITE-378) Support polymorphism for menu inheritance

2009-01-24 Thread JIRA

[ 
http://jira.codehaus.org/browse/MSITE-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162336#action_162336
 ] 

Thorsten Möller commented on MSITE-378:
---

bq. This has lead to menu items in sub menus which are not intended because 
even if you inherit a menu entry to news1.html, where does the page come from?

O.k., to clarify this I give the directory structure for S and R (second 
example) and assuming only *.apt files:

{code}
R/src/site/apt/
 |
 +-- index.apt
 +-- news1.apt
 +-- news2.apt
 +-- documentation.apt
{code}

{code}
S/src/site/apt/
 |
 +-- index.apt
 +-- news2.apt
 +-- overwrite.apt
 +-- added.apt
{code}

And I just realized that with the proposed polymorphism one detail problem 
arises, which is the *order* in which to render the menu items eventually. I 
would suggest to use that order implied at the lowest level.



 Support polymorphism for menu inheritance
 -

 Key: MSITE-378
 URL: http://jira.codehaus.org/browse/MSITE-378
 Project: Maven 2.x Site Plugin
  Issue Type: New Feature
  Components: inheritance
Affects Versions: 2.0-beta-7
Reporter: Thorsten Möller

 Inheritance of menus in an multimodule project environment does not work as 
 intuitively expected (as in OO languages). The following excerpts try to 
 illustrate this. Assume there is a root project R that has one module 
 (project) S. Both contain a site descriptor. Let the site descriptor for R be 
 as follows:
 {code:xml}
 project name=${project.name}
   !-- ... --
   body
   menu name=Main
   item name=Introduction href=/index.html /
   item name=News href=/news.html /
   item name=Overwrite href=/documentation.html /
   /menu
   /body
   !-- ... --
   
 /project
 {code}
 And let the site descriptor for S be:
 {code:xml}
 project name=${project.name}
   !-- ... --
   body
   menu name=Main
   item name=Introduction href=/index.html /
   item name=Overwrite href=/overwrite.html /
   item name=Added href=/added.html /
   /menu
   /body
   !-- ... --
   
 /project
 {code}
 As I'm used to the way inheritance and polymorphism are defined in OO 
 languages such as Java, I would expect the following properties for the 
 Main menu in S:
 - item Introduction is overwritten in S but refers to the same index.html 
 file; of course, its path is relative to start directory of S
 - item News is missing for S but will be inherited from R, thus, it will be 
 rendered to the site as in R
 - item Overwrite is overwritten in S and refers now to overwrite.html 
 (instead of documentation.html as in R)
 - item Added is new in S, thus, it will be rendered to the site in addition
 Unfortunately, with the current implementation of the site plugin inheritance 
 is as follows:
 - Main menu of R is inherited by S as-is, that is, all changes made to the 
 menu in S are not visible/rendered to the site.
 I would like to propose to implement polymorphism regarding menu inheritance 
 as described above. In addition, I would like to propose a new boolean 
 parameter inherited (or inherit) that can be added to menu items. Its 
 semantics would be equivalent to the inherited tag in pom.xml. In the 
 following one example for R:
 {code:xml}
 project name=${project.name}
   !-- ... --
   body
   menu name=Main
   item name=Introduction href=/index.html /
   item name=News 1 href=/news1.html  
 inherited=false/
   item name=News 2 href=/news2.html  
 inherited=true/
   item name=Overwrite href=/documentation.html /
   /menu
   /body
   !-- ... --
   
 /project
 {code}
 With this example only menu item News 2 would appear in S because its 
 inheritance is not disabled, while menu item News 1 appears only in R and 
 not in S because its inheritance was disabled (false). The default if the 
 parameter is missing should be true.
 Btw, the same extension should be made to the menu ...  tag to allow to 
 enable or disable inheritance of menus entirely.
 Regards,
 Thorsten

-- 
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-4001) Unable to resolve Dashboard mojo from Central

2009-01-24 Thread Anthony Whitford (JIRA)
Unable to resolve Dashboard mojo from Central
-

 Key: MNG-4001
 URL: http://jira.codehaus.org/browse/MNG-4001
 Project: Maven 2
  Issue Type: Bug
  Components: Sites  Reporting
Affects Versions: 2.0.9
 Environment: Windows, JDK 1.6
Reporter: Anthony Whitford
 Attachments: dashbug.zip

I have a simple test project that declares the dashboard-maven-plugin (see 
http://mojo.codehaus.org/dashboard-maven-plugin/usage.html ).

Note that the usage does explicitly state that the Codehaus repository must be 
specified as a plugin repository...
However, according to:  
http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html
I'm pretty sure that Maven should be able to resolve the dashboard-maven-plugin 
from the central repo.

I validated that the [dashboard-maven-plugin residing in 
central|http://repo1.maven.org/maven2/org/codehaus/mojo/dashboard-maven-plugin/1.0.0-beta-1/]
 is indeed the same artifact as that which lives at the [codehaus 
repository|http://repository.codehaus.org/org/codehaus/mojo/dashboard-maven-plugin/1.0.0-beta-1/].

But as you can see from my attached test case, the codehaus mojo is NOT being 
resolved without the special plugin repository defined.  When running 
{noformat}mvn dashboard:dashboard{noformat}, I get the following error message:
{noformat}
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dashboard'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-dashboard-plugin' does not 
exist or no valid version could be found
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time:  1 second
[INFO] Finished at: Sat Jan 24 12:40:55 PST 2009
[INFO] Final Memory: 1M/254M
[INFO] 
{noformat}

If you edit the pom.xml to uncomment out the plugin repository declaration for 
codehaus, it works as one would expect.

My understanding is that the only reason why the Dashboard Usage mentions their 
plugin repository is because the artifact was not available on the central 
repository -- but it certainly is today.

I also thought that perhaps the maven-metadata.xml might be incorrect (perhaps 
the dashboard plugin prefix is missing or different).  I checked:
* http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml
* http://repository.codehaus.org/org/codehaus/mojo/maven-metadata.xml

and they both look OK to me...  I clearly see:{code:xml}
plugin
nameMaven Dashboard Report Plugin/name 
prefixdashboard/prefix 
artifactIddashboard-maven-plugin/artifactId 
/plugin
{code}

And I don't see any plugin with a dashboard prefix specified as an Apache Maven 
Plugin here:
* http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml

If I explicitly specify the dashboard plugin like:  {noformat}mvn 
org.codehaus.mojo:dashboard-maven-plugin:dashboard{noformat}
that works...

Overall, I am recording a bug because the 
[documentation|http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html]
 states:{quote}
Maven will always search the following groupId's after searching any plugin 
groups specified in the user's settings:
* org.apache.maven.plugins 
* org.codehaus.mojo 
{quote}

I don't see this being done.

Finally, I even tried adding a {{pluginGroups}} to my 
{{settings.xml}}:{code:xml}
pluginGroups
  pluginGrouporg.codehaus.mojo/pluginGroup
/pluginGroups
{code}
But that did not work either...


-- 
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-76) Have invoker:run generate report files to allow reporting on the results of running invoker

2009-01-24 Thread Olivier Lamy (JIRA)

[ 
http://jira.codehaus.org/browse/MINVOKER-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162353#action_162353
 ] 

Olivier Lamy commented on MINVOKER-76:
--

Good idea but I would prefer to have an auto documented xml format with using a 
mdo file.

 Have invoker:run generate report files to allow reporting on the results of 
 running invoker
 ---

 Key: MINVOKER-76
 URL: http://jira.codehaus.org/browse/MINVOKER-76
 Project: Maven 2.x Invoker Plugin
  Issue Type: Improvement
Reporter: Stephen Connolly
 Attachments: patch.diff


 The attached patch will adds generation of basic XML reports for each invoker 
 run.  This will allow other tools to report on the trends and the number of 
 successes / failures.  If this patch gets picked up I'll have a Hudson plugin 
 to read these reports and I can also write a Maven reporting plugin to 
 integrate with site.

-- 
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-76) Have invoker:run generate report files to allow reporting on the results of running invoker

2009-01-24 Thread Stephen Connolly (JIRA)

[ 
http://jira.codehaus.org/browse/MINVOKER-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162373#action_162373
 ] 

Stephen Connolly commented on MINVOKER-76:
--

point me at an example and I'll rewrite the patch

 Have invoker:run generate report files to allow reporting on the results of 
 running invoker
 ---

 Key: MINVOKER-76
 URL: http://jira.codehaus.org/browse/MINVOKER-76
 Project: Maven 2.x Invoker Plugin
  Issue Type: Improvement
Reporter: Stephen Connolly
 Attachments: patch.diff


 The attached patch will adds generation of basic XML reports for each invoker 
 run.  This will allow other tools to report on the trends and the number of 
 successes / failures.  If this patch gets picked up I'll have a Hudson plugin 
 to read these reports and I can also write a Maven reporting plugin to 
 integrate with site.

-- 
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: (MERCURY-78) mercury repository does not process timestamped dependencies correctly

2009-01-24 Thread Oleg Gusakov (JIRA)
mercury repository does not process timestamped dependencies correctly
--

 Key: MERCURY-78
 URL: http://jira.codehaus.org/browse/MERCURY-78
 Project: Mercury
  Issue Type: Bug
Affects Versions: 1.0.0-alpha-3
Reporter: Oleg Gusakov
Assignee: Oleg Gusakov


when asking for dependencies of a particular snapshot TS, mercury uses actual 
TS folder for GAV.

For example: when asking for SN version a:a:1.0-20081122.062742-13, it will try 
the path

a/a/1.0-20081122.062742-13 instead of a/a/1.0-SNAPSHOT

-- 
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: (MERCURY-78) mercury repository does not process timestamped dependencies correctly

2009-01-24 Thread Oleg Gusakov (JIRA)

[ 
http://jira.codehaus.org/browse/MERCURY-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162392#action_162392
 ] 

Oleg Gusakov commented on MERCURY-78:
-

Fixed in the trunk. 

There is a UT testing for reading a timestamp without dependencies, and it 
works. Need to add a test, reading TS with dependencies

 mercury repository does not process timestamped dependencies correctly
 --

 Key: MERCURY-78
 URL: http://jira.codehaus.org/browse/MERCURY-78
 Project: Mercury
  Issue Type: Bug
Affects Versions: 1.0.0-alpha-3
Reporter: Oleg Gusakov
Assignee: Oleg Gusakov
 Fix For: 1.0.0-alpha-4


 when asking for dependencies of a particular snapshot TS, mercury uses actual 
 TS folder for GAV.
 For example: when asking for SN version a:a:1.0-20081122.062742-13, it will 
 try the path
 a/a/1.0-20081122.062742-13 instead of a/a/1.0-SNAPSHOT

-- 
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: (MERCURY-78) mercury repository does not process timestamped dependencies correctly

2009-01-24 Thread Oleg Gusakov (JIRA)

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

Oleg Gusakov updated MERCURY-78:


Fix Version/s: 1.0.0-alpha-4

 mercury repository does not process timestamped dependencies correctly
 --

 Key: MERCURY-78
 URL: http://jira.codehaus.org/browse/MERCURY-78
 Project: Mercury
  Issue Type: Bug
Affects Versions: 1.0.0-alpha-3
Reporter: Oleg Gusakov
Assignee: Oleg Gusakov
 Fix For: 1.0.0-alpha-4


 when asking for dependencies of a particular snapshot TS, mercury uses actual 
 TS folder for GAV.
 For example: when asking for SN version a:a:1.0-20081122.062742-13, it will 
 try the path
 a/a/1.0-20081122.062742-13 instead of a/a/1.0-SNAPSHOT

-- 
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-3692) War plugin version 2.1-alpha-1 re-processes files

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed MNG-3692.
-

  Assignee: Brett Porter
Resolution: Incomplete

closing due to lack of info

 War plugin version 2.1-alpha-1 re-processes files
 -

 Key: MNG-3692
 URL: http://jira.codehaus.org/browse/MNG-3692
 Project: Maven 2
  Issue Type: Bug
  Components: Plugins and Lifecycle
Affects Versions: 2.0.9
 Environment: Windows/jdk 151/maven 2.0.9
Reporter: EJ Ciramella
Assignee: Brett Porter

 We have a version.html file that has a ${label} token inside (as listed
 below).  When I run with maven 2.0.9, using mvn install, I can see
 that version.html is copied into the target location twice, once via
 process-resources (and it's expanded at this point) and then a second
 time when the war plugin says:
 [INFO] Assembling webapp[pdtApp] in
 [E:\work\up-svcs\lty\rel\LTY-R66.0\programData\pdt-web\target\pdtApp-66.
 0-SNAPSHOT]
 [INFO] Processing war project-
 [INFO] Webapp assembled in[2530 msecs]
 This is a change since mvn 2.0.5.
 I've NOT defined a war plugin, I'm only telling maven that the
 packaging is war.  Is it looking at all the defined resources and
 copying them over?
 To reproduce this, set up a resource (such as version.html) with a token in 
 it that lives in the webapp directory under source.  Run a mvn package or mvn 
 install and you'll see that the token first is expanded during the 
 process-resources goal, then during package, the war plugin copies over (and 
 overwrites) that same file.

-- 
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-4000) [regression] Plugin executions without id are lost when multiple executions are defined

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter updated MNG-4000:
--

Fix Version/s: 3.0-alpha-3

 [regression] Plugin executions without id are lost when multiple executions 
 are defined
 ---

 Key: MNG-4000
 URL: http://jira.codehaus.org/browse/MNG-4000
 Project: Maven 2
  Issue Type: Bug
  Components: Plugins and Lifecycle
Affects Versions: 3.0-alpha-1
Reporter: Benjamin Bentmann
 Fix For: 3.0-alpha-3


 Input POM:
 {code:xml}
 build
   plugins
 plugin
   groupIdorg.apache.maven.its.plugins/groupId
   artifactIdmaven-it-plugin-log-file/artifactId
   version2.1-SNAPSHOT/version
   configuration
 logFiletarget/exec.log/logFile
 stringexec-/string
   /configuration
   executions
 execution
   idexec-1/id
   phasevalidate/phase
   goals
 goallog-string/goal
   /goals
 /execution
 execution
   !-- NOTE: id deliberately omitted here! --
   phasevalidate/phase
   goals
 goallog-string/goal
   /goals
 /execution
   /executions
 /plugin
   /plugins
 /build
 {code}
 Effective POM:
 {code:xml}
 build
   plugins
 plugin
   groupIdorg.apache.maven.its.plugins/groupId
   artifactIdmaven-it-plugin-log-file/artifactId
   version2.1-SNAPSHOT/version
   configuration
 logFiletarget/exec.log/logFile
 stringexec/string
   /configuration
   executions
 execution
   idexec-1/id
   phasevalidate/phase
   goals
 goallog-string/goal
   /goals
 /execution
   /executions
 /plugin
   /plugins
 /build
 {code}
 Note that the execution without {{id}} 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] Closed: (MNG-3847) Child POMs Not Properly Inheriting Global Property Versions

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed MNG-3847.
-

  Assignee: Brett Porter
Resolution: Cannot Reproduce

I get the feeling you are defining the value in B and trying to apply it to the 
project A via the dependency, which is not allowed.

If this is not the case, please attach a sample project using the structure you 
outlined that illustrates the problem. Thanks!

 Child POMs Not Properly Inheriting Global Property Versions
 ---

 Key: MNG-3847
 URL: http://jira.codehaus.org/browse/MNG-3847
 Project: Maven 2
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 2.0.9
 Environment: Mac OS X 
Reporter: David Haines
Assignee: Brett Porter

 We have two large projects, let's call them Project A and B, each with a 
 super pom and numerous sub-projects.  In the super pom for each project, we 
 define a property called baseVersion and reference this variable in all 
 applicable artifact versions and dependent artifacts.  Project A builds 
 without issue.  Project B, however, depends on artifacts from Project A.  
 Project B fails to resolve the ${baseVersion} defined in its super pom when 
 referenced as the version in Project A dependent artifacts (see output below).
 Can someone advise how we're meant to define global versions that may be 
 referenced throughout child pom's?
 INFO] 
 [INFO] Building Project B: Common
 [INFO]task-segment: [install]
 [INFO] 
 
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 Downloading: 
 http://repo1.maven.org/maven2/com/projecta/core/projecta-core/${baseVersion}/projecta-core-${baseVersion}.pom
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.
 GroupId: com.projecta.core
 ArtifactId: projecta-core
 Version: ${baseVersion}

-- 
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-3957) [regression] For artifact {stax:stax-api:null:jar}: The version cannot be empty.

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter updated MNG-3957:
--

Fix Version/s: 3.0-alpha-3
  Summary: [regression] For artifact {stax:stax-api:null:jar}: The 
version cannot be empty.   (was: For artifact {stax:stax-api:null:jar}: The 
version cannot be empty. )

only occurs in JDK 5 or below, due to the profile triggered in the 
spring-ws-core POM.

it appears dependencyManagement is not applied to dependencies from inside 
profiles, perhaps the ordering has changed in the project builder.

 [regression] For artifact {stax:stax-api:null:jar}: The version cannot be 
 empty. 
 -

 Key: MNG-3957
 URL: http://jira.codehaus.org/browse/MNG-3957
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 3.0-alpha-1
Reporter: Jorg Heymans
 Fix For: 3.0-alpha-3

 Attachments: pom.xml


 A module in my build includes a dep to spring-ws:
 {code}
 dependency
   groupIdorg.springframework.ws/groupId
   artifactIdspring-ws-core/artifactId
   version1.5.5/version
   exclusions
 exclusion
   groupIdorg.springframework/groupId
   artifactIdspring-context/artifactId
 /exclusion
 exclusion
   groupIdorg.springframework/groupId
   artifactIdspring-aop/artifactId
 /exclusion
 exclusion
   groupIdorg.springframework/groupId
   artifactIdspring-web/artifactId
 /exclusion
 exclusion
   groupIdorg.springframework/groupId
   artifactIdspring-webmvc/artifactId
 /exclusion
 exclusion
   groupIdorg.springframework/groupId
   artifactIdspring-core/artifactId
 /exclusion
 exclusion
   groupIdorg.springframework/groupId
   artifactIdspring-beans/artifactId
 /exclusion
   /exclusions
 /dependency
 {code}
 doing clean install i get this exception:
 {code}
 constituent[0]: file:/d:/tools/maven2/lib/bcpg-jdk15-140.jar
 constituent[1]: file:/d:/tools/maven2/lib/bcprov-jdk15-140.jar
 constituent[2]: file:/d:/tools/maven2/lib/commons-cli-1.0.jar
 constituent[3]: file:/d:/tools/maven2/lib/commons-logging-api-1.1.jar
 constituent[4]: file:/d:/tools/maven2/lib/doxia-sink-api-1.0-alpha-9.jar
 constituent[5]: file:/d:/tools/maven2/lib/google-collect-snapshot-20080530.jar
 constituent[6]: file:/d:/tools/maven2/lib/jetty-6.1.12.jar
 constituent[7]: file:/d:/tools/maven2/lib/jetty-client-6.1.12.jar
 constituent[8]: file:/d:/tools/maven2/lib/jetty-sslengine-6.1.12.jar
 constituent[9]: file:/d:/tools/maven2/lib/jetty-util-6.1.12.jar
 constituent[10]: file:/d:/tools/maven2/lib/jsch-0.1.38.jar
 constituent[11]: file:/d:/tools/maven2/lib/log4j-1.2.12.jar
 constituent[12]: file:/d:/tools/maven2/lib/maven-compat-3.0-alpha-1.jar
 constituent[13]: file:/d:/tools/maven2/lib/maven-core-3.0-alpha-1.jar
 constituent[14]: file:/d:/tools/maven2/lib/maven-distribution-3.0-alpha-1.jar
 constituent[15]: file:/d:/tools/maven2/lib/maven-embedder-3.0-alpha-1.jar
 constituent[16]: file:/d:/tools/maven2/lib/maven-lifecycle-3.0-alpha-1.jar
 constituent[17]: file:/d:/tools/maven2/lib/maven-mercury-3.0-alpha-1.jar
 constituent[18]: file:/d:/tools/maven2/lib/maven-model-3.0-alpha-1.jar
 constituent[19]: file:/d:/tools/maven2/lib/maven-plugin-api-3.0-alpha-1.jar
 constituent[20]: file:/d:/tools/maven2/lib/maven-project-3.0-alpha-1.jar
 constituent[21]: 
 file:/d:/tools/maven2/lib/maven-project-builder-3.0-alpha-1.jar
 constituent[22]: file:/d:/tools/maven2/lib/maven-reporting-api-3.0-alpha-1.jar
 constituent[23]: file:/d:/tools/maven2/lib/maven-toolchain-3.0-alpha-1.jar
 constituent[24]: file:/d:/tools/maven2/lib/mercury-artifact-1.0.0-alpha-2.jar
 constituent[25]: 
 file:/d:/tools/maven2/lib/mercury-crypto-api-1.0.0-alpha-2.jar
 constituent[26]: 
 file:/d:/tools/maven2/lib/mercury-crypto-basic-1.0.0-alpha-2.jar
 constituent[27]: file:/d:/tools/maven2/lib/mercury-event-1.0.0-alpha-2.jar
 constituent[28]: file:/d:/tools/maven2/lib/mercury-external-1.0.0-alpha-2.jar
 constituent[29]: file:/d:/tools/maven2/lib/mercury-logging-1.0.0-alpha-2.jar
 constituent[30]: file:/d:/tools/maven2/lib/mercury-md-sat-1.0.0-alpha-2.jar
 constituent[31]: file:/d:/tools/maven2/lib/mercury-md-shared-1.0.0-alpha-2.jar
 constituent[32]: file:/d:/tools/maven2/lib/mercury-plexus-1.0.0-alpha-2.jar
 constituent[33]: file:/d:/tools/maven2/lib/mercury-repo-api-1.0.0-alpha-2.jar
 constituent[34]: 
 file:/d:/tools/maven2/lib/mercury-repo-cache-fs-1.0.0-alpha-2.jar
 constituent[35]: 
 file:/d:/tools/maven2/lib/mercury-repo-local-m2-1.0.0-alpha-2.jar
 constituent[36]: 
 file:/d:/tools/maven2/lib/mercury-repo-remote-m2-1.0.0-alpha-2.jar
 constituent[37]: 
 

[jira] Closed: (MNG-3711) NPE in ChecksumObserver

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed MNG-3711.
-

  Assignee: Brett Porter
Resolution: Duplicate

fixed in 2.1.0-M1 by wagon upgrade

 NPE in ChecksumObserver
 ---

 Key: MNG-3711
 URL: http://jira.codehaus.org/browse/MNG-3711
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 2.0.9
Reporter: Thomas Diesler
Assignee: Brett Porter

 After Ctrl+C during 'mvn deploy' I seem to have a corrupt snapshot repository.
 Subsequent deploy attempts fail with
 Uploading: 
 https://snapshots.jboss.org/maven2/org/jboss/bpm/bpm-dialect-xpdl21/1.0.0-SNAPSHOT/bpm-dialect-xpdl21-1.0.0-20080814.162232-1.jar
 [INFO] Uploading project information for bpm-dialect-xpdl21 
 1.0.0-20080814.162232-1
 [INFO] Retrieving previous metadata from snapshots.jboss.org
 [INFO] 
 
 [ERROR] FATAL ERROR
 [INFO] 
 
 [INFO] null
 [INFO] 
 
 [INFO] Trace
 java.lang.NullPointerException
   at 
 org.apache.maven.wagon.observers.ChecksumObserver.transferStarted(ChecksumObserver.java:65)
   at 
 org.apache.maven.wagon.events.TransferEventSupport.fireTransferStarted(TransferEventSupport.java:100)
   at 
 org.apache.maven.wagon.AbstractWagon.fireGetStarted(AbstractWagon.java:378)
   at 
 org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:193)
   at 
 org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:182)
   at 
 org.apache.maven.wagon.providers.webdav.WebDavWagon.get(WebDavWagon.java:426)
   at 
 org.apache.maven.wagon.providers.webdav.WebDavWagon.get(WebDavWagon.java:377)

-- 
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-3735) maven deploy problem

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed MNG-3735.
-

  Assignee: Brett Porter
Resolution: Incomplete

reopen if you have more information

 maven deploy problem
 

 Key: MNG-3735
 URL: http://jira.codehaus.org/browse/MNG-3735
 Project: Maven 2
  Issue Type: Bug
 Environment: eclips
Reporter: jim li
Assignee: Brett Porter
 Attachments: pom.xml


 Uploading: scpexe://221.221.221.72/deploy/com/blinco3wavex/app/1.0/app-1.0.pom
 is frozen forever. and it does not upload anything to my server

-- 
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] Moved: (MWAR-180) war-dependency is not resolved from a remote repository

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter moved MNG-3871 to MWAR-180:


Affects Version/s: (was: 2.1.0-M1)
   (was: 2.0.9)
  Key: MWAR-180  (was: MNG-3871)
  Project: Maven 2.x War Plugin  (was: Maven 2)

 war-dependency is not resolved from a remote repository
 ---

 Key: MWAR-180
 URL: http://jira.codehaus.org/browse/MWAR-180
 Project: Maven 2.x War Plugin
  Issue Type: Bug
 Environment: linux, windows
Reporter: Robert Scholte

 I've used the overlay-example to include a war-dependecy in a webapp-project. 
 But this only seems to work if the dependency is available in the local 
 repository. I use nexus and thought the problem was there, but after 
 including a filter to log all servletRequests I didn't see any request for 
 the war-dependency.
 I've tried it on several OS and also some differrent maven-version. They all 
 had the same 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: (MNG-3881) Properties in plugin poms are not resolved.

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed MNG-3881.
-

  Assignee: Brett Porter
Resolution: Not A Bug

 Properties in plugin poms are not resolved.
 ---

 Key: MNG-3881
 URL: http://jira.codehaus.org/browse/MNG-3881
 Project: Maven 2
  Issue Type: Bug
  Components: Plugins and Lifecycle
Affects Versions: 2.1.0-M1
 Environment: Mac ox s
Reporter: Derek Clarkson
Assignee: Brett Porter

 I'm testing a plugin I have written to run JUnit 4.x tests. The pom for this 
 plug uses properties to specify the versions of dependencies. ie. 
   dependency
   groupIdjunit/groupId
   artifactIdjunit/artifactId
   version${junit.version}/version
   /dependency
   dependency
   groupIdorg.slf4j/groupId
   artifactIdslf4j-api/artifactId
   version${slf4j.version}/version
   /dependency
 After compiling and installing the plugin into my local repository, I then 
 attempt to use in in another project. The project compiles correcly, but then 
 fails when attempting to resolve the dependecies of my plugin. The faiures 
 appear to be the plugins dependencies which are versioned by properties. 
 HEre's an example:
 6) org.slf4j:slf4j-api:jar:${slf4j.version}
   Try downloading the file manually from the project website.
   Then, install it using the command: 
   mvn install:install-file -DgroupId=org.slf4j -DartifactId=slf4j-api 
 -Dversion=${slf4j.version} -Dpackaging=jar -Dfile=/path/to/file
   Alternatively, if you host your own repository you can deploy the file 
 there: 
   mvn deploy:deploy-file -DgroupId=org.slf4j -DartifactId=slf4j-api 
 -Dversion=${slf4j.version} -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
 -DrepositoryId=[id]
   Path to dependency: 
   1) dhc.maven2:maven-junit4x-plugin:maven-plugin:0.0.3-SNAPSHOT
   2) org.slf4j:slf4j-api:jar:${slf4j.version}
 I also see stack traces like this:
 Caused by: java.io.FileNotFoundException: 
 http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-impl/${maven.reporting.version}/maven-reporting-impl-${maven.reporting.version}.jar
   at 
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1239)
   at 
 org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
   ... 35 more
 [DEBUG] Unable to download the artifact from any repository
 And 
 7 required artifacts are missing.
 for artifact: 
   dhc.maven2:maven-junit4x-plugin:maven-plugin:0.0.3-SNAPSHOT
 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:482)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:394)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:337)
   at 
 org.apache.maven.plugin.DefaultPluginManager.getPluginArtifacts(DefaultPluginManager.java:436)
   at 
 org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:279)
   at 
 org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:211)
   at 
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:186)
   at 
 org.apache.maven.plugin.loader.DefaultPluginLoader.loadPlugin(DefaultPluginLoader.java:79)
   ... 20 more
 Plaing around with this I found that if I go into the repository and edit the 
 pom file to specify the dependency version then that dependency resolves. 
 From this I'm inclined to think that when resolving dependencies of plugins, 
 that the plugin's pom is not being processed to look for properties to be 
 inserted.

-- 
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-3879) Dependency map and documentation

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter updated MNG-3879:
--

Fix Version/s: 2.x

 Dependency map and documentation
 

 Key: MNG-3879
 URL: http://jira.codehaus.org/browse/MNG-3879
 Project: Maven 2
  Issue Type: New Feature
  Components: Dependencies
Affects Versions: 2.0.9
Reporter: benson margulies
 Fix For: 2.x


 This JIRA proposes a feature. I'm willing to try to contribute it given a 
 modicum of encouragement and guidance.
 Over at CXF, we get many questions from users who are completely confounded 
 by the complex dependency graph that results from our many dependencies and 
 their many dependencies. I think that they would be less confused by far if 
 maven gave them a tiny bit of help.
 The first part of the idea requires an addition to the core POM, which is why 
 I'm starting with a JIRA here. I propose to add an 'explanation' element to 
 the dependency element. This would contain a human-readable string explaining 
 why the dependency is here.
 The second part is a goal that I would propose to call 'dependency-map'. This 
 would produce a formatted map of the dependency tree -- enriched, of course, 
 by the comments in the first part.

-- 
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: (WAGON-252) Error with FTP Deploy

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed WAGON-252.
--

  Assignee: Brett Porter
Resolution: Not A Bug

it looks to me like what the error says - /jars does not already exist in the 
FTP server's root. We do not traverse and create the repository directory 
itself, only subdirectories for artifacts

 Error with FTP Deploy
 -

 Key: WAGON-252
 URL: http://jira.codehaus.org/browse/WAGON-252
 Project: Maven Wagon
  Issue Type: Bug
  Components: wagon-ftp
Affects Versions: 1.0-alpha-6
 Environment: Windows Vista Home Premium
 wagon-ftp version 1.0-alpha-6
Reporter: Faber Oktavianus Siagian
Assignee: Brett Porter

 I am trying to deploy into a FTP server by using maven wagon-ftp.
 The FTP server works properly and there's no problem with it.
 But when I tried to deploy, there's an error like shown below :
 [ERROR] BUILD ERROR
 [INFO] 
 [INFO] Error deploying artifact: Required directory: '/jars' is missing
 Here is  the distributionManagement element : 
 distributionManagement
 repository
 idMavenNetworkRepository/id
 nameMaven Network Project Repository/name
 urlftp://theServer/jars/url
 /repository
 /distributionManagement
 I have provided the FTP username and password in the settings.xml.
 Seems that there's nothing missed. Is this really a bug or I have made a 
 mistake??

-- 
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-3942) Error with FTP Deploy

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed MNG-3942.
-

  Assignee: Brett Porter
Resolution: Duplicate

 Error with FTP Deploy
 -

 Key: MNG-3942
 URL: http://jira.codehaus.org/browse/MNG-3942
 Project: Maven 2
  Issue Type: Bug
  Components: Deployment
 Environment: Maven 3.1.5
Reporter: Faber Oktavianus Siagian
Assignee: Brett Porter

 I am trying to deploy into a FTP server by using maven wagon-ftp.
 The FTP server works properly and there's no problem with it.
 But when I tried to deploy, there's an error like shown below :
 [ERROR] BUILD ERROR
 [INFO] 
 [INFO] Error deploying artifact: Required directory: '/jars' is missing
 Here is the distributionManagement element :
 distributionManagement
 repository
 idMavenNetworkRepository/id
 nameMaven Network Project Repository/name
 urlftp://theServer/jars/url
 /repository
 /distributionManagement
 I have provided the FTP username and password in the settings.xml.
 Seems that there's nothing missed. Is this really a bug or I have made a 
 mistake??

-- 
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-3958) no NOTICE file

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed MNG-3958.
-

Resolution: Not A Bug

 no NOTICE file
 --

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

 Most files ship with a license header:
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.
 ... but there is no NOTICE file anywhere.

-- 
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-3952) Create Deprecation Mechanism for Maven Artifacts

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter updated MNG-3952:
--

Fix Version/s: 3.x

 Create Deprecation Mechanism for Maven Artifacts
 

 Key: MNG-3952
 URL: http://jira.codehaus.org/browse/MNG-3952
 Project: Maven 2
  Issue Type: Improvement
  Components: Artifacts and Repositories, General
Affects Versions: 2.0.9
 Environment: All
Reporter: Immo Huneke
 Fix For: 3.x


 An example of the sort of problem that developers currently encounter can be 
 seen at 
 http://blog.jonasbandi.net/2008/12/using-jpa-and-hibernate-with-maven.html. I 
 have encountered similar problems in the past, e.g. trying to decide which 
 version of a plugin is the current one or being unaware that an artifact I 
 was using in a build had been superseded by another with a different groupId 
 and artifactId.
 I feel that Maven lacks a deprecation mechanism that would make it obvious to 
 everyone that they're using something out of date. The problem is that once 
 an artifact (other than a snapshot) has been published, it is never supposed 
 to change thereafter. But it shouldn't be impossible to devise a mechanism 
 for adding deprecation and redirection to the associated metadata. It would 
 then be possible for the dependency resolver to display a warning whenever a 
 deprecated artifact was used in a build, either as a plugin or as a library.

-- 
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-3959) Per-execution inherited flag ignored

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter updated MNG-3959:
--

Fix Version/s: 2.0.x

 Per-execution inherited flag ignored
 

 Key: MNG-3959
 URL: http://jira.codehaus.org/browse/MNG-3959
 Project: Maven 2
  Issue Type: Bug
  Components: Inheritance and Interpolation
Reporter: Dave Syer
 Fix For: 2.0.x


 Per-execution inherited flag ignored.  E.g. 
 {code}
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-antrun-plugin/artifactId
   executions
   execution
   idtest/id
   phaseinitialize/phase
   inheritedfalse/inherited
 ...
 {code}
 If you move the inherited element up to the plugin level it works, but then 
 that applies to all executions, which isn't what is needed.

-- 
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-3982) setup grid build

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter updated MNG-3982:
--

Fix Version/s: 3.0-alpha-2

 setup grid build
 

 Key: MNG-3982
 URL: http://jira.codehaus.org/browse/MNG-3982
 Project: Maven 2
  Issue Type: Sub-task
Reporter: Oleg Gusakov
Assignee: Oleg Gusakov
 Fix For: 3.0-alpha-2




-- 
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-3987) No attempts to connect to remote repositories under Sun JDK 1.6.0.06 (i386 and x86_64)

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter updated MNG-3987:
--

Fix Version/s: 2.0.x

 No attempts to connect to remote repositories under Sun JDK 1.6.0.06 (i386 
 and x86_64) 
 ---

 Key: MNG-3987
 URL: http://jira.codehaus.org/browse/MNG-3987
 Project: Maven 2
  Issue Type: Bug
  Components: Dependencies
 Environment: Fedora 10 (2.6.27.5-117.fc10.x86_64)
 Sun jdk1.6.0_06-x86_64
 Maven 2.0.9
Reporter: Andrew Lee Rubinger
Assignee: Brian Fox
 Fix For: 2.0.x

 Attachments: maven_dependency_resolution_fail-jdk1.6.0_06-x86_64.txt, 
 maven_dependency_resolution_works-jdk1.6.0_11-x86_64.txt


 While using Sun jdk1.6.0_06-x86_64 as JAVA_HOME, remote dependencies are not 
 downloaded.  Wireshark network analysis shows no TCP requests sent out of 
 port 80.  Using jdk1.6.0_11-x86_64 resolves the issue.
 Steps to duplicate (on the reporter's local environment)
 1) Clean local M2 repo (ie. ~/.m2/repository)
 2) Set JAVA_HOME to jdk1.6.0_06-x86_64
 3) Attempt mvn install..Observe dependency resolution problems as artifacts 
 and POMs cannot be downloaded.  Maven reports as not found.  The URLs noted 
 in the trace are accessible via wget or browser.
 4) Set JAVA_HOME to jdk1.6.0_11-x86_64
 5) Attempt mvn install Dependencies will be downloaded.

-- 
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-3999) validation of Id's too restrictive

2009-01-24 Thread Brett Porter (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162400#action_162400
 ] 

Brett Porter commented on MNG-3999:
---

I'm unsure I understand the reason that you need to retain the filenames - even 
if they come with that name you can choose a more appropriate artifact ID when 
you are populating the repository.

Is the problem that you need to support a legacy Maven 1 repository?

 validation of Id's too restrictive
 --

 Key: MNG-3999
 URL: http://jira.codehaus.org/browse/MNG-3999
 Project: Maven 2
  Issue Type: Improvement
  Components: POM
 Environment: xp, SAP NetWeaver, maven 2.x 
Reporter: Sven Pressler
 Attachments: pom.xml


 I guess the validation of the Id's were introduced after issue MNG-801.
 I think the validation is too strong.
 The problem is that a lot of valid filenames are not validated as true.
 The problem is caused by the DefaultModelValidator: private static final 
 String ID_REGEX = [A-Za-z0-9_\\-.]+;
 This regular expression is far too restrictive since something like 
 x=+%$§~!#^.jar would be a valid filename on a windows operating system
 I stumbled upon this because I'm developing tools for SAP NetWeaver, 
 currently we still use maven 1 to build our projects but we're in the process 
 of upgrading to maven 2.
 maven 1 doesn't have this problem, since Id's didn't get validated like that.
 Problem is SAP have a lot of libraries that have '~' in their names, like 
 'tc~epbc~pcm~adminapi~java-5.x.y.jar'. Doesn't look any good, I don't like 
 it, I didn't make it like that but I have to work with it.
 Maybe someone can explain why it's a good idea to be that restrictive about 
 the Ids, but as far as I see it, it's more like: before MNG-801 there was no 
 validation, and after MNG-801 there was some validation, and until now, there 
 was not too much complaining about it.
 Attached is a pom which produces the following when trying to run mvn install:
 Project ID: group:com~company~my~project
 Validation Messages:
 [0]  'artifactId' with value 'com~company~my~project' does not match a 
 valid id pattern.
 Reason: Failed to validate POM for project group:com~company~my~project at 
 C:\test\validate\pom.xml
 [INFO] 
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to validate POM for 
 project group:com~company~my~project at C:\test\validate\pom.xml
 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
 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:324)
 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.project.InvalidProjectModelException: Failed to 
 validate POM for project group:com~company~my~project at 
 C:\test\validate\pom.xml
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1108)
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:878)
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
 at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
 at 
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
 ... 11 more

-- 
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-4001) Unable to resolve Dashboard mojo from Central

2009-01-24 Thread Brett Porter (JIRA)

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

Brett Porter closed MNG-4001.
-

  Assignee: Brett Porter
Resolution: Not A Bug

this is because the mojo is not listed here:

http://repo2.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml

for it to work from the command-line without a metadata entry, it must be 
listed in the build section, not the reporting section (which is only 
triggered during the 'site' lifecycle).

 Unable to resolve Dashboard mojo from Central
 -

 Key: MNG-4001
 URL: http://jira.codehaus.org/browse/MNG-4001
 Project: Maven 2
  Issue Type: Bug
  Components: Sites  Reporting
Affects Versions: 2.0.9
 Environment: Windows, JDK 1.6
Reporter: Anthony Whitford
Assignee: Brett Porter
 Attachments: dashbug.zip


 I have a simple test project that declares the dashboard-maven-plugin (see 
 http://mojo.codehaus.org/dashboard-maven-plugin/usage.html ).
 Note that the usage does explicitly state that the Codehaus repository must 
 be specified as a plugin repository...
 However, according to:  
 http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html
 I'm pretty sure that Maven should be able to resolve the 
 dashboard-maven-plugin from the central repo.
 I validated that the [dashboard-maven-plugin residing in 
 central|http://repo1.maven.org/maven2/org/codehaus/mojo/dashboard-maven-plugin/1.0.0-beta-1/]
  is indeed the same artifact as that which lives at the [codehaus 
 repository|http://repository.codehaus.org/org/codehaus/mojo/dashboard-maven-plugin/1.0.0-beta-1/].
 But as you can see from my attached test case, the codehaus mojo is NOT being 
 resolved without the special plugin repository defined.  When running 
 {noformat}mvn dashboard:dashboard{noformat}, I get the following error 
 message:
 {noformat}
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'dashboard'.
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-dashboard-plugin' does not 
 exist or no valid version could be found
 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Sat Jan 24 12:40:55 PST 2009
 [INFO] Final Memory: 1M/254M
 [INFO] 
 {noformat}
 If you edit the pom.xml to uncomment out the plugin repository declaration 
 for codehaus, it works as one would expect.
 My understanding is that the only reason why the Dashboard Usage mentions 
 their plugin repository is because the artifact was not available on the 
 central repository -- but it certainly is today.
 I also thought that perhaps the maven-metadata.xml might be incorrect 
 (perhaps the dashboard plugin prefix is missing or different).  I checked:
 * http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml
 * http://repository.codehaus.org/org/codehaus/mojo/maven-metadata.xml
 and they both look OK to me...  I clearly see:{code:xml}
 plugin
 nameMaven Dashboard Report Plugin/name 
 prefixdashboard/prefix 
 artifactIddashboard-maven-plugin/artifactId 
 /plugin
 {code}
 And I don't see any plugin with a dashboard prefix specified as an Apache 
 Maven Plugin here:
 * http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
 If I explicitly specify the dashboard plugin like:  {noformat}mvn 
 org.codehaus.mojo:dashboard-maven-plugin:dashboard{noformat}
 that works...
 Overall, I am recording a bug because the 
 [documentation|http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html]
  states:{quote}
 Maven will always search the following groupId's after searching any plugin 
 groups specified in the user's settings:
 * org.apache.maven.plugins 
 * org.codehaus.mojo 
 {quote}
 I don't see this being done.
 Finally, I even tried adding a {{pluginGroups}} to my 
 {{settings.xml}}:{code:xml}
 pluginGroups
   pluginGrouporg.codehaus.mojo/pluginGroup
 /pluginGroups
 {code}
 But that did not work either...

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