<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>issues@maven.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/maven-issues/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/maven-issues/"/>
<id>http://mail-archives.apache.org/mod_mbox/maven-issues/</id>
<updated>2009-12-08T04:28:47Z</updated>
<entry>
<title>[jira] Commented: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>&quot;Johannes Martin (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c25945015.29311.1260245275560.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c25945015-29311-1260245275560-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-08T04:07:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201674#action_201674
] 

Johannes Martin commented on MNG-4368:
--------------------------------------

I don't think the problem Tamás is experiencing has anything to do with this problem and the
fix implemented.

The problem here was that install ALWAYS copied files to their destination. The fix changed
this to copy the files only if their timestamp is newer than the destination's timestamp.


Tamás problem is that files are not copied even though their timestamp is newer than the destiniation's
(assuming that "do build" means "mvn clean install").

&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

       


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (MNG-4487) POM allows duplicate plugin configuration</title>
<author><name>&quot;Ken Wong (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c15415469.29231.1260239995191.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c15415469-29231-1260239995191-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-08T02:39:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
POM allows duplicate plugin configuration
-----------------------------------------

                 Key: MNG-4487
                 URL: http://jira.codehaus.org/browse/MNG-4487
             Project: Maven 2
          Issue Type: Improvement
    Affects Versions: 2.0.9
            Reporter: Ken Wong
            Priority: Minor


I have a project that uses FlexMOJO to compile the swc and then optimize and create a swf.
If you look at the following pom extract, you will see that I defined the configuration for
the same plugin twice (flexmojos-maven-plugin). There was no error but having the duplicate
definition caused maven to be confused and the locale and namespace parameters ended up being
'lost'. If I comment out the 2nd part, then it works. If having duplicate definition confuses
maven, it would be nice to have it throw an error when it sees duplicate configuration for
the same plugin, instead of yielding confusing result.

build&gt;
                &lt;plugins&gt;
                        &lt;plugin&gt;
                                &lt;groupId&gt;org.sonatype.flexmojos&lt;/groupId&gt;
                                &lt;artifactId&gt;flexmojos-maven-plugin&lt;/artifactId&gt;

                                &lt;configuration&gt;
                                        &lt;compiledLocales&gt;
                                                &lt;locale&gt;en_US&lt;/locale&gt;
                                                &lt;locale&gt;es_ES&lt;/locale&gt;
                                                &lt;locale&gt;ja_JP&lt;/locale&gt;
                                        &lt;/compiledLocales&gt;

resourceBundlePath&gt;

                                        &lt;namespaces&gt;
                                                &lt;namespace&gt;
                                                        &lt;uri&gt;http://www.stoneriver.com/2009/uicore&lt;/uri&gt;
                                                        &lt;manifest&gt;${basedir}/src/manifest.xml&lt;/manifest&gt;
                                                &lt;/namespace&gt;
                                        &lt;/namespaces&gt;

                                        &lt;includeNamespaces&gt;
                                                &lt;namespace&gt;http://www.stoneriver.com/2009/uicore&lt;/namespace&gt;
                                        &lt;/includeNamespaces&gt;

                                &lt;/configuration&gt;
                        &lt;/plugin&gt;


                                 &lt;plugin&gt;
                                 &lt;groupId&gt;org.sonatype.flexmojos&lt;/groupId&gt;
                                 &lt;artifactId&gt;flexmojos-maven-plugin&lt;/artifactId&gt;
                                 &lt;executions&gt;
                                 &lt;execution&gt;
                                 &lt;goals&gt;
                                 &lt;goal&gt;optimize&lt;/goal&gt;
                                 &lt;/goals&gt;
                                 &lt;/execution&gt;
                                 &lt;/executions&gt;
                                 &lt;/plugin&gt;
 
                &lt;/plugins&gt; 
&lt;/build&gt;

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MNG-4479) [regression] Project-level plugin dependencies ignored for direct CLI invocation if plugin key uses properties</title>
<author><name>&quot;Laird Nelson (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c18861583.29197.1260234475246.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c18861583-29197-1260234475246-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-08T01:07:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201638#action_201638
] 

Laird Nelson commented on MNG-4479:
-----------------------------------

Perhaps consider applying the fix to the 2.1 branch?

&gt; [regression] Project-level plugin dependencies ignored for direct CLI invocation if plugin
key uses properties
&gt; --------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4479
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4479
&gt;             Project: Maven 2
&gt;          Issue Type: Bug
&gt;          Components: Class Loading, Dependencies, Plugins and Lifecycle
&gt;    Affects Versions: 2.1.0-M1, 2.1.0, 2.2.0, 2.2.1
&gt;            Reporter: Laird Nelson
&gt;            Assignee: Benjamin Bentmann
&gt;             Fix For: 3.0-alpha-2
&gt;
&gt;         Attachments: mng-4479.zip
&gt;
&gt;
&gt; I have a plugin that makes use of the implementation attribute in its configuration.
 That is, one of its parameters is a plexus tag that specifies an implementation class to
use.
&gt; The implementation class comes from a jar that is the plugin's dependency, but that dependency
is included as part of the plugin configuration, not as part of the stock plugin.
&gt; This setup works fine when I bind the plugin's configuration via an execution to a normal
phase (generate-sources as it happens).
&gt; When I bind the plugin's configuration to the default-cli execution, plexus cannot configure
the component, claiming that the classname it encounters in the "implementation" attribute
cannot be found (even though, again, if I bind it to the generate-sources phase instead, via
another execution, same configuration, everything works fine.
&gt; I tried to debug this using mvn -X, but the output was totally baffling; sorry.  My raw
take is that it looks like dependency resolution in the default-cli execution is somehow performed
differently than when the plugin is run bound to a phase.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Issue Comment Edited: (MNG-4479) [regression] Project-level plugin dependencies ignored for direct CLI invocation if plugin key uses properties</title>
<author><name>&quot;Laird Nelson (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c29169963.29202.1260234475533.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c29169963-29202-1260234475533-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-08T01:07:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201638#action_201638
] 

Laird Nelson edited comment on MNG-4479 at 12/7/09 7:07 PM:
------------------------------------------------------------

Perhaps consider applying the fix to the 2.2.1 branch?

      was (Author: ljnelson):
    Perhaps consider applying the fix to the 2.1 branch?
  
&gt; [regression] Project-level plugin dependencies ignored for direct CLI invocation if plugin
key uses properties
&gt; --------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4479
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4479
&gt;             Project: Maven 2
&gt;          Issue Type: Bug
&gt;          Components: Class Loading, Dependencies, Plugins and Lifecycle
&gt;    Affects Versions: 2.1.0-M1, 2.1.0, 2.2.0, 2.2.1
&gt;            Reporter: Laird Nelson
&gt;            Assignee: Benjamin Bentmann
&gt;             Fix For: 3.0-alpha-2
&gt;
&gt;         Attachments: mng-4479.zip
&gt;
&gt;
&gt; I have a plugin that makes use of the implementation attribute in its configuration.
 That is, one of its parameters is a plexus tag that specifies an implementation class to
use.
&gt; The implementation class comes from a jar that is the plugin's dependency, but that dependency
is included as part of the plugin configuration, not as part of the stock plugin.
&gt; This setup works fine when I bind the plugin's configuration via an execution to a normal
phase (generate-sources as it happens).
&gt; When I bind the plugin's configuration to the default-cli execution, plexus cannot configure
the component, claiming that the classname it encounters in the "implementation" attribute
cannot be found (even though, again, if I bind it to the generate-sources phase instead, via
another execution, same configuration, everything works fine.
&gt; I tried to debug this using mvn -X, but the output was totally baffling; sorry.  My raw
take is that it looks like dependency resolution in the default-cli execution is somehow performed
differently than when the plugin is run bound to a phase.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>=?ISO-8859-1?Q?Tam=E1s_Cserven=E1k_=28JIRA=29?= &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c21087053.29159.1260228115366.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c21087053-29159-1260228115366-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T23:21:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201629#action_201629
] 

Tamás Cservenák commented on MNG-4368:
--------------------------------------

Brett, for now, I believe that having separate settings.xml (with separate local repo path)
will solve my problem. Will be PITA, but can live with it.

Paul, I do have separate checkouts. This is about local repository (~/.m2/repository), not
having files installed properly. Even with my example above, where I did wrote "svn switch",
you can do following instead to reproduce it:

checkout _all_ (checkout repo root, if you have /trunk, /tags, etc in root) and simply do
this instead of switch:

cd trunk
do build

cd ../branches/branchX
cd build

cd ../../trunk
do build

Same problem (if the branchX has newer POM than trunk, as I wrote above). And my cmd was always
"mvn clean install" (so did clean target dirs). And T0, T1 and T2 builds were running sequentially,
one by one.

&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

       


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Issue Comment Edited: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>&quot;Paul Benedict (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c11372471.29144.1260226915322.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c11372471-29144-1260226915322-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T23:01:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201624#action_201624
] 

Paul Benedict edited comment on MNG-4368 at 12/7/09 5:00 PM:
-------------------------------------------------------------

I think the problem here is that you are dirtying your target directory while performing all
these switches. I don't mean to sound anything but polite, but I have never seen anyone ever
do that; separate checkout directories are the norm for concurrent work. If you switch back
and forth, you should clean the target first.

      was (Author: paul4christ79):
    I think the problem here is that you are dirtying your target directory while performing
all these switches. I don't mean to sound anything but polite, but I have never seen anyone
ever do that; separate checkout directories are the norm. If you switch back and forth, you
should clean the target first.
  
&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>&quot;Paul Benedict (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c21187365.29135.1260226795271.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c21187365-29135-1260226795271-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T22:59:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201624#action_201624
] 

Paul Benedict commented on MNG-4368:
------------------------------------

I think the problem here is that you are dirtying your target directory while performing all
these switches. I don't mean to sound anything but polite, but I have never seen anyone ever
do that; separate checkout directories are the norm. If you switch back and forth, you should
clean the target first.

&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>&quot;Brett Porter (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c1967205.29114.1260225655216.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c1967205-29114-1260225655216-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T22:40:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201620#action_201620
] 

Brett Porter commented on MNG-4368:
-----------------------------------

I still believe the answer to be workspaces in the local repository, but that proposal didn't
get any traction.

Having read the list now, I think there was a pragmatic solution proposed with regards to
the timestamps, that combined with an option to override, would provide a suitable alternative
here.

&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (MSITE-439) mvn site command creates css, images, but no html files</title>
<author><name>&quot;John Cheng (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c23728281.29109.1260225295167.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c23728281-29109-1260225295167-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T22:34:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
mvn site command creates css, images, but no html files
-------------------------------------------------------

                 Key: MSITE-439
                 URL: http://jira.codehaus.org/browse/MSITE-439
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0.1
         Environment: maven-site-plugin:2.0.1 with Apache Maven 3.0-alpha-5 
            Reporter: John Cheng


I read about http://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html and MNG-4162, but
I am not sure if what I am seeing is the expected behavior, or if it should be reported as
a bug. 

To reproduce, use Maven 3.0 alpha 5. Create the maven-archetype-webapp project, and try to
generate a site for it.

mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp
cd my-webapp
mvn site
ls -l target/site

Expected to see index.html, etc.,

The result I see is a css folder and a image folder, but nothing else. Is there a way to generate
a site using Maven 3?

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>=?ISO-8859-1?Q?Tam=E1s_Cserven=E1k_=28JIRA=29?= &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c29157716.29103.1260224875158.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c29157716-29103-1260224875158-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T22:27:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201618#action_201618
] 

Tamás Cservenák commented on MNG-4368:
--------------------------------------

The fact is, that I did full rebuild, and was completely puzzled after T2 why my build fails
with - well, let's say "strange" at least - error. All three builds (T0, T1 and T2) were full
builds.

And as I noted the same thing on MavenDev list: if maven "best practice" requires you to have
_different_ version on _every existing branch_, how this fit Git or any other Distributed
SCM? Who will coordinate these versions, that may exist in multiple Git repositories out there?

&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

       


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>&quot;Brett Porter (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c7326246.29090.1260224215250.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c7326246-29090-1260224215250-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T22:16:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201617#action_201617
] 

Brett Porter commented on MNG-4368:
-----------------------------------

Even if this is reverted, the above will run into problems if you don't do a complete rebuild
every time you switch branches. I would advocate renaming the version on your branches (using
the versions plugin, or created with release:branch, for example), if they are not actually
the same development version of things.

&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Issue Comment Edited: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>&quot;Brett Porter (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c22996019.29099.1260224215436.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c22996019-29099-1260224215436-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T22:16:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201617#action_201617
] 

Brett Porter edited comment on MNG-4368 at 12/7/09 4:16 PM:
------------------------------------------------------------

Even if this is reverted, the above will run into problems if you don't do a complete rebuild
every time you switch branches. I would advocate renaming the version on your branches (using
the versions plugin, or created with release:branch, for example), if they are not actually
the same development version of things.

However, an option to force installation would be a helpful thing to add.

      was (Author: brettporter):
    Even if this is reverted, the above will run into problems if you don't do a complete
rebuild every time you switch branches. I would advocate renaming the version on your branches
(using the versions plugin, or created with release:branch, for example), if they are not
actually the same development version of things.
  
&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Issue Comment Edited: (MJAVADOC-276) Initial builds of a multi-module project fail</title>
<author><name>&quot;Arnaud Heritier (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c3830598.29077.1260223075194.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c3830598-29077-1260223075194-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T21:57:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MJAVADOC-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201614#action_201614
] 

Arnaud Heritier edited comment on MJAVADOC-276 at 12/7/09 3:56 PM:
-------------------------------------------------------------------

Same thing for me with maven 2.2.1 and javadoc plugin 2.6.1. The release fails because it
doesn't find artifacts it didn't yet build.
My config was :
{code:xml}
          &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
            &lt;executions&gt;
              &lt;execution&gt;
                &lt;id&gt;aggregate&lt;/id&gt;
                &lt;goals&gt;
                  &lt;goal&gt;aggregate-jar&lt;/goal&gt;
                &lt;/goals&gt;
              &lt;/execution&gt;
            &lt;/executions&gt;
          &lt;/plugin&gt;
{code}

      was (Author: aheritier):
    Same thing for me. The release fails because it doesn't find artifacts it didn't yet build.
My config was :
{code:xml}
          &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
            &lt;executions&gt;
              &lt;execution&gt;
                &lt;id&gt;aggregate&lt;/id&gt;
                &lt;goals&gt;
                  &lt;goal&gt;aggregate-jar&lt;/goal&gt;
                &lt;/goals&gt;
              &lt;/execution&gt;
            &lt;/executions&gt;
          &lt;/plugin&gt;
{code}
  
&gt; Initial builds of a multi-module project fail
&gt; ---------------------------------------------
&gt;
&gt;                 Key: MJAVADOC-276
&gt;                 URL: http://jira.codehaus.org/browse/MJAVADOC-276
&gt;             Project: Maven 2.x Javadoc Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.6.1
&gt;         Environment: Java jdk1.6.0_16, Maven 2.2.1, Windows Vista 64-bit
&gt; Java jdk1.6.0_05, Maven 2.0.9, Windows XP 32-bit
&gt;            Reporter: Anthony Whitford
&gt;            Priority: Blocker
&gt;         Attachments: bug.zip
&gt;
&gt;
&gt; I ran into a problem using Maven Javadoc Plugin 2.6.1 right after I released...  I went
from version 1.15 to 1.16-SNAPSHOT, and my 1.16-SNAPSHOT build failed ({{mvn clean install
site}}) because Javadoc fails when run from the top-level parent.  When it is building _module
A_, the javadoc complains that _module B_ and _module C_ are missing -- of course they are,
they haven't been built yet.  Note that running {{mvn clean install}} from _module A_ works
fine -- the behavior is limited to running from the top-level parent -- AND, if you run a
{{mvn install}} for _module B_ and _module C_, then you have given it what it needs and so
you won't see the error.
&gt; The attached example exhibits the problem.  It was created from the _j2ee-simple_ archetype
-- I only added the explicit javadoc plugin declaration to the top level pom to control the
version being used.  To recreate the problem, unzip and simply:  {{mvn clean install site}}.
 You will get an error message like:
&gt; {noformat}
&gt; [INFO] Unable to find resource 'root.project.projects:logging:jar:1.0' in repository
central (http://repo1.maven.org/maven2)
&gt; [INFO] ------------------------------------------------------------------------
&gt; [ERROR] BUILD ERROR
&gt; [INFO] ------------------------------------------------------------------------
&gt; [INFO] Failed to resolve artifact.
&gt; Missing:
&gt; ----------
&gt; 1) root.project.projects:logging:jar:1.0
&gt;   Try downloading the file manually from the project website.
&gt;   Then, install it using the command:
&gt;       mvn install:install-file -DgroupId=root.project.projects -DartifactId=logging -Dversion=1.0
-Dpackaging=jar -Dfile=/path/to/file
&gt;   Alternatively, if you host your own repository you can deploy the file there:
&gt;       mvn deploy:deploy-file -DgroupId=root.project.projects -DartifactId=logging -Dversion=1.0
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=
&gt; [id]
&gt;   Path to dependency:
&gt;         1) root.project:primary-source:jar:1.0
&gt;         2) root.project.projects:logging:jar:1.0
&gt; ----------
&gt; 1 required artifact is missing.
&gt; for artifact:
&gt;   root.project:primary-source:jar:1.0
&gt; from the specified remote repositories:
&gt;   central (http://repo1.maven.org/maven2)
&gt; {noformat}
&gt; As you can see, it seems to think that a submodule (in this case {{root.project.projects:logging:jar:1.0}})
is necessary to build the javadoc for the project...  Since this is the first time that this
is being built, the submodule does not exist (yet).
&gt; I have replicated this problem on two different computing environments, so I'm convinced
that the Maven version is not relevant.
&gt; (It is unclear to me if this problem also existed with Javadoc 2.6, but I don't think
so.)

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MJAVADOC-276) Initial builds of a multi-module project fail</title>
<author><name>&quot;Arnaud Heritier (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c30623504.29074.1260222955157.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c30623504-29074-1260222955157-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T21:55:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MJAVADOC-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201614#action_201614
] 

Arnaud Heritier commented on MJAVADOC-276:
------------------------------------------

Same thing for me. The release fails because it doesn't find artifacts it didn't yet build.
My config was :
{code:xml}
          &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
            &lt;executions&gt;
              &lt;execution&gt;
                &lt;id&gt;aggregate&lt;/id&gt;
                &lt;goals&gt;
                  &lt;goal&gt;aggregate-jar&lt;/goal&gt;
                &lt;/goals&gt;
              &lt;/execution&gt;
            &lt;/executions&gt;
          &lt;/plugin&gt;
{code}

&gt; Initial builds of a multi-module project fail
&gt; ---------------------------------------------
&gt;
&gt;                 Key: MJAVADOC-276
&gt;                 URL: http://jira.codehaus.org/browse/MJAVADOC-276
&gt;             Project: Maven 2.x Javadoc Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.6.1
&gt;         Environment: Java jdk1.6.0_16, Maven 2.2.1, Windows Vista 64-bit
&gt; Java jdk1.6.0_05, Maven 2.0.9, Windows XP 32-bit
&gt;            Reporter: Anthony Whitford
&gt;            Priority: Blocker
&gt;         Attachments: bug.zip
&gt;
&gt;
&gt; I ran into a problem using Maven Javadoc Plugin 2.6.1 right after I released...  I went
from version 1.15 to 1.16-SNAPSHOT, and my 1.16-SNAPSHOT build failed ({{mvn clean install
site}}) because Javadoc fails when run from the top-level parent.  When it is building _module
A_, the javadoc complains that _module B_ and _module C_ are missing -- of course they are,
they haven't been built yet.  Note that running {{mvn clean install}} from _module A_ works
fine -- the behavior is limited to running from the top-level parent -- AND, if you run a
{{mvn install}} for _module B_ and _module C_, then you have given it what it needs and so
you won't see the error.
&gt; The attached example exhibits the problem.  It was created from the _j2ee-simple_ archetype
-- I only added the explicit javadoc plugin declaration to the top level pom to control the
version being used.  To recreate the problem, unzip and simply:  {{mvn clean install site}}.
 You will get an error message like:
&gt; {noformat}
&gt; [INFO] Unable to find resource 'root.project.projects:logging:jar:1.0' in repository
central (http://repo1.maven.org/maven2)
&gt; [INFO] ------------------------------------------------------------------------
&gt; [ERROR] BUILD ERROR
&gt; [INFO] ------------------------------------------------------------------------
&gt; [INFO] Failed to resolve artifact.
&gt; Missing:
&gt; ----------
&gt; 1) root.project.projects:logging:jar:1.0
&gt;   Try downloading the file manually from the project website.
&gt;   Then, install it using the command:
&gt;       mvn install:install-file -DgroupId=root.project.projects -DartifactId=logging -Dversion=1.0
-Dpackaging=jar -Dfile=/path/to/file
&gt;   Alternatively, if you host your own repository you can deploy the file there:
&gt;       mvn deploy:deploy-file -DgroupId=root.project.projects -DartifactId=logging -Dversion=1.0
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=
&gt; [id]
&gt;   Path to dependency:
&gt;         1) root.project:primary-source:jar:1.0
&gt;         2) root.project.projects:logging:jar:1.0
&gt; ----------
&gt; 1 required artifact is missing.
&gt; for artifact:
&gt;   root.project:primary-source:jar:1.0
&gt; from the specified remote repositories:
&gt;   central (http://repo1.maven.org/maven2)
&gt; {noformat}
&gt; As you can see, it seems to think that a submodule (in this case {{root.project.projects:logging:jar:1.0}})
is necessary to build the javadoc for the project...  Since this is the first time that this
is being built, the submodule does not exist (yet).
&gt; I have replicated this problem on two different computing environments, so I'm convinced
that the Maven version is not relevant.
&gt; (It is unclear to me if this problem also existed with Javadoc 2.6, but I don't think
so.)

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MRESOURCES-110) escapeString is broken - break filtered output</title>
<author><name>&quot;Andrew Williams (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c23648186.29069.1260222415178.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c23648186-29069-1260222415178-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T21:46:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MRESOURCES-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201613#action_201613
] 

Andrew Williams commented on MRESOURCES-110:
--------------------------------------------

Yes, it strips the next character if the escapeString is not followed by a filter character.
Very annoying!

&gt; escapeString is broken - break filtered output
&gt; ----------------------------------------------
&gt;
&gt;                 Key: MRESOURCES-110
&gt;                 URL: http://jira.codehaus.org/browse/MRESOURCES-110
&gt;             Project: Maven 2.x Resources Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.4, 2.4.1
&gt;         Environment: Maven 2.0.9, WinXP 
&gt;            Reporter: Marco Rothe
&gt;            Priority: Critical
&gt;
&gt; If the escapeString parameter is specified in plugin configuration this will break the
filtered output.
&gt; For example the configuration
&gt; &lt;plugin&gt;
&gt;    &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
&gt;    &lt;version&gt;2.4.1&lt;/version&gt;
&gt;    &lt;configuration&gt;
&gt;      &lt;escapeString&gt;!&lt;/escapeString&gt;
&gt;    &lt;/configuration&gt;
&gt; &lt;/plugin&gt;
&gt; an file to filter (an XML file)
&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;root&gt;
&gt;     &lt;!-- This is a comment ... until filtering ... --&gt;
&gt;    &lt;broken-tag&gt;Why are my !\${\}\! static.content broken if the escapeString occure
?!?&lt;/broken-tag&gt;
&gt;    &lt;broken-tag&gt;Content with replacement: ${replaceThis} !&lt;/broken-tag&gt;
&gt;    &lt;broken-tag&gt;Content with escaped replacement: Do not !${replaceThis} !&lt;/broken-tag&gt;
&gt; &lt;/root&gt;
&gt; and a property
&gt;  &lt;properties&gt;
&gt;         &lt;replaceThis&gt;I am the replacement&lt;/replaceThis&gt;
&gt;  &lt;/properties&gt;
&gt; from pom or profile.xml
&gt; result in
&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;root&gt;
&gt;     &lt;!- This is a comment ... until filtering ... --&gt;
&gt;    &lt;broken-tag&gt;Why are my !${\}\!static.content broken if the escapeString occure
?!&lt;/broken-tag&gt;
&gt;    &lt;broken-tag&gt;Content with replacement: I am the replacement !/broken-tag&gt;
&gt;    &lt;broken-tag&gt;Content with escaped replacement: Do not ${replaceThis} !/broken-tag&gt;
&gt; &lt;/root&gt;
&gt; Note the broken comment and tags! 
&gt; If using Resources-Plugin 2.3 the output is like expected:
&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;root&gt;
&gt;     &lt;!-- This is a comment ... until filtering ... --&gt;
&gt;    &lt;broken-tag&gt;Why are my !\${\}\! static.content broken if the escapeString occure
?!?&lt;/broken-tag&gt;
&gt;    &lt;broken-tag&gt;Content with replacement: I am the replacement !&lt;/broken-tag&gt;
&gt;    &lt;broken-tag&gt;Content with escaped replacement: Do not ${replaceThis} !&lt;/broken-tag&gt;
&gt; &lt;/root&gt;
&gt; Got even worse when using a complex escape string like &lt;escapeString&gt;static&lt;/escapeString&gt;
(I know it's a silly example ;)). The result is
&gt; &lt;?xml version=".0" encoding="UTF-8"?&gt;
&gt; &lt;root&gt;
&gt;     &lt;!-- This is acomment ... until filtering ... --&gt;
&gt;    &lt;broken-tag&gt;Why are my !\${\}\! staticcontent broken if the escapeSring occure
?!?&lt;/broken-tag&gt;
&gt;    &lt;broken-tag&gt;Content with replacement: I am the replacement !&lt;/broken-tag&gt;
&gt;    &lt;broken-tag&gt;Content with escapedreplacement: Do not !I am the replacement !&lt;/broken-tag&gt;
&gt; &lt;/root&gt;
&gt; Note the missing characters all over the file ... :-/
&gt; So the actual state of the escapeString feature is unpredictable and nearly useless.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (MRELEASE-238) release:prepare hangs at cvs update</title>
<author><name>&quot;Jeff French (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c13218904.29063.1260221455281.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c13218904-29063-1260221455281-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T21:30:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Jeff French updated MRELEASE-238:
---------------------------------

    Attachment: release.txt

I'm also getting the problem with beta-8 and beta-9, and was asked to upload the results of
my 'mvn -X release:prepare'. The beta-5 version does work for me.


&gt; release:prepare hangs at cvs update
&gt; -----------------------------------
&gt;
&gt;                 Key: MRELEASE-238
&gt;                 URL: http://jira.codehaus.org/browse/MRELEASE-238
&gt;             Project: Maven 2.x Release Plugin
&gt;          Issue Type: Bug
&gt;          Components: prepare
&gt;    Affects Versions: 2.0-beta-6
&gt;            Reporter: Lothar Hegebart
&gt;            Priority: Blocker
&gt;         Attachments: release.txt
&gt;
&gt;
&gt; release:prepare just hangs indefinitely, no more information given by -X and -e
&gt; when i define version 2.0-beta-5 as plugin version it works just fine

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (MNG-4486) Maven appears to ignore http 301; downloads html as jar</title>
<author><name>&quot;Benjamin Bentmann (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c17828283.29041.1260219115206.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c17828283-29041-1260219115206-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T20:51:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Benjamin Bentmann closed MNG-4486.
----------------------------------

    Resolution: Duplicate
      Assignee: Benjamin Bentmann

&gt; Maven appears to ignore http 301; downloads html as jar
&gt; -------------------------------------------------------
&gt;
&gt;                 Key: MNG-4486
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4486
&gt;             Project: Maven 2
&gt;          Issue Type: Bug
&gt;          Components: Artifacts and Repositories
&gt;    Affects Versions: 2.2.1
&gt;         Environment: WinXP and Solaris10
&gt;            Reporter: David Biesack
&gt;            Assignee: Benjamin Bentmann
&gt;
&gt; Our Maven builds are configured with just two repositories,
&gt; http://repo1.maven.org/maven2 and http://scala-tools.org/repo-releases
&gt; (We use Artifactory as a central repo cache)
&gt; But since Friday, I've noticed builds failing because builds are trying to
&gt; download jms-1.1.jar from maven-repository.dev.java.net even though that is not in our
repo path
&gt; or configuration.
&gt; when I run with -X I see a failure trying to download jmx-1.1.jar from central,
&gt; followed by:
&gt;  Downloading:
&gt; https://maven-repository.dev.java.net/nonav/repository/javax.jms/jars/jms-1.1.jar
&gt;  347b downloaded
&gt;  [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
&gt; 'd0b7ce08d257e8fefdc6ad0f0f0368635bbeb3d0'; remote = '&lt;!DOCTYPE' - RETRYING
&gt; Worse, what gets downloaded is not a jar but some html. Maven seems to
&gt; ignore the 301 status and thinks this is a jar. The contents are:
&gt;    &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
&gt;    &lt;html&gt;&lt;head&gt;
&gt;    &lt;title&gt;301 Moved Permanently&lt;/title&gt;
&gt;    &lt;/head&gt;&lt;body&gt;
&gt;    &lt;h1&gt;Moved Permanently&lt;/h1&gt;
&gt;    &lt;p&gt;The document has moved &lt;a href="
&gt; http://download.java.net/maven/1/javax.jms/jars/jms-1.1.jar"&gt;here&lt;/a&gt;.&lt;/p&gt;
&gt;    &lt;hr&gt;
&gt;    &lt;address&gt;Apache Server at maven-repository.dev.java.net Port
&gt; 443&lt;/address&gt;
&gt;    &lt;/body&gt;&lt;/html&gt;
&gt; http://repo2.maven.org/maven2/javax/jms/jms/1.1/ contains a pom.xml but no jar.
&gt; However, http://repository.jboss.com/maven2/javax/jms/jms/1.1/ has the jar.
&gt; my project does not even depend on jms directly; it appears to be one of the
&gt; internal Maven compile or site targets that cause it to get loaded, but I'm not sure
which.
&gt; In artifactory's config, we specify:
&gt;   &lt;remoteRepositories&gt;
&gt;        &lt;remoteRepository&gt;
&gt;            &lt;key&gt;repo1&lt;/key&gt;
&gt;            &lt;handleReleases&gt;true&lt;/handleReleases&gt;
&gt;            &lt;handleSnapshots&gt;false&lt;/handleSnapshots&gt;
&gt;  &lt;excludesPattern&gt;org/artifactory/**,org/jfrog/**&lt;/excludesPattern&gt;
&gt;            &lt;url&gt;http://repo1.maven.org/maven2&lt;/url&gt;
&gt;            &lt;proxyRef&gt;SASproxy&lt;/proxyRef&gt;
&gt;        &lt;/remoteRepository&gt;
&gt;        &lt;remoteRepository&gt;
&gt;            &lt;key&gt;scala-tools.org&lt;/key&gt;
&gt;            &lt;handleReleases&gt;true&lt;/handleReleases&gt;
&gt;            &lt;handleSnapshots&gt;false&lt;/handleSnapshots&gt;
&gt;            &lt;url&gt;http://scala-tools.org/repo-releases&lt;/url&gt;
&gt;            &lt;proxyRef&gt;SASproxy&lt;/proxyRef&gt;
&gt;        &lt;/remoteRepository&gt;
&gt;   &lt;/remoteRepositories&gt;
&gt; My ~/.m2/settings.xml is empty and /usr/local/maven/conf/settings.xml simply
&gt; points to my Artifactory server, no other repos in the profile:
&gt;  &lt;profiles&gt;
&gt;    &lt;profile&gt;
&gt;      &lt;id&gt;artifactory&lt;/id&gt;
&gt;      &lt;activation&gt;&lt;activeByDefault&gt;true&lt;/activeByDefault&gt;&lt;/activation&gt;
&gt;         &lt;repositories&gt;
&gt;             &lt;repository&gt;
&gt;                 &lt;id&gt;central&lt;/id&gt;
&gt;                 &lt;url&gt;http://aclmvn.unx.sas.com:8192/artifactory/repo&lt;/url&gt;
&gt;                 &lt;snapshots&gt;
&gt;                     &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                 &lt;/snapshots&gt;
&gt;             &lt;/repository&gt;
&gt;             &lt;repository&gt;
&gt;                 &lt;id&gt;snapshots&lt;/id&gt;
&gt;                 &lt;url&gt;http://aclmvn.unx.sas.com:8192/artifactory/repo&lt;/url&gt;
&gt;                 &lt;releases&gt;
&gt;                     &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                 &lt;/releases&gt;
&gt;             &lt;/repository&gt;
&gt;         &lt;/repositories&gt;
&gt;         &lt;pluginRepositories&gt;
&gt;             &lt;pluginRepository&gt;
&gt;                 &lt;id&gt;central&lt;/id&gt;
&gt;                 &lt;url&gt;http://aclmvn.unx.sas.com:8192/artifactory/repo&lt;/url&gt;
&gt;                 &lt;snapshots&gt;
&gt;                     &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                 &lt;/snapshots&gt;
&gt;             &lt;/pluginRepository&gt;
&gt;             &lt;pluginRepository&gt;
&gt;                 &lt;id&gt;snapshots&lt;/id&gt;
&gt;                 &lt;url&gt;http://aclmvn.unx.sas.com:8192/artifactory/repo&lt;/url&gt;
&gt;                 &lt;releases&gt;
&gt;                     &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                 &lt;/releases&gt;
&gt;             &lt;/pluginRepository&gt;
&gt;         &lt;/pluginRepositories&gt;
&gt;    &lt;/profile&gt;
&gt;  &lt;/profiles&gt;
&gt; I was able to workaround this by downloading jms-1.1.jar and putting it in our
&gt; Artifactory repo, but I think that is simply masking a problem, so this will
&gt; probably pop back up.
&gt; Perhaps the problem is at central; I don't know if it every had a jms-1.1.jar;
&gt; as I said, we did not depend on it directly, so we suspect some other
&gt; plugin now uses it that did not, or the jar was incorrectly removed
&gt; from central. But the fact that Maven downloaded the html as a jar
&gt; caused problems, because after each build failure, I had to manually
&gt; clean up my bad ~/.m2/repository

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (MNG-4486) Maven appears to ignore http 301; downloads html as jar</title>
<author><name>&quot;David Biesack (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c21714836.29040.1260218935509.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c21714836-29040-1260218935509-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T20:48:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Maven appears to ignore http 301; downloads html as jar
-------------------------------------------------------

                 Key: MNG-4486
                 URL: http://jira.codehaus.org/browse/MNG-4486
             Project: Maven 2
          Issue Type: Bug
          Components: Artifacts and Repositories
    Affects Versions: 2.2.1
         Environment: WinXP and Solaris10
            Reporter: David Biesack


Our Maven builds are configured with just two repositories,
http://repo1.maven.org/maven2 and http://scala-tools.org/repo-releases
(We use Artifactory as a central repo cache)

But since Friday, I've noticed builds failing because builds are trying to
download jms-1.1.jar from maven-repository.dev.java.net even though that is not in our repo
path
or configuration.

when I run with -X I see a failure trying to download jmx-1.1.jar from central,
followed by:

 Downloading:
https://maven-repository.dev.java.net/nonav/repository/javax.jms/jars/jms-1.1.jar
 347b downloaded
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'd0b7ce08d257e8fefdc6ad0f0f0368635bbeb3d0'; remote = '&lt;!DOCTYPE' - RETRYING

Worse, what gets downloaded is not a jar but some html. Maven seems to
ignore the 301 status and thinks this is a jar. The contents are:

   &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
   &lt;html&gt;&lt;head&gt;
   &lt;title&gt;301 Moved Permanently&lt;/title&gt;
   &lt;/head&gt;&lt;body&gt;
   &lt;h1&gt;Moved Permanently&lt;/h1&gt;
   &lt;p&gt;The document has moved &lt;a href="
http://download.java.net/maven/1/javax.jms/jars/jms-1.1.jar"&gt;here&lt;/a&gt;.&lt;/p&gt;
   &lt;hr&gt;
   &lt;address&gt;Apache Server at maven-repository.dev.java.net Port
443&lt;/address&gt;
   &lt;/body&gt;&lt;/html&gt;

http://repo2.maven.org/maven2/javax/jms/jms/1.1/ contains a pom.xml but no jar.
However, http://repository.jboss.com/maven2/javax/jms/jms/1.1/ has the jar.

my project does not even depend on jms directly; it appears to be one of the
internal Maven compile or site targets that cause it to get loaded, but I'm not sure which.

In artifactory's config, we specify:

  &lt;remoteRepositories&gt;
       &lt;remoteRepository&gt;
           &lt;key&gt;repo1&lt;/key&gt;
           &lt;handleReleases&gt;true&lt;/handleReleases&gt;
           &lt;handleSnapshots&gt;false&lt;/handleSnapshots&gt;

 &lt;excludesPattern&gt;org/artifactory/**,org/jfrog/**&lt;/excludesPattern&gt;
           &lt;url&gt;http://repo1.maven.org/maven2&lt;/url&gt;
           &lt;proxyRef&gt;SASproxy&lt;/proxyRef&gt;
       &lt;/remoteRepository&gt;

       &lt;remoteRepository&gt;
           &lt;key&gt;scala-tools.org&lt;/key&gt;
           &lt;handleReleases&gt;true&lt;/handleReleases&gt;
           &lt;handleSnapshots&gt;false&lt;/handleSnapshots&gt;
           &lt;url&gt;http://scala-tools.org/repo-releases&lt;/url&gt;
           &lt;proxyRef&gt;SASproxy&lt;/proxyRef&gt;
       &lt;/remoteRepository&gt;
  &lt;/remoteRepositories&gt;

My ~/.m2/settings.xml is empty and /usr/local/maven/conf/settings.xml simply
points to my Artifactory server, no other repos in the profile:

 &lt;profiles&gt;
   &lt;profile&gt;
     &lt;id&gt;artifactory&lt;/id&gt;
     &lt;activation&gt;&lt;activeByDefault&gt;true&lt;/activeByDefault&gt;&lt;/activation&gt;

        &lt;repositories&gt;
            &lt;repository&gt;
                &lt;id&gt;central&lt;/id&gt;
                &lt;url&gt;http://aclmvn.unx.sas.com:8192/artifactory/repo&lt;/url&gt;
                &lt;snapshots&gt;
                    &lt;enabled&gt;false&lt;/enabled&gt;
                &lt;/snapshots&gt;
            &lt;/repository&gt;
            &lt;repository&gt;
                &lt;id&gt;snapshots&lt;/id&gt;
                &lt;url&gt;http://aclmvn.unx.sas.com:8192/artifactory/repo&lt;/url&gt;
                &lt;releases&gt;
                    &lt;enabled&gt;false&lt;/enabled&gt;
                &lt;/releases&gt;
            &lt;/repository&gt;
        &lt;/repositories&gt;
        &lt;pluginRepositories&gt;
            &lt;pluginRepository&gt;
                &lt;id&gt;central&lt;/id&gt;
                &lt;url&gt;http://aclmvn.unx.sas.com:8192/artifactory/repo&lt;/url&gt;
                &lt;snapshots&gt;
                    &lt;enabled&gt;false&lt;/enabled&gt;
                &lt;/snapshots&gt;
            &lt;/pluginRepository&gt;
            &lt;pluginRepository&gt;
                &lt;id&gt;snapshots&lt;/id&gt;
                &lt;url&gt;http://aclmvn.unx.sas.com:8192/artifactory/repo&lt;/url&gt;
                &lt;releases&gt;
                    &lt;enabled&gt;false&lt;/enabled&gt;
                &lt;/releases&gt;
            &lt;/pluginRepository&gt;
        &lt;/pluginRepositories&gt;

   &lt;/profile&gt;
 &lt;/profiles&gt;

I was able to workaround this by downloading jms-1.1.jar and putting it in our
Artifactory repo, but I think that is simply masking a problem, so this will
probably pop back up.

Perhaps the problem is at central; I don't know if it every had a jms-1.1.jar;
as I said, we did not depend on it directly, so we suspect some other
plugin now uses it that did not, or the jar was incorrectly removed
from central. But the fact that Maven downloaded the html as a jar
caused problems, because after each build failure, I had to manually
clean up my bad ~/.m2/repository


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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (ARCHETYPE-202) Can't download archetype-catalog.xml via proxy connection</title>
<author><name>&quot;Bruce Albrecht (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c28184446.28948.1260210235238.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c28184446-28948-1260210235238-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T18:23:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/ARCHETYPE-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201597#action_201597
] 

Bruce Albrecht commented on ARCHETYPE-202:
------------------------------------------

We have an internal repository that requires authentication (thank you, paranoid security
drones), and it fails to retrieve archetype-catalog.xml also.

&gt; Can't download archetype-catalog.xml via proxy connection
&gt; ---------------------------------------------------------
&gt;
&gt;                 Key: ARCHETYPE-202
&gt;                 URL: http://jira.codehaus.org/browse/ARCHETYPE-202
&gt;             Project: Maven Archetype
&gt;          Issue Type: Bug
&gt;          Components: Archetypes
&gt;    Affects Versions: 2.0-alpha-2
&gt;         Environment: Windows XP 2002 SP3, Maven version 2.0.9, Java 1.6.0_06, internet
connection via proxy.
&gt;            Reporter: Leonid E. Egorov
&gt;            Priority: Minor
&gt;
&gt; According "Your first Cocoon application using Maven 2" (http://cocoon.apache.org/2.2/1159_1_1.html)
after execution:
&gt; mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org user should enter
into dialog about selecting archetype but nothing happen. Error message:
&gt; D:\MySolutions\java\cocoon\demo&gt;mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org
&gt; [INFO] Scanning for projects...
&gt; [INFO] Searching repository for plugin with prefix: 'archetype'.
&gt; [INFO] ------------------------------------------------------------------------
&gt; [INFO] Building Maven Default Project
&gt; [INFO]    task-segment: [archetype:generate] (aggregator-style)
&gt; [INFO] ------------------------------------------------------------------------
&gt; [INFO] Preparing archetype:generate
&gt; [INFO] No goals needed for project - skipping
&gt; [INFO] Setting property: classpath.resource.loader.class =&gt; 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
&gt; [INFO] Setting property: velocimacro.messages.on =&gt; 'false'.
&gt; [INFO] Setting property: resource.loader =&gt; 'classpath'.
&gt; [INFO] Setting property: resource.manager.logwhenfound =&gt; 'false'.
&gt; [INFO] [archetype:generate]
&gt; [INFO] Generating project in Interactive mode
&gt; [WARNING] Error reading archetype catalog http://cocoon.apache.org
&gt; org.apache.maven.wagon.TransferFailedException: Error transferring file
&gt;         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104)
&gt;         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
&gt;         at org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.getArchetypeCatalog(RemoteCatalogArchetypeDataSource.java:74)
&gt;         at org.apache.maven.archetype.DefaultArchetype.getRemoteCatalog(DefaultArchetype.java:203)
&gt;         at org.apache.maven.archetype.ui.DefaultArchetypeSelector.getArchetypesByCatalog(DefaultArchetypeSelector.java:249)
&gt;         at org.apache.maven.archetype.ui.DefaultArchetypeSelector.selectArchetype(DefaultArchetypeSelector.java:74)
&gt;         at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:180)
&gt;         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
&gt;         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
&gt;         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
&gt;         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
&gt;         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
&gt;         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
&gt;         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
&gt;         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
&gt;         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
&gt;         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
&gt;         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;         at java.lang.reflect.Method.invoke(Method.java:597)
&gt;         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt;         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt;         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt;         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt; Caused by: java.net.NoRouteToHostException: No route to host: connect
&gt;         at java.net.PlainSocketImpl.socketConnect(Native Method)
&gt;         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
&gt;         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
&gt;         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
&gt;         at java.net.Socket.connect(Socket.java:519)
&gt;         at java.net.Socket.connect(Socket.java:469)
&gt;         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
&gt;         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
&gt;         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
&gt;         at sun.net.www.http.HttpClient.&lt;init&gt;(HttpClient.java:233)
&gt;         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
&gt;         at sun.net.www.http.HttpClient.New(HttpClient.java:323)
&gt;         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)
&gt;         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)
&gt;         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)
&gt;         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)
&gt;         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
&gt;         ... 24 more
&gt; [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
&gt; Choose archetype:
&gt; Choose a number: : Choose archetype:
&gt; Choose a number: : &amp;#1047;&amp;#1072;&amp;#1074;&amp;#1077;&amp;#1088;&amp;#1096;&amp;#1080;&amp;#1090;&amp;#1100;
&amp;#1074;&amp;#1099;&amp;#1087;&amp;#1086;&amp;#1083;&amp;#1085;&amp;#1077;&amp;#1085;&amp;#1080;&amp;#1077;
&amp;#1087;&amp;#1072;&amp;#1082;&amp;#1077;&amp;#1090;&amp;#1085;&amp;#1086;&amp;#1075;&amp;#1086;
&amp;#1092;&amp;#1072;&amp;#1081;&amp;#1083;&amp;#1072; [Y(&amp;#1076;&amp;#1072;)/N(&amp;#1085;&amp;#1077;&amp;#1090;)]?
^C
&gt; D:\MySolutions\java\cocoon\demo&gt;mvn --version
&gt; Maven version: 2.0.9
&gt; Java version: 1.6.0_06
&gt; OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
&gt; D:\MySolutions\java\cocoon\demo&gt;
&gt; It's look like no proxy using for downloading catalog file from cocoon 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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MENFORCER-19) Add an option to enforce dependencyManagement</title>
<author><name>&quot;jieryn (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c14423985.28941.1260209875349.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c14423985-28941-1260209875349-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T18:17:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MENFORCER-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201596#action_201596
] 

jieryn commented on MENFORCER-19:
---------------------------------

Brian, I think that is exactly what we should do. Let's utilize the code in dependency:analyze-dep-mgmt
for an enforcer rule with failBuild=true and ignoreDirect=false ;; either that or let's close
this JIRA. :-)

&gt; Add an option to enforce dependencyManagement
&gt; ---------------------------------------------
&gt;
&gt;                 Key: MENFORCER-19
&gt;                 URL: http://jira.codehaus.org/browse/MENFORCER-19
&gt;             Project: Maven 2.x Enforcer Plugin
&gt;          Issue Type: New Feature
&gt;          Components: Standard Rules
&gt;            Reporter: Carlos Sanchez
&gt;
&gt; Add something to the dependencyManagement section like 
&gt; &lt;enforce&gt;true&lt;/enforce&gt;
&gt; to make build fail if a subproject uses a different version
&gt; Currently a subproject can specify the version of a dependency already defined in dependencyManagement,
which is error prone

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Issue Comment Edited: (MRELEASE-491) Releasing publich nodes with mergeID, but this node only for internal use and not valid with XSD</title>
<author><name>&quot;Karl M. Davis (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c27195613.28804.1260202735236.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c27195613-28804-1260202735236-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T16:18:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MRELEASE-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201571#action_201571
] 

Karl M. Davis edited comment on MRELEASE-491 at 12/7/09 10:18 AM:
------------------------------------------------------------------

This issue is particularly frustrating as it prevents me from using m2eclipse with any non-SNAPSHOT
parent POMs I might have released.  m2eclipse will flag the parent POM's mergeId element as
invalid and refuse to build the child project.

Also, reverting back to 2.0-beta-7 does not seem to resolve this problem for me (Maven v2.2.1).
 My guess is that this problem is caused by another library that the release plugin makes
use of-- maybe maven-model?  I'm not sure, though, if it's safe to "peg" the version of that
plugin in my POM.

      was (Author: karlmdavis):
    This issue is particularly frustrating as it prevents me from using m2eclipse with any
non-SNAPSHOT parent POMs I might have released.  m2eclipse will flag the parent POM's mergeId
element as invalid and refuse to build the child project.

Also, reverting back to 2.0-beta-7 does not seem to resolve this problem for me (Maven v2.2.1).
 My guess is that this problem is caused by another library that the release plugin makes
use of.
  
&gt; Releasing publich nodes with mergeID, but this node only for internal use and not valid
with XSD
&gt; ------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MRELEASE-491
&gt;                 URL: http://jira.codehaus.org/browse/MRELEASE-491
&gt;             Project: Maven 2.x Release Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.0-beta-9
&gt;            Reporter: Hafga
&gt;         Attachments: poms.zip
&gt;
&gt;
&gt; If you release a POM this plugin will add mergeId node. This node only allowed for internal
use. But this version of POM will publish to repository: http://maven.apache.org/ref/2.1.0/maven-model/maven.html
&gt;     &lt;resources&gt;
&gt;       &lt;resource&gt;
&gt;         &lt;mergeId&gt;resource-0&lt;/mergeId&gt;
&gt;         &lt;directory&gt;src/main/resources&lt;/directory&gt;
&gt;       &lt;/resource&gt;
&gt;     &lt;/resources&gt;
&gt;     &lt;testResources&gt;
&gt;       &lt;testResource&gt;
&gt;         &lt;mergeId&gt;resource-1&lt;/mergeId&gt;
&gt;         &lt;directory&gt;src/test/resources&lt;/directory&gt;
&gt;       &lt;/testResource&gt;
&gt;     &lt;/testResources&gt;

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Issue Comment Edited: (MRELEASE-491) Releasing publich nodes with mergeID, but this node only for internal use and not valid with XSD</title>
<author><name>&quot;Karl M. Davis (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c23562364.28794.1260202327717.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c23562364-28794-1260202327717-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T16:12:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MRELEASE-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201571#action_201571
] 

Karl M. Davis edited comment on MRELEASE-491 at 12/7/09 10:11 AM:
------------------------------------------------------------------

This issue is particularly frustrating as it prevents me from using m2eclipse with any non-SNAPSHOT
parent POMs I might have released.  m2eclipse will flag the parent POM's mergeId element as
invalid and refuse to build the child project.

Also, reverting back to 2.0-beta-7 does not seem to resolve this problem for me (Maven v2.2.1).
 My guess is that this problem is caused by another library that the release plugin makes
use of.

      was (Author: karlmdavis):
    This issue is particularly frustrating as it prevents me from using m2eclipse with any
non-SNAPSHOT parent POMs I might have released.  m2eclipse will flag the parent POM's mergeId
element as invalid and refuse to build the child project.
  
&gt; Releasing publich nodes with mergeID, but this node only for internal use and not valid
with XSD
&gt; ------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MRELEASE-491
&gt;                 URL: http://jira.codehaus.org/browse/MRELEASE-491
&gt;             Project: Maven 2.x Release Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.0-beta-9
&gt;            Reporter: Hafga
&gt;         Attachments: poms.zip
&gt;
&gt;
&gt; If you release a POM this plugin will add mergeId node. This node only allowed for internal
use. But this version of POM will publish to repository: http://maven.apache.org/ref/2.1.0/maven-model/maven.html
&gt;     &lt;resources&gt;
&gt;       &lt;resource&gt;
&gt;         &lt;mergeId&gt;resource-0&lt;/mergeId&gt;
&gt;         &lt;directory&gt;src/main/resources&lt;/directory&gt;
&gt;       &lt;/resource&gt;
&gt;     &lt;/resources&gt;
&gt;     &lt;testResources&gt;
&gt;       &lt;testResource&gt;
&gt;         &lt;mergeId&gt;resource-1&lt;/mergeId&gt;
&gt;         &lt;directory&gt;src/test/resources&lt;/directory&gt;
&gt;       &lt;/testResource&gt;
&gt;     &lt;/testResources&gt;

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MRELEASE-491) Releasing publich nodes with mergeID, but this node only for internal use and not valid with XSD</title>
<author><name>&quot;Karl M. Davis (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c8493847.28782.1260201595655.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c8493847-28782-1260201595655-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T15:59:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MRELEASE-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201571#action_201571
] 

Karl M. Davis commented on MRELEASE-491:
----------------------------------------

This issue is particularly frustrating as it prevents me from using m2eclipse with any non-SNAPSHOT
parent POMs I might have released.  m2eclipse will flag the parent POM's mergeId element as
invalid and refuse to build the child project.

&gt; Releasing publich nodes with mergeID, but this node only for internal use and not valid
with XSD
&gt; ------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MRELEASE-491
&gt;                 URL: http://jira.codehaus.org/browse/MRELEASE-491
&gt;             Project: Maven 2.x Release Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.0-beta-9
&gt;            Reporter: Hafga
&gt;         Attachments: poms.zip
&gt;
&gt;
&gt; If you release a POM this plugin will add mergeId node. This node only allowed for internal
use. But this version of POM will publish to repository: http://maven.apache.org/ref/2.1.0/maven-model/maven.html
&gt;     &lt;resources&gt;
&gt;       &lt;resource&gt;
&gt;         &lt;mergeId&gt;resource-0&lt;/mergeId&gt;
&gt;         &lt;directory&gt;src/main/resources&lt;/directory&gt;
&gt;       &lt;/resource&gt;
&gt;     &lt;/resources&gt;
&gt;     &lt;testResources&gt;
&gt;       &lt;testResource&gt;
&gt;         &lt;mergeId&gt;resource-1&lt;/mergeId&gt;
&gt;         &lt;directory&gt;src/test/resources&lt;/directory&gt;
&gt;       &lt;/testResource&gt;
&gt;     &lt;/testResources&gt;

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Issue Comment Edited: (MRELEASE-3) release:prepare should not require multimodule artifacts to be in the local repository</title>
<author><name>&quot;Youri De Bondt (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c1983568.28752.1260200636326.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c1983568-28752-1260200636326-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T15:43:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MRELEASE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201562#action_201562
] 

Youri De Bondt edited comment on MRELEASE-3 at 12/7/09 9:43 AM:
----------------------------------------------------------------

-DpreparationGoals="clean install" doesn't work for me.
I have to perform a clean install first, then release:prepare (which will check if the modules
are installed, and also runs clean install)

      was (Author: ydbondt):
    -DpreparationGoals="clean install" doesn't work for me.
I have to perform a clean install first, then release:prepare which will check if the modules
are installed, and finaly perform the clean install again.
  
&gt; release:prepare should not require multimodule artifacts to be in the local repository
&gt; --------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MRELEASE-3
&gt;                 URL: http://jira.codehaus.org/browse/MRELEASE-3
&gt;             Project: Maven 2.x Release Plugin
&gt;          Issue Type: Bug
&gt;          Components: prepare
&gt;            Reporter: John Casey
&gt;             Fix For: Future
&gt;
&gt;
&gt; Currently, if you try to run release:prepare on a multimodule project after removing
any of that build's artifacts from the local repository, it will fail. Investigate why release:prepare
needs the multimodule artifacts installed in the local repository before it can succeed.
&gt; To reproduce, comment the following line in it2002/test.sh:
&gt; mvn clean install
&gt; NOTE: This may have to do with the version resolution code, which is used to resolve
SNAPSHOT versions.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MRELEASE-3) release:prepare should not require multimodule artifacts to be in the local repository</title>
<author><name>&quot;Youri De Bondt (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c20756963.28713.1260200516559.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c20756963-28713-1260200516559-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T15:41:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MRELEASE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201562#action_201562
] 

Youri De Bondt commented on MRELEASE-3:
---------------------------------------

-DpreparationGoals="clean install" doesn't work for me.
I have to perform a clean install first, then release:prepare which will check if the modules
are installed, and finaly perform the clean install again.

&gt; release:prepare should not require multimodule artifacts to be in the local repository
&gt; --------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MRELEASE-3
&gt;                 URL: http://jira.codehaus.org/browse/MRELEASE-3
&gt;             Project: Maven 2.x Release Plugin
&gt;          Issue Type: Bug
&gt;          Components: prepare
&gt;            Reporter: John Casey
&gt;             Fix For: Future
&gt;
&gt;
&gt; Currently, if you try to run release:prepare on a multimodule project after removing
any of that build's artifacts from the local repository, it will fail. Investigate why release:prepare
needs the multimodule artifacts installed in the local repository before it can succeed.
&gt; To reproduce, comment the following line in it2002/test.sh:
&gt; mvn clean install
&gt; NOTE: This may have to do with the version resolution code, which is used to resolve
SNAPSHOT versions.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MNG-4368) DefaultArtifactInstaller should only overwrite files if timestamp has changed</title>
<author><name>=?ISO-8859-1?Q?Tam=E1s_Cserven=E1k_=28JIRA=29?= &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c29574553.28638.1260194695324.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c29574553-28638-1260194695324-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T14:04:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201551#action_201551
] 

Tamás Cservenák commented on MNG-4368:
--------------------------------------

This is _completely wrong_, and makes Maven3 very cumbersome (if not completely broken) to
work on branches, especially with regarding POMs. What happens:

Check out a trunk of your project (let's suppose all files are modified today T0):

* svn checkout
* mvn clean install

Then, tomorrow T1 do a branch of your project, and _modify_ for example the POM of your project
in branch.

* svn branch it
* mvn clean install

Then, next day T2, return to trunk and continue work (but for example's sake, do _not_ modify
the POM you changed in branch).

* svn switch back to trunk
* mvn clean instal

Obviously T0 &lt; T1 &lt; T2

But, the change done in T1 will be _*not replaceable*_ by the 2nd trunk build (mvn clean install
in T2 will *NOT* replace the pom in local repo), and potentionally will result in very spurious
errors (ie. in branch you remove/add deps, change parent, etc).

Please, undo this! Thanks.

Interestingly, this will fit nicely with Git (git will "touch" the file when switching back
from branch to "master")
http://git.or.cz/gitwiki/GitSvnComparsion
http://git.or.cz/gitwiki/GitFaq#Whyisn.27tGitpreservingmodificationtimeonfiles.3F

But in general, on "install" goal Maven should install the files I told it to install.


&gt; DefaultArtifactInstaller should only overwrite files if timestamp has changed
&gt; -----------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4368
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4368
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;         Environment: Linux, JDK 1.5
&gt;            Reporter: Johannes Martin
&gt;             Fix For: 2.2.2, 3.0-alpha-3
&gt;
&gt;
&gt; install:install (from maven-install-plugin) by default uses DefaultArtifactInstaller
to install artifacts. DefaultArtifactInstaller in turn uses FileUtils.copyFile(), thereby
overwriting destination files even if they are unchanged. It would be helpful if DefaultArtifactInstaller
used FileUtils.copyFileIfModified() instead, at least as an option, to speed up the build
process.

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

       


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (DOXIASITETOOLS-32) Deployed decoration-1.0.1.xsd</title>
<author><name>&quot;Vincent Siveton (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c9788939.28620.1260191455161.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c9788939-28620-1260191455161-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T13:10:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Vincent Siveton closed DOXIASITETOOLS-32.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2)
                   1.1.2
         Assignee: Vincent Siveton

need to sync

&gt; Deployed decoration-1.0.1.xsd
&gt; -----------------------------
&gt;
&gt;                 Key: DOXIASITETOOLS-32
&gt;                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-32
&gt;             Project: Maven Doxia Sitetools
&gt;          Issue Type: Task
&gt;          Components: Decoration model
&gt;    Affects Versions: 1.1.2
&gt;            Reporter: Vincent Siveton
&gt;            Assignee: Vincent Siveton
&gt;             Fix For: 1.1.2
&gt;
&gt;
&gt; Due to DOXIASITETOOLS-31, we need to deployed a new version of decoration-1.0.1.xsd

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (ARCHETYPE-58) Allows for additional properties in velocity context and also conditional processing of source, resources etc</title>
<author><name>&quot;Stephan Behnke (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c22936805.28509.1260185755222.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c22936805-28509-1260185755222-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T11:35:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/ARCHETYPE-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201522#action_201522
] 

Stephan Behnke commented on ARCHETYPE-58:
-----------------------------------------

I can't quite follow - is this feature now implemented or not? If yes, what's the final syntax?

&gt; Allows for additional properties in velocity context and also conditional processing
of source, resources etc
&gt; -------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: ARCHETYPE-58
&gt;                 URL: http://jira.codehaus.org/browse/ARCHETYPE-58
&gt;             Project: Maven Archetype
&gt;          Issue Type: New Feature
&gt;          Components: Generator
&gt;    Affects Versions: 1.0-alpha-4
&gt;            Reporter: Philip Dodds
&gt;             Fix For: 2.0-alpha-1
&gt;
&gt;         Attachments: ARCHETYPE-58-a-slightly-different-kind-of-patch, properties_and_conditions.patch
&gt;
&gt;
&gt; Need the ability to add new properties to the velocity context during the processing
of an archetype through archetype-core.
&gt; Also need the ability to determine whether to optionally include a resource, source etc
based on a conditional test on a property.
&gt; Consider for example adding properties and optional tests as follows:
&gt; &lt;archetype&gt;
&gt;   &lt;id&gt;servicemix-se&lt;/id&gt;
&gt;   &lt;sources&gt;
&gt;     &lt;conditional&gt;
&gt; 	&lt;source&gt;src/main/java/MyBootstrap.java&lt;/source&gt;
&gt;         &lt;propertyEqual property="generateBootstrap" value="true"/&gt;
&gt;     &lt;/conditional&gt;
&gt;     &lt;source&gt;src/main/java/MyComponent.java&lt;/source&gt;
&gt;     &lt;source&gt;src/main/java/MyEndpoint.java&lt;/source&gt;
&gt;   &lt;/sources&gt;
&gt;   &lt;testSources&gt;
&gt;     &lt;source&gt;src/test/java/MySpringComponentTest.java&lt;/source&gt;
&gt;   &lt;/testSources&gt;
&gt;   &lt;testResources&gt;
&gt;     &lt;resource&gt;src/test/resources/spring.xml&lt;/resource&gt;
&gt;     &lt;resource&gt;src/test/resources/log4j.properties&lt;/resource&gt;
&gt;   &lt;/testResources&gt;
&gt;   &lt;contextProperties&gt;
&gt;   	&lt;property name="pluginRepositoryId" value="apache.snapshots"/&gt;
&gt;   	&lt;property name="pluginRepositoryName" value="Maven Central Plugins Development
Repository"/&gt;
&gt;   	&lt;property name="pluginRepositoryUrl" value="http://cvs.apache.org/maven-snapshot-repository"/&gt;
 	  	
&gt;   	&lt;property name="pluginRepositorySnapshotsEnabled" value="true"/&gt;
&gt;   	&lt;property name="pluginRepositoryReleasesEnabled" value="true"/&gt;
&gt;   	&lt;property name="generateBootstrap" value="false"/&gt;
&gt;   &lt;/contextProperties&gt;
&gt; &lt;/archetype&gt;
&gt; The example above shows that we want to be able to gather additional properties and then
in the sources conditionally determine whether we want to include it.
&gt; I will attach a patch that already implements the contextProperties as shown above and
has 80% of the code in place for the conditional inclusion of files.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MASSEMBLY-416) outputDirectory default value in fileSet seems changed; now seems to use directory name of fileSet sourcedir</title>
<author><name>&quot;Benjamin Bentmann (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c22869461.28470.1260181675167.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c22869461-28470-1260181675167-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T10:27:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MASSEMBLY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201515#action_201515
] 

Benjamin Bentmann commented on MASSEMBLY-416:
---------------------------------------------

Grzegorz, regarding your last comment, please fill this as a new issue.

&gt; outputDirectory default value in fileSet seems changed; now seems to use directory name
of fileSet sourcedir
&gt; ------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MASSEMBLY-416
&gt;                 URL: http://jira.codehaus.org/browse/MASSEMBLY-416
&gt;             Project: Maven 2.x Assembly Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.2-beta-3
&gt;            Reporter: John Casey
&gt;            Assignee: John Casey
&gt;            Priority: Blocker
&gt;             Fix For: 2.2-beta-5
&gt;
&gt;         Attachments: massembly-416-1.0-SNAPSHOT-jar-with-dependencies.jar, massembly-416-2.jar,
massembly-416-jar-listing.txt, massembly-416.zip
&gt;
&gt;
&gt; From Grzegorz Slowikowski on the dev@maven mailing list ([VOTE] maven-assembly-plugin
2.2-beta-4 thread):
&gt; {noformat}
&gt; Hi
&gt; With this configuration:
&gt;    &lt;pluginRepositories&gt;
&gt;        &lt;pluginRepository&gt;
&gt;            &lt;id&gt;maven-staging-031&lt;/id&gt;
&gt;            &lt;name&gt;maven-staging-031&lt;/name&gt;
&gt;            &lt;url&gt;https://repository.apache.org/content/repositories/maven-staging-031&lt;/url&gt;
&gt;        &lt;/pluginRepository&gt;
&gt;    &lt;/pluginRepositories&gt;
&gt;    &lt;build&gt;
&gt;        &lt;plugins&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt;                &lt;version&gt;2.2-beta-4&lt;/version&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;descriptorRefs&gt;
&gt;                        &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
&gt;                    &lt;/descriptorRefs&gt;
&gt;                &lt;/configuration&gt;
&gt;                &lt;executions&gt;
&gt;                    &lt;execution&gt;
&gt;                        &lt;id&gt;make-assembly&lt;/id&gt;
&gt;                        &lt;phase&gt;package&lt;/phase&gt;
&gt;                        &lt;goals&gt;
&gt;                            &lt;goal&gt;single&lt;/goal&gt;
&gt;                        &lt;/goals&gt;
&gt;                    &lt;/execution&gt;
&gt;                &lt;/executions&gt;
&gt;            &lt;/plugin&gt;
&gt;        &lt;/plugins&gt;
&gt;    &lt;/build&gt;
&gt; I have "target" folder/package inside jar-with-dependencies archive which contains copies
of my project classes (they are in the normal
&gt; package structure within this archive too).
&gt; ...
&gt; {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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MASSEMBLY-416) outputDirectory default value in fileSet seems changed; now seems to use directory name of fileSet sourcedir</title>
<author><name>&quot;Grzegorz Slowikowski (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c20878374.28399.1260175675177.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c20878374-28399-1260175675177-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T08:47:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MASSEMBLY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201500#action_201500
] 

Grzegorz Slowikowski commented on MASSEMBLY-416:
------------------------------------------------

In version 2.2-beta-5 from staging repo:
https://repository.apache.org/content/repositories/maven-041/ 

class files are not duplicated anymore, but there is one minor difference between this version
and 2.2-beta-4 - not files from "META-INF/maven/" package (pom.xml, pom.properties) of the
current artifact are missing in the assembly jar, there are only such files from dependencies.
This is probably side effect of "&lt;useProjectArtifact&gt;false&lt;/useProjectArtifact&gt;"
line added to the tamplate.

&gt; outputDirectory default value in fileSet seems changed; now seems to use directory name
of fileSet sourcedir
&gt; ------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MASSEMBLY-416
&gt;                 URL: http://jira.codehaus.org/browse/MASSEMBLY-416
&gt;             Project: Maven 2.x Assembly Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.2-beta-3
&gt;            Reporter: John Casey
&gt;            Assignee: John Casey
&gt;            Priority: Blocker
&gt;             Fix For: 2.2-beta-5
&gt;
&gt;         Attachments: massembly-416-1.0-SNAPSHOT-jar-with-dependencies.jar, massembly-416-2.jar,
massembly-416-jar-listing.txt, massembly-416.zip
&gt;
&gt;
&gt; From Grzegorz Slowikowski on the dev@maven mailing list ([VOTE] maven-assembly-plugin
2.2-beta-4 thread):
&gt; {noformat}
&gt; Hi
&gt; With this configuration:
&gt;    &lt;pluginRepositories&gt;
&gt;        &lt;pluginRepository&gt;
&gt;            &lt;id&gt;maven-staging-031&lt;/id&gt;
&gt;            &lt;name&gt;maven-staging-031&lt;/name&gt;
&gt;            &lt;url&gt;https://repository.apache.org/content/repositories/maven-staging-031&lt;/url&gt;
&gt;        &lt;/pluginRepository&gt;
&gt;    &lt;/pluginRepositories&gt;
&gt;    &lt;build&gt;
&gt;        &lt;plugins&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt;                &lt;version&gt;2.2-beta-4&lt;/version&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;descriptorRefs&gt;
&gt;                        &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
&gt;                    &lt;/descriptorRefs&gt;
&gt;                &lt;/configuration&gt;
&gt;                &lt;executions&gt;
&gt;                    &lt;execution&gt;
&gt;                        &lt;id&gt;make-assembly&lt;/id&gt;
&gt;                        &lt;phase&gt;package&lt;/phase&gt;
&gt;                        &lt;goals&gt;
&gt;                            &lt;goal&gt;single&lt;/goal&gt;
&gt;                        &lt;/goals&gt;
&gt;                    &lt;/execution&gt;
&gt;                &lt;/executions&gt;
&gt;            &lt;/plugin&gt;
&gt;        &lt;/plugins&gt;
&gt;    &lt;/build&gt;
&gt; I have "target" folder/package inside jar-with-dependencies archive which contains copies
of my project classes (they are in the normal
&gt; package structure within this archive too).
&gt; ...
&gt; {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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MPH-53) mvn help:describe returns the version that is specified in metadata instead of  the one in the parent pom</title>
<author><name>&quot;Keith David Winkler (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c24028758.28390.1260174835161.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c24028758-28390-1260174835161-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T08:33:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MPH-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201498#action_201498
] 

Keith David Winkler commented on MPH-53:
----------------------------------------

Still happens in version 2.2.1

Effective pom specifies resources plugin 2.3

"mvn help:describe -Dplugin=resources" downloads and lists help for version 2.4.1




In any case this FAQ entry seems wrong: http://maven.apache.org/general.html#plugin-version

&gt; mvn help:describe returns the version that is specified in metadata instead of  the one
in the parent pom
&gt; ---------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MPH-53
&gt;                 URL: http://jira.codehaus.org/browse/MPH-53
&gt;             Project: Maven 2.x Help Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.0.1
&gt;         Environment: windows xp
&gt; tested with mvn 2.0.8 &amp; 2.0.9
&gt;            Reporter: Rintcius Blok
&gt;
&gt; mvn help:describe returns a different version than mvn help:effective-pom returns:
&gt; &gt; mvn help:describe -Dplugin=surefire
&gt; ...
&gt; [INFO] [help:describe]
&gt; [INFO] Plugin: 'org.apache.maven.plugins:maven-surefire-plugin:2.2'
&gt; -----------------------------------------------
&gt; Group Id:  org.apache.maven.plugins
&gt; Artifact Id: maven-surefire-plugin
&gt; Version:     2.2
&gt; Goal Prefix: surefire
&gt; However, when I run:
&gt; &gt; mvn help:effective-pom
&gt; I get
&gt; ...
&gt;     &lt;pluginManagement&gt;
&gt;       &lt;plugins&gt;
&gt;         &lt;plugin&gt;
&gt;           &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
&gt;           &lt;version&gt;2.4.3&lt;/version&gt;
&gt;           &lt;configuration&gt;
&gt;             &lt;testFailureIgnore&gt;true&lt;/testFailureIgnore&gt;
&gt;             &lt;includes&gt;
&gt;               &lt;include&gt;**/*Test.java&lt;/include&gt;
&gt;             &lt;/includes&gt;
&gt;             &lt;format&gt;html&lt;/format&gt;
&gt;           &lt;/configuration&gt;
&gt;         &lt;/plugin&gt;
&gt;       &lt;/plugins&gt;
&gt;     &lt;/pluginManagement&gt;
&gt; ...
&gt; My pom structure is quite simple: just a parent pom.xml with the pluginmanagement section
as above and a child pom using that. I have tested with both maven 2.0.8 and 2.0.9.
&gt; See the discussion here: http://www.nabble.com/Wrong-output-of-mvn-help%3Adescribe--td19168212.html

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (MNG-4485) Informational messages could be clearer regarding goal execution</title>
<author><name>&quot;Paul Benedict (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c11808906.28313.1260166915205.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c11808906-28313-1260166915205-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T06:21:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Informational messages could be clearer regarding goal execution
----------------------------------------------------------------

                 Key: MNG-4485
                 URL: http://jira.codehaus.org/browse/MNG-4485
             Project: Maven 2
          Issue Type: Improvement
          Components: Errors
    Affects Versions: 3.0-alpha-5
            Reporter: Paul Benedict
            Priority: Trivial


As the lifecycle of projects are executed, these type of informational messages are emitted:
{{[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ project-name ---}}

Based on my own team, I think there are three things to note:
 * The {{plugin:version::goal}} can easily be confused with the the dependency {{artifactId:version:classifier}}
format. Seriously. ;-)
 * I don't think the @ symbol is natural to describe the project.
 * The execution name probably could be suppressed unless DEBUG was on.

How about?
{{[INFO] --- maven-clean-plugin:2.3 executing goal "clean" for project Project Name ---}}

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (DOXIASITETOOLS-32) Deployed decoration-1.0.1.xsd</title>
<author><name>&quot;Vincent Siveton (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c15342293.28251.1260150355204.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c15342293-28251-1260150355204-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T01:45:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Vincent Siveton updated DOXIASITETOOLS-32:
------------------------------------------

    Fix Version/s:     (was: 1.1.2)
                   1.2

&gt; Deployed decoration-1.0.1.xsd
&gt; -----------------------------
&gt;
&gt;                 Key: DOXIASITETOOLS-32
&gt;                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-32
&gt;             Project: Maven Doxia Sitetools
&gt;          Issue Type: Task
&gt;          Components: Decoration model
&gt;    Affects Versions: 1.1.2
&gt;            Reporter: Vincent Siveton
&gt;             Fix For: 1.2
&gt;
&gt;
&gt; Due to DOXIASITETOOLS-31, we need to deployed a new version of decoration-1.0.1.xsd

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (MNG-4479) [regression] Project-level plugin dependencies ignored for direct CLI invocation if plugin key uses properties</title>
<author><name>&quot;Benjamin Bentmann (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c19512176.28196.1260144775217.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c19512176-28196-1260144775217-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T00:12:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Benjamin Bentmann closed MNG-4479.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-alpha-2

The problem is related to interpolation. As such a workaround is to use a constant value for
the group-/artifactId of the plugin, i.e. your test project passes if you replace {{&lt;groupId&gt;${project.groupId}&lt;/groupId&gt;}}
with {{&lt;groupId&gt;mavenbugs&lt;/groupId&gt;}} in the plugin declaration.

&gt; [regression] Project-level plugin dependencies ignored for direct CLI invocation if plugin
key uses properties
&gt; --------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4479
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4479
&gt;             Project: Maven 2
&gt;          Issue Type: Bug
&gt;          Components: Class Loading, Dependencies, Plugins and Lifecycle
&gt;    Affects Versions: 2.1.0-M1, 2.1.0, 2.2.0, 2.2.1
&gt;            Reporter: Laird Nelson
&gt;            Assignee: Benjamin Bentmann
&gt;             Fix For: 3.0-alpha-2
&gt;
&gt;         Attachments: mng-4479.zip
&gt;
&gt;
&gt; I have a plugin that makes use of the implementation attribute in its configuration.
 That is, one of its parameters is a plexus tag that specifies an implementation class to
use.
&gt; The implementation class comes from a jar that is the plugin's dependency, but that dependency
is included as part of the plugin configuration, not as part of the stock plugin.
&gt; This setup works fine when I bind the plugin's configuration via an execution to a normal
phase (generate-sources as it happens).
&gt; When I bind the plugin's configuration to the default-cli execution, plexus cannot configure
the component, claiming that the classname it encounters in the "implementation" attribute
cannot be found (even though, again, if I bind it to the generate-sources phase instead, via
another execution, same configuration, everything works fine.
&gt; I tried to debug this using mvn -X, but the output was totally baffling; sorry.  My raw
take is that it looks like dependency resolution in the default-cli execution is somehow performed
differently than when the plugin is run bound to a phase.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (MNG-4479) [regression] Project-level plugin dependencies ignored for direct CLI invocation if plugin key uses properties</title>
<author><name>&quot;Benjamin Bentmann (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c4091335.28194.1260144415451.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c4091335-28194-1260144415451-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-07T00:06:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Benjamin Bentmann updated MNG-4479:
-----------------------------------

    Affects Version/s: 2.1.0-M1
                       2.1.0
                       2.2.0
             Assignee: Benjamin Bentmann
              Summary: [regression] Project-level plugin dependencies ignored for direct CLI
invocation if plugin key uses properties  (was: Dependency resolution for plugins with default-cli
execution happens too late)

&gt; [regression] Project-level plugin dependencies ignored for direct CLI invocation if plugin
key uses properties
&gt; --------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MNG-4479
&gt;                 URL: http://jira.codehaus.org/browse/MNG-4479
&gt;             Project: Maven 2
&gt;          Issue Type: Bug
&gt;          Components: Class Loading, Dependencies, Plugins and Lifecycle
&gt;    Affects Versions: 2.1.0-M1, 2.1.0, 2.2.0, 2.2.1
&gt;            Reporter: Laird Nelson
&gt;            Assignee: Benjamin Bentmann
&gt;         Attachments: mng-4479.zip
&gt;
&gt;
&gt; I have a plugin that makes use of the implementation attribute in its configuration.
 That is, one of its parameters is a plexus tag that specifies an implementation class to
use.
&gt; The implementation class comes from a jar that is the plugin's dependency, but that dependency
is included as part of the plugin configuration, not as part of the stock plugin.
&gt; This setup works fine when I bind the plugin's configuration via an execution to a normal
phase (generate-sources as it happens).
&gt; When I bind the plugin's configuration to the default-cli execution, plexus cannot configure
the component, claiming that the classname it encounters in the "implementation" attribute
cannot be found (even though, again, if I bind it to the generate-sources phase instead, via
another execution, same configuration, everything works fine.
&gt; I tried to debug this using mvn -X, but the output was totally baffling; sorry.  My raw
take is that it looks like dependency resolution in the default-cli execution is somehow performed
differently than when the plugin is run bound to a phase.

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (MNG-3472) configuration possibilities to limit size of local repository</title>
<author><name>&quot;Paul Benedict (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c28207169.28159.1260141655158.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c28207169-28159-1260141655158-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-06T23:20:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ http://jira.codehaus.org/browse/MNG-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=201467#action_201467
] 

Paul Benedict commented on MNG-3472:
------------------------------------

I do not think this is Maven's responsibility in the slightest. Rather, it should be the responsibility
of CI tools like Hudson or Continuum to clear out older contents; I would make an RFE over
at those projects. As a last resort, you have help from your operating system: disk quotas
and custom batch processes.

&gt; configuration possibilities to limit size of local repository
&gt; -------------------------------------------------------------
&gt;
&gt;                 Key: MNG-3472
&gt;                 URL: http://jira.codehaus.org/browse/MNG-3472
&gt;             Project: Maven 2
&gt;          Issue Type: Improvement
&gt;          Components: Settings
&gt;    Affects Versions: 2.0.8
&gt;            Reporter: manuel aldana
&gt;
&gt; it would be great to make repository-size configurable, for instance by setting the maximum
number of downloads of a snapshot-version to be kept. thus the explosion of local repository
size can be reduced.
&gt; especially when you are working with many in-house multi-module projects which are marked
as snapshots before released , can increase repository size significantly.
&gt; see mailing-list discussion: http://www.nabble.com/limit-size-of-local-repository%2C-limit-number-of-snapshots-td16147475s177.html

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (MECLIPSE-625) ClassNotFoundException when running junit test (&quot;Run As&quot;|&quot;Junit Test&quot;)</title>
<author><name>&quot;Benjamin Bentmann (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c4521916.28045.1260119159669.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c4521916-28045-1260119159669-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-06T17:05:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Benjamin Bentmann closed MECLIPSE-625.
--------------------------------------

    Resolution: Not A Bug
      Assignee: Benjamin Bentmann

As written in [the description of this JIRA project|http://jira.codehaus.org/browse/MECLIPSE],
this is about {{mvn eclipse:eclipse}}, not M2Eclipse. For issues with M2E, please fill them
at https://issues.sonatype.org/browse/MNGECLIPSE.

&gt; ClassNotFoundException when running junit test ("Run As"|"Junit Test")
&gt; ----------------------------------------------------------------------
&gt;
&gt;                 Key: MECLIPSE-625
&gt;                 URL: http://jira.codehaus.org/browse/MECLIPSE-625
&gt;             Project: Maven 2.x Eclipse Plugin
&gt;          Issue Type: Bug
&gt;         Environment: Linux x86_64, Eclipse 3.5, M2Eclipse pluing 0.9.9.200911171109
&gt;            Reporter: Peter De Maeyer
&gt;            Assignee: Benjamin Bentmann
&gt;            Priority: Blocker
&gt;
&gt; I have a project module A which depends on another project module B.
&gt; When I try to run a JUnit test ("Run As"|"Junit Test") in project A, I get a ClassNotFoundException
for the all classes that are in project B.
&gt; At compile time it finds the dependencies in project module B, but not at runtime???
&gt; I've found another report of the same problem here:
&gt; http://blog.andrewbeacock.com/2008/11/classnotfoundexception-when-running.html
&gt; The stack trace looks like this:
&gt; ---
&gt; java.lang.NoClassDefFoundError: org/de/maeyer/search/MatcherTest
&gt; 	at java.lang.ClassLoader.defineClass1(Native Method)
&gt; 	at java.lang.ClassLoader.defineClass(ClassLoader.java:632)
&gt; 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
&gt; 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
&gt; 	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
&gt; 	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
&gt; 	at java.security.AccessController.doPrivileged(Native Method)
&gt; 	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
&gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
&gt; 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
&gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
&gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693)
&gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429)
&gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
&gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
&gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
&gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
&gt; Caused by: java.lang.ClassNotFoundException: org.de.maeyer.search.MatcherTest
&gt; 	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
&gt; 	at java.security.AccessController.doPrivileged(Native Method)
&gt; 	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
&gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
&gt; 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
&gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
&gt; 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
&gt; 	... 17 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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (MASSEMBLY-456) Usage of archiver or container descriptor handler configuration crashes with LinkageError on Maven 3.0-alpha-5</title>
<author><name>&quot;Benjamin Bentmann (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c1734330.28043.1260118555148.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c1734330-28043-1260118555148-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-06T16:55:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Benjamin Bentmann closed MASSEMBLY-456.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2-beta-5
         Assignee: Benjamin Bentmann

Fixed in [r887709|http://svn.apache.org/viewvc?view=revision&amp;revision=887709].

&gt; Usage of archiver or container descriptor handler configuration crashes with LinkageError
on Maven 3.0-alpha-5
&gt; --------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MASSEMBLY-456
&gt;                 URL: http://jira.codehaus.org/browse/MASSEMBLY-456
&gt;             Project: Maven 2.x Assembly Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.2-beta-4
&gt;            Reporter: Benjamin Bentmann
&gt;            Assignee: Benjamin Bentmann
&gt;             Fix For: 2.2-beta-5
&gt;
&gt;
&gt; Due to the refactored ClassWorlds used in Maven 3.x, the methods
&gt; - PlexusContainer.getContainerRealm()
&gt; - ComponentConfiguration.configureComponent()
&gt; have different return/parameter types in Maven 3, causing a linkage error at runtime
for something like
&gt; {code:xml}
&gt; &lt;plugin&gt;
&gt;   &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt;   &lt;configuration&gt;
&gt;     &lt;archiverConfig&gt;
&gt;       &lt;duplicateBehavior&gt;skip&lt;/duplicateBehavior&gt;
&gt;     &lt;/archiverConfig&gt;
&gt;   &lt;/configuration&gt;
&gt; &lt;/plugin&gt;
&gt; {code}

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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (MECLIPSE-625) ClassNotFoundException when running junit test (&quot;Run As&quot;|&quot;Junit Test&quot;)</title>
<author><name>&quot;Peter De Maeyer (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c32749581.28042.1260118075337.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c32749581-28042-1260118075337-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-06T16:47:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
ClassNotFoundException when running junit test ("Run As"|"Junit Test")
----------------------------------------------------------------------

                 Key: MECLIPSE-625
                 URL: http://jira.codehaus.org/browse/MECLIPSE-625
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
         Environment: Linux x86_64, Eclipse 3.5, M2Eclipse pluing 0.9.9.200911171109
            Reporter: Peter De Maeyer
            Priority: Blocker


I have a project module A which depends on another project module B.
When I try to run a JUnit test ("Run As"|"Junit Test") in project A, I get a ClassNotFoundException
for the all classes that are in project B.
At compile time it finds the dependencies in project module B, but not at runtime???

I've found another report of the same problem here:

http://blog.andrewbeacock.com/2008/11/classnotfoundexception-when-running.html

The stack trace looks like this:

---
java.lang.NoClassDefFoundError: org/de/maeyer/search/MatcherTest
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:632)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException: org.de.maeyer.search.MatcherTest
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
	... 17 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

        


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (MASSEMBLY-456) Usage of archiver or container descriptor handler configuration crashes with LinkageError on Maven 3.0-alpha-5</title>
<author><name>&quot;Benjamin Bentmann (JIRA)&quot; &lt;jira@codehaus.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-issues/200912.mbox/%3c22010690.28009.1260111415160.JavaMail.haus-jira@codehaus01.managed.contegix.com%3e"/>
<id>urn:uuid:%3c22010690-28009-1260111415160-JavaMail-haus-jira@codehaus01-managed-contegix-com%3e</id>
<updated>2009-12-06T14:56:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Benjamin Bentmann updated MASSEMBLY-456:
----------------------------------------

    Description: 
Due to the refactored ClassWorlds used in Maven 3.x, the methods
- PlexusContainer.getContainerRealm()
- ComponentConfiguration.configureComponent()

have different return/parameter types in Maven 3, causing a linkage error at runtime for something
like
{code:xml}
&lt;plugin&gt;
  &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
  &lt;configuration&gt;
    &lt;archiverConfig&gt;
      &lt;duplicateBehavior&gt;skip&lt;/duplicateBehavior&gt;
    &lt;/archiverConfig&gt;
  &lt;/configuration&gt;
&lt;/plugin&gt;
{code}

  was:
Due to the refactored ClassWorlds used in Maven 3.x, the methods
- PlexusContainer.getContainerRealm()
- ComponentConfiguration.configureComponent()
have different return/parameter types in Maven 3, causing a linkage error at runtime.


&gt; Usage of archiver or container descriptor handler configuration crashes with LinkageError
on Maven 3.0-alpha-5
&gt; --------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: MASSEMBLY-456
&gt;                 URL: http://jira.codehaus.org/browse/MASSEMBLY-456
&gt;             Project: Maven 2.x Assembly Plugin
&gt;          Issue Type: Bug
&gt;    Affects Versions: 2.2-beta-4
&gt;            Reporter: Benjamin Bentmann
&gt;
&gt; Due to the refactored ClassWorlds used in Maven 3.x, the methods
&gt; - PlexusContainer.getContainerRealm()
&gt; - ComponentConfiguration.configureComponent()
&gt; have different return/parameter types in Maven 3, causing a linkage error at runtime
for something like
&gt; {code:xml}
&gt; &lt;plugin&gt;
&gt;   &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt;   &lt;configuration&gt;
&gt;     &lt;archiverConfig&gt;
&gt;       &lt;duplicateBehavior&gt;skip&lt;/duplicateBehavior&gt;
&gt;     &lt;/archiverConfig&gt;
&gt;   &lt;/configuration&gt;
&gt; &lt;/plugin&gt;
&gt; {code}

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

        


</pre>
</div>
</content>
</entry>
</feed>
