svn commit: r279720 - in /maven/components/trunk: maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/ maven-artifact-ant/src/main/resources/META-INF/plexus/ maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/ maven-arti...

2005-09-08 Thread brett
Author: brett
Date: Thu Sep  8 23:49:59 2005
New Revision: 279720

URL: http://svn.apache.org/viewcvs?rev=279720&view=rev
Log:
PR: MNG-613
Completion of the version selection from a range.


Modified:

maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AntResolutionListener.java

maven/components/trunk/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml

maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/WarningResolutionListener.java

maven/components/trunk/maven-artifact-manager/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataSource.java

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactCollector.java

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

maven/components/trunk/maven-artifact/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactCollectorTest.java
maven/components/trunk/maven-core-it/it0034/expected-results.txt
maven/components/trunk/maven-core-it/it0034/pom.xml
maven/components/trunk/maven-core-it/it0034/prebuild-hook.txt
maven/components/trunk/maven-project/pom.xml

maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

maven/components/trunk/maven-project/src/main/resources/META-INF/plexus/components.xml

maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/TestArtifactResolver.java

Modified: 
maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AntResolutionListener.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AntResolutionListener.java?rev=279720&r1=279719&r2=279720&view=diff
==
--- 
maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AntResolutionListener.java
 (original)
+++ 
maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AntResolutionListener.java
 Thu Sep  8 23:49:59 2005
@@ -69,12 +69,18 @@
 
 public void updateScope( Artifact artifact, String scope )
 {
-project.log( indent + artifact.getId() + " (settings scope to: " + 
scope + ")" );
+project.log( indent + artifact.getId() + " (setting scope to: " + 
scope + ")" );
 }
 
 public void updateScopeCurrentPom( Artifact artifact, String scope )
 {
-   updateScope( artifact, scope );
+updateScope( artifact, scope );
+}
+
+public void selectVersionFromRange( Artifact artifact )
+{
+project.log( indent + artifact.getId() + " (setting version to: " + 
artifact.getVersion() + " from range: " +
+artifact.getVersionRange() + ")" );
 }
 
 public void manageArtifact( Artifact artifact, Artifact replacement )

Modified: 
maven/components/trunk/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml?rev=279720&r1=279719&r2=279720&view=diff
==
--- 
maven/components/trunk/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml
 (original)
+++ 
maven/components/trunk/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml
 Thu Sep  8 23:49:59 2005
@@ -441,6 +441,9 @@
 
   org.apache.maven.artifact.factory.ArtifactFactory
 
+
+  
org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager
+
   
 
 

Modified: 
maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-manager/src/main/java/org

[REPOCLEAN] Error(s) occurred while converting repository

2005-09-08 Thread REPOCLEAN
Errors occurred while performing maven-1 to maven-2 repository conversion.

For more details, see:

http://test.maven.codehaus.org/reports/repoclean/09-Sep-2005_02.29.45/repository.report.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: beta-2 test bundle

2005-09-08 Thread Brett Porter
I didn't get any exceptions :)

I'll take a look.

- Brett

Carlos Sanchez wrote:

>I'm getting this when there's an error:
>
>- post the output of maven -e to JIRA at ???issueTrackingUrl??? (you
>must sign up first)
>
>Maybe you didn't notice due to your environment language?
>
>  
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: beta-2 test bundle

2005-09-08 Thread Carlos Sanchez
I'm getting this when there's an error:

- post the output of maven -e to JIRA at ???issueTrackingUrl??? (you
must sign up first)

Maybe you didn't notice due to your environment language?

On 9/8/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> I've refreshed this with a fix for the Geronimo build.
> 
> - Brett
> 
> Brett Porter wrote:
> 
> >Hi folks,
> >
> >The beta-2 bundles are available for testing in conjunction with the vote.
> >
> >http://people.apache.org/~brett/release/
> >
> >- Brett
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[REPOCLEAN] Error(s) occurred while converting repository

2005-09-08 Thread REPOCLEAN
Errors occurred while performing maven-1 to maven-2 repository conversion.

For more details, see:

http://test.maven.codehaus.org/reports/repoclean/09-Sep-2005_12.00.28/repository.report.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 1.0 branch

2005-09-08 Thread Brett Porter
Vincent Massol wrote:

>The problem is that several new versions of plugins rely on Maven 1.1's core
>so I don't think it would work. We don't really have a mechanism set up to
>ensure m1 plugins continue to work with all versions.
>  
>
erm, you sure? What were you thinking of specifically?

To my knowledge, this only applies to the artifact plugin, and it is
functionally equivalent to 1.5.2 which is the 1.0.2 version.

The main blocker I'd see to this is the SCM plugin not being backwards
compatible with 1.4 (which needs to be fixed anyway).

Some plugins have removed deprecations, etc - so might not be as
compatible. Also, a .0.3 release indicates bugfixes and no new features
- well that's true of the unchanged core, but not the plugins (not that
it has stopped us before, but I think we need to improve our reputation
in that regard by doing the right thing).

I'm inclined to get 1.1 finished instead. Anyone got patches for the
outstanding issues in JIRA? :D

Cheers,
Brett

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MEV-59) commons-upload missing dependency scope

2005-09-08 Thread Carlos Sanchez (JIRA)
 [ http://jira.codehaus.org/browse/MEV-59?page=all ]
 
Carlos Sanchez closed MEV-59:
-

 Assign To: Carlos Sanchez
Resolution: Fixed

> commons-upload missing dependency scope
> ---
>
>  Key: MEV-59
>  URL: http://jira.codehaus.org/browse/MEV-59
>  Project: Maven Evangelism
> Type: Bug
>   Components: Invalid POM
> Reporter: Nadeem Bitar
> Assignee: Carlos Sanchez

>
>
> The servletapi should have a compile scope and junit should have a test 
> scope. 
>  
> Corrected dependencies section of the POM:
>  
> 
>   servletapi
>   servletapi
>   2.3
>   compile>
> 
> 
>   junit
>   junit
>   3.8.1
>  test
> 
>   

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MEV-58) commons-el missing dependency scope

2005-09-08 Thread Carlos Sanchez (JIRA)
 [ http://jira.codehaus.org/browse/MEV-58?page=all ]
 
Carlos Sanchez closed MEV-58:
-

 Assign To: Carlos Sanchez
Resolution: Fixed

> commons-el missing dependency scope 
> 
>
>  Key: MEV-58
>  URL: http://jira.codehaus.org/browse/MEV-58
>  Project: Maven Evangelism
> Type: Bug
>   Components: Invalid POM
> Reporter: Nadeem Bitar
> Assignee: Carlos Sanchez

>
>
> The servletapi and jspapi should be a compile time dependency. The 
> "compile" is missing inside the POM. Omitting the scope will 
> cause the servletapi and jspapi jars to be bundled inside the WAR causing 
> conflicts when deploying to tomcat 5.5.  
> 
>   servletapi
>   servletapi
>   2.4-20040521
>   compile
> 
> 
>   jspapi
>   jsp-api
>   2.0-20040521
>   compile
> 

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MEV-78) commons-dbcp JUnit dependency not in scope test

2005-09-08 Thread Carlos Sanchez (JIRA)
 [ http://jira.codehaus.org/browse/MEV-78?page=all ]
 
Carlos Sanchez closed MEV-78:
-

 Assign To: Carlos Sanchez
Resolution: Fixed

> commons-dbcp JUnit dependency not in scope test
> ---
>
>  Key: MEV-78
>  URL: http://jira.codehaus.org/browse/MEV-78
>  Project: Maven Evangelism
> Type: Bug
>   Components: Dependencies
> Reporter: Adam Hardy
> Assignee: Carlos Sanchez

>
>
> the JUnit dependency scope is set to compile but should be test

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (MPPMD-20) ruleset names

2005-09-08 Thread Sivanandan Srilakshmanan (JIRA)
ruleset names
-

 Key: MPPMD-20
 URL: http://jira.codehaus.org/browse/MPPMD-20
 Project: maven-pmd-plugin
Type: Improvement
 Environment: Web browser
 Reporter: Sivanandan Srilakshmanan
Priority: Minor



Web page http://pmd.sourceforge.net/rules/index.html

The PMD index should include the name of the ruleset for example 
Braces Rules is called rulesets/braces.xml
Jakarta Commons Logging Rules is called ??


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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - SUCCESS - checkout] Fri Sep 9 00:15:00 GMT 2005

2005-09-08 Thread continuum
Distribution:
http://maven.zones.apache.org/~maven/builds/m2-20050909.001500.tar.gz

Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050909.001500.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[REPOCLEAN] Error(s) occurred while converting repository

2005-09-08 Thread REPOCLEAN
Errors occurred while performing maven-1 to maven-2 repository conversion.

For more details, see:

http://test.maven.codehaus.org/reports/repoclean/08-Sep-2005_08.00.27/repository.report.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (MNG-851) Hardcoded pom.xml name in InstallMojo.java

2005-09-08 Thread Guest (JIRA)
Hardcoded pom.xml name in InstallMojo.java
--

 Key: MNG-851
 URL: http://jira.codehaus.org/browse/MNG-851
 Project: Maven 2
Type: Bug
  Components: maven-plugins  
Versions: 2.0-beta-1
 Reporter: Guest
Priority: Blocker


Just ran the install lifecycle against a pom with a made-up name but the code 
eventually looks for a file called pom.xml. Here's the command I ran

m2 -f testpom.xml install

and got an exception:

Caused by: java.io.FileNotFoundException: 
/Users/developer/projects/java-source-repository/home/pom.xml (No such file or 
directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileReader.(FileReader.java:55)
at 
org.apache.maven.project.artifact.ProjectArtifactMetadata.storeInLocalRepository(ProjectArtifactMetadata.java:82)

a quick check of the source code reveals a hardcoded reference to pom.xml in 
InstallMojo.execute line 92 in my version:

public void execute()
throws MojoExecutionException
{
// TODO: push into transformation
boolean isPomArtifact = "pom".equals( packaging );

File pom = new File( basedir, "pom.xml" );
if ( !isPomArtifact )
...

Just renamed the file back to pom.xml again and this time the install worked.


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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279673 - /maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties

2005-09-08 Thread aheritier
Author: aheritier
Date: Thu Sep  8 16:22:07 2005
New Revision: 279673

URL: http://svn.apache.org/viewcvs?rev=279673&view=rev
Log:
Fix fr locale

Modified:

maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties

Modified: 
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties?rev=279673&r1=279672&r2=279673&view=diff
==
--- 
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties
 (original)
+++ 
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties
 Thu Sep  8 16:22:07 2005
@@ -66,15 +66,15 @@
 template.dependencies.section.comment=Commentaire
 
 # For downloads.xml
-template.downloads.title=Téléchargement
-template.downloads.section.title=Téléchargement
+template.downloads.title=Téléchargements
+template.downloads.section.title=Téléchargements
 template.downloads.section.no_distURL1=Vous devez definir la propriété
 template.downloads.section.no_distURL2=si vous souhaitez produire le rapport 
de téléchargement.
-template.downloads.section.no_Downloads=Ce projet n'a libéré aucune version 
encore.
+template.downloads.section.no_Downloads=Ce projet n'a encore livrer aucune 
version.
 template.downloads.section.available=Liste de téléchargements disponibles.
-template.downloads.section.table.header1=Lien au téléchargement
-template.downloads.section.table.header2=Remarques
-template.downloads.section.release.notes=Remarques
+template.downloads.section.table.header1=Liens de téléchargement
+template.downloads.section.table.header2=Annonces
+template.downloads.section.release.notes=- Annonce
 
 # For issue-tracking.xml
 template.issue_tracking.title=Suivi des incidents



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Maven 1.0 branch

2005-09-08 Thread Arnaud HERITIER
We could upgrade only some plugins but it may be easier to do it if we have a 
continous integration to test them with m1.0/m1.1 and
jdk 1.3/1.4/1.5.

The problem is that there aren't tests for all of them :-(

Arnaud


> > 
> > It all depends on when 1.1 is expected to become final. And how 
> > long/much effort it takes to craft a 1.0.3.
> > 
> > I would download and try 1.0.3 instantly, and crafting my builds 
> > accordingly, as it would make transitioning to 1.1 easier.
> > 
> > I'm +1, but only if it doesn't take (too much) time off of 1.1
> 
> The problem is that several new versions of plugins rely on 
> Maven 1.1's core so I don't think it would work. We don't 
> really have a mechanism set up to ensure m1 plugins continue 
> to work with all versions.
> 
> -Vincent
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[REPOCLEAN] Error(s) occurred while converting repository

2005-09-08 Thread REPOCLEAN
Errors occurred while performing maven-1 to maven-2 repository conversion.

For more details, see:

http://test.maven.codehaus.org/reports/repoclean/08-Sep-2005_04.00.31/repository.report.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Maven 1.0 branch

2005-09-08 Thread Vincent Massol


> -Original Message-
> From: Martijn Dashorst [mailto:[EMAIL PROTECTED]
> Sent: jeudi 8 septembre 2005 10:29
> To: Maven Developers List
> Subject: Re: Maven 1.0 branch
> 
> It all depends on when 1.1 is expected to become final. And how long/much
> effort it takes to craft a 1.0.3.
> 
> I would download and try 1.0.3 instantly, and crafting my builds
> accordingly, as it would make transitioning to 1.1 easier.
> 
> I'm +1, but only if it doesn't take (too much) time off of 1.1

The problem is that several new versions of plugins rely on Maven 1.1's core
so I don't think it would work. We don't really have a mechanism set up to
ensure m1 plugins continue to work with all versions.

-Vincent


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MAVENUPLOAD-500) Upload http://wicket.sourceforge.net/downloads/wicket-1.1-b4-bundle.jar and http://wicket.sourceforge.net/downloads/wicket-extensions-1.1-b4-bundle.jar

2005-09-08 Thread Carlos Sanchez (JIRA)
 [ http://jira.codehaus.org/browse/MAVENUPLOAD-500?page=all ]
 
Carlos Sanchez closed MAVENUPLOAD-500:
--

 Assign To: Carlos Sanchez
Resolution: Fixed

> Upload http://wicket.sourceforge.net/downloads/wicket-1.1-b4-bundle.jar and 
> http://wicket.sourceforge.net/downloads/wicket-extensions-1.1-b4-bundle.jar
> ---
>
>  Key: MAVENUPLOAD-500
>  URL: http://jira.codehaus.org/browse/MAVENUPLOAD-500
>  Project: maven-upload-requests
> Type: Task
> Reporter: Martijn Dashorst
> Assignee: Carlos Sanchez

>
>
> http://wicket.sourceforge.net/downloads/wicket-1.1-b4-bundle.jar
> http://wicket.sourceforge.net/downloads/wicket-extensions-1.1-b4-bundle.jar
> http://wicket.sf.net
> http://wicket.sf.net/team-list.html
> Wicket is a Java web application framework that takes simplicity, separation 
> of concerns and ease of development to a whole new level. Wicket pages can be 
> mocked up, previewed and later revised using standard WYSIWYG HTML design 
> tools. Dynamic content processing and form handling is all handled in Java 
> code using a first-class component model backed by POJO data beans that can 
> easily be persisted using your favourite technology.
> Thanks for uploading!

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MAVENUPLOAD-505) Please upload hibernate-tools and dependencies for M2

2005-09-08 Thread Carlos Sanchez (JIRA)
 [ http://jira.codehaus.org/browse/MAVENUPLOAD-505?page=all ]
 
Carlos Sanchez closed MAVENUPLOAD-505:
--

 Assign To: Carlos Sanchez
Resolution: Fixed

> Please upload hibernate-tools and dependencies for M2
> -
>
>  Key: MAVENUPLOAD-505
>  URL: http://jira.codehaus.org/browse/MAVENUPLOAD-505
>  Project: maven-upload-requests
> Type: Task
> Reporter: Johann Reyes
> Assignee: Carlos Sanchez

>
>
> http://hiberforum.org/hibernate-3.1beta2-bundle.jar
> http://hiberforum.org/hibernate-annotations-3.1beta4-bundle.jar
> http://hiberforum.org/hibernate-tools-3.0.0.alpha4a-bundle.jar
> http://hiberforum.org/hibernate-tools-hibernate-3.0.0.alpha4a-bundle.jar
> http://hibernate.org
> Hibernate dependencies for hibernate-tools-3.0.0.alpha4a

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: beta-2 test bundle

2005-09-08 Thread Brett Porter
I've refreshed this with a fix for the Geronimo build.

- Brett

Brett Porter wrote:

>Hi folks,
>
>The beta-2 bundles are available for testing in conjunction with the vote.
>
>http://people.apache.org/~brett/release/
>
>- Brett
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279589 - in /maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates: downloads.jelly templates.properties templates_de.properties templates_fr.properties

2005-09-08 Thread ltheussl
Author: ltheussl
Date: Thu Sep  8 10:24:06 2005
New Revision: 279589

URL: http://svn.apache.org/viewcvs?rev=279589&view=rev
Log:
Add i18n for Downloads page

Modified:

maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly

maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates.properties

maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_de.properties

maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties

Modified: 
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly?rev=279589&r1=279588&r2=279589&view=diff
==
--- 
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly 
(original)
+++ 
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly 
Thu Sep  8 10:24:06 2005
@@ -29,11 +29,17 @@
   
   
 
-  Downloads
+  
+
+
 
 
 
-  
+  
 
 
@@ -41,8 +47,11 @@
 
   
 
-  You must define the maven.xdoc.distributionUrl 
-  property if you wish to generate the download report.
+  
+  maven.xdoc.distributionUrl 
+  
 
   
   
@@ -51,14 +60,16 @@
 
   
 
-  This project has not released any version yet.
+  
 
   
   
 
 
-  List of available downloads.
+  
 
 
 

svn commit: r279588 - in /maven/maven-1/core/tags/maven-1.1-beta-2/src: java/org/apache/maven/project/ test/java/org/apache/maven/project/ test/test-data/pom/ test/test-data/pom/extend/

2005-09-08 Thread brett
Author: brett
Date: Thu Sep  8 10:22:59 2005
New Revision: 279588

URL: http://svn.apache.org/viewcvs?rev=279588&view=rev
Log:
apply changes from HEAD to fix id handling for the release

Added:

maven/maven-1/core/tags/maven-1.1-beta-2/src/test/test-data/pom/extend/base-different-ids.xml
  - copied unchanged from r279587, 
maven/maven-1/core/trunk/src/test/test-data/pom/extend/base-different-ids.xml

maven/maven-1/core/tags/maven-1.1-beta-2/src/test/test-data/pom/extend/base-matching-ids.xml
  - copied unchanged from r279587, 
maven/maven-1/core/trunk/src/test/test-data/pom/extend/base-matching-ids.xml

maven/maven-1/core/tags/maven-1.1-beta-2/src/test/test-data/pom/extend/test-artifact-id-only-over-different.xml
  - copied unchanged from r279587, 
maven/maven-1/core/trunk/src/test/test-data/pom/extend/test-artifact-id-only-over-different.xml

maven/maven-1/core/tags/maven-1.1-beta-2/src/test/test-data/pom/extend/test-artifact-id-only-over-matching.xml
  - copied unchanged from r279587, 
maven/maven-1/core/trunk/src/test/test-data/pom/extend/test-artifact-id-only-over-matching.xml

maven/maven-1/core/tags/maven-1.1-beta-2/src/test/test-data/pom/extend/test-artifact-id-only.xml
  - copied unchanged from r279587, 
maven/maven-1/core/trunk/src/test/test-data/pom/extend/test-artifact-id-only.xml
Modified:

maven/maven-1/core/tags/maven-1.1-beta-2/src/java/org/apache/maven/project/Project.java

maven/maven-1/core/tags/maven-1.1-beta-2/src/test/java/org/apache/maven/project/LegacyIdTest.java

maven/maven-1/core/tags/maven-1.1-beta-2/src/test/test-data/pom/dependencies.xml

Modified: 
maven/maven-1/core/tags/maven-1.1-beta-2/src/java/org/apache/maven/project/Project.java
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/core/tags/maven-1.1-beta-2/src/java/org/apache/maven/project/Project.java?rev=279588&r1=279587&r2=279588&view=diff
==
--- 
maven/maven-1/core/tags/maven-1.1-beta-2/src/java/org/apache/maven/project/Project.java
 (original)
+++ 
maven/maven-1/core/tags/maven-1.1-beta-2/src/java/org/apache/maven/project/Project.java
 Thu Sep  8 10:22:59 2005
@@ -99,6 +99,8 @@
 
 private final Model model;
 
+private String originalGroupId;
+
 /**
  * Default constructor.
  */
@@ -795,10 +797,10 @@
 setShortDescription( parent.getShortDescription() );
 }
 
-if ( model.getGroupId() == null && parent.model.getGroupId() != null )
+if ( model.getGroupId() == null )
 {
 // Don't inherit if it was from an id element
-if ( parent.model.getId() == null || 
!parent.model.getGroupId().equals( parent.model.getId() ) )
+if ( parent.originalGroupId != null || model.getId() == null )
 {
 model.setGroupId( parent.model.getGroupId() );
 }
@@ -1363,6 +1365,7 @@
  */
 public void resolveIds()
 {
+originalGroupId = model.getGroupId();
 if ( model.getId() != null )
 {
 if ( model.getGroupId() == null )
@@ -1419,10 +1422,9 @@
 else
 {
 dependency.setGroupId( id );
-dependency.setArtifactId( id );
 }
 }
-else if ( dependency.getArtifactId() == null )
+if ( dependency.getArtifactId() == null )
 {
 dependency.setArtifactId( dependency.getId() );
 }
@@ -1483,5 +1485,4 @@
 {
 return getId().hashCode();
 }
-
 }

Modified: 
maven/maven-1/core/tags/maven-1.1-beta-2/src/test/java/org/apache/maven/project/LegacyIdTest.java
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/core/tags/maven-1.1-beta-2/src/test/java/org/apache/maven/project/LegacyIdTest.java?rev=279588&r1=279587&r2=279588&view=diff
==
--- 
maven/maven-1/core/tags/maven-1.1-beta-2/src/test/java/org/apache/maven/project/LegacyIdTest.java
 (original)
+++ 
maven/maven-1/core/tags/maven-1.1-beta-2/src/test/java/org/apache/maven/project/LegacyIdTest.java
 Thu Sep  8 10:22:59 2005
@@ -30,9 +30,10 @@
  * @author Brett Porter mailto:[EMAIL PROTECTED]">[EMAIL 
PROTECTED]
  * @version $Id$
  */
-public class LegacyIdTest extends TestCase
+public class LegacyIdTest
+extends TestCase
 {
-/** 
+/**
  * Test for legacyToStandardId
  */
 public void testLegacyToStandardId()
@@ -40,22 +41,19 @@
 // test 'ant' -> 'ant:ant'
 String legacyId = "ant";
 String standardId = "ant:ant";
-assertEquals("Single id conversion failed", standardId,
-Project.legacyToStandardId(legacyId));
-   
+assertEquals( "Single id conversion failed", standardId, 
Project.legacyToStandardId( legacyId ) );
+
 // test 'ant:ant' unchanged
- 

svn commit: r279587 - /maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java

2005-09-08 Thread brett
Author: brett
Date: Thu Sep  8 10:17:50 2005
New Revision: 279587

URL: http://svn.apache.org/viewcvs?rev=279587&view=rev
Log:
more id compatibility

Modified:
maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java

Modified: 
maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java?rev=279587&r1=279586&r2=279587&view=diff
==
--- maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java 
(original)
+++ maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java Thu 
Sep  8 10:17:50 2005
@@ -99,6 +99,8 @@
 
 private final Model model;
 
+private String originalGroupId;
+
 /**
  * Default constructor.
  */
@@ -798,7 +800,7 @@
 if ( model.getGroupId() == null )
 {
 // Don't inherit if it was from an id element
-if ( model.getId() == null || parent.model.getId() == null || 
!parent.model.getGroupId().equals( parent.model.getId() ) )
+if ( parent.originalGroupId != null || model.getId() == null )
 {
 model.setGroupId( parent.model.getGroupId() );
 }
@@ -1363,6 +1365,7 @@
  */
 public void resolveIds()
 {
+originalGroupId = model.getGroupId();
 if ( model.getId() != null )
 {
 if ( model.getGroupId() == null )
@@ -1482,5 +1485,4 @@
 {
 return getId().hashCode();
 }
-
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - SUCCESS - checkout] Thu Sep 8 16:57:45 GMT 2005

2005-09-08 Thread continuum
Distribution:
http://maven.zones.apache.org/~maven/builds/m2-20050908.165745.tar.gz

Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.165745.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] Strange Build Error

2005-09-08 Thread Allison, Bob
Just after I sent the message, I got the SVN commit message in my mail.

The build is running fine now.  I guess this is one of the hazards of
trying to stay on the bleeding edge and help get problems fixed.

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 13:01
To: Maven Developers List
Subject: Re: [m2] Strange Build Error


I *just* fixed it :)

- Brett

Allison, Bob wrote:

>I'm updated my m2 SVN tree this morning and am trying to build a new
>version.  MBoot runs fine and builds a new m2, but when it starts to
>rebuild the plugins, I get the following:
>  
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Strange Build Error

2005-09-08 Thread Brett Porter
I *just* fixed it :)

- Brett

Allison, Bob wrote:

>I'm updated my m2 SVN tree this morning and am trying to build a new
>version.  MBoot runs fine and builds a new m2, but when it starts to
>rebuild the plugins, I get the following:
>  
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (MAVENUPLOAD-505) Please upload hibernate-tools and dependencies for M2

2005-09-08 Thread Johann Reyes (JIRA)
Please upload hibernate-tools and dependencies for M2
-

 Key: MAVENUPLOAD-505
 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-505
 Project: maven-upload-requests
Type: Task
 Reporter: Johann Reyes


http://hiberforum.org/hibernate-3.1beta2-bundle.jar
http://hiberforum.org/hibernate-annotations-3.1beta4-bundle.jar
http://hiberforum.org/hibernate-tools-3.0.0.alpha4a-bundle.jar
http://hiberforum.org/hibernate-tools-hibernate-3.0.0.alpha4a-bundle.jar

http://hibernate.org

Hibernate dependencies for hibernate-tools-3.0.0.alpha4a

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279582 - /maven/components/trunk/maven-mboot2/src/main/java/MBoot.java

2005-09-08 Thread brett
Author: brett
Date: Thu Sep  8 10:00:09 2005
New Revision: 279582

URL: http://svn.apache.org/viewcvs?rev=279582&view=rev
Log:
write metadata to correct file

Modified:
maven/components/trunk/maven-mboot2/src/main/java/MBoot.java

Modified: maven/components/trunk/maven-mboot2/src/main/java/MBoot.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-mboot2/src/main/java/MBoot.java?rev=279582&r1=279581&r2=279582&view=diff
==
--- maven/components/trunk/maven-mboot2/src/main/java/MBoot.java (original)
+++ maven/components/trunk/maven-mboot2/src/main/java/MBoot.java Thu Sep  8 
10:00:09 2005
@@ -817,7 +817,7 @@
 
 RepositoryMetadata metadata = new RepositoryMetadata();
 metadata.setReleaseVersion( version );
-file = localRepository.getMetadataFile( groupId, artifactId, null, 
type, artifactId + "-RELEASE.version.txt" );
+file = localRepository.getMetadataFile( groupId, artifactId, null, 
type, "maven-metadata-local.xml" );
 metadata.write( file );
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] Strange Build Error

2005-09-08 Thread Allison, Bob
I'm updated my m2 SVN tree this morning and am trying to build a new
version.  MBoot runs fine and builds a new m2, but when it starts to
rebuild the plugins, I get the following:
---
 Rebuilding maven2 plugins ... 
---
+ Error stacktraces are turned on.
[INFO] Searching repository for plugin with prefix: 'clean'.
[INFO] org.apache.maven.plugins: checking for updates from
central-plugins
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
org/apache/maven/plugins/maven-metadata.xml - IGNORING
[INFO] org.apache.maven.plugins:maven-clean-plugin: checking for updates
from central-plugins
Downloading:
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-cle
an-plugin/
  
2.0-beta-1-SNAPSHOT

  0



  
/maven-clean-plugin-
  
2.0-beta-1-SNAPSHOT

  0



  
.pom
[WARNING] Unable to get resource from repository central-plugins
(http://repo1.maven.org/maven2/plugins)
[WARNING] 
  * Using defaults for missing POM
org.apache.maven.plugins:maven-clean-plugin:pom:
  
2.0-beta-1-SNAPSHOT

  0



  
 *

[INFO] Cannot find mojo descriptor for: 'clean:clean' - Treating as
non-aggregator.
[INFO]


[INFO] Building Maven Plugins
[INFO]task-segment: [clean:clean, install]
[INFO]


Downloading:
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-cle
an-plugin/
  
2.0-beta-1-SNAPSHOT

  0



  
/maven-clean-plugin-
  
2.0-beta-1-SNAPSHOT

  0



  
.pom
[WARNING] Unable to get resource from repository central-plugins
(http://repo1.maven.org/maven2/plugins)
[WARNING] 
  * Using defaults for missing POM
org.apache.maven.plugins:maven-clean-plugin:pom:
  
2.0-beta-1-SNAPSHOT

  0



  
 *

FATAL ERROR: Error executing Maven for a project
Error stacktrace:
org.apache.maven.reactor.ReactorException: Error executing project
within the reactor
at
org.apache.maven.DefaultMaven.execute(Lorg.apache.maven.execution.MavenE
xecutionRequest;)Lorg.apache.maven.execution.MavenExecutionResponse;(Def
aultMaven.java:241)
at
org.apache.maven.cli.MavenCli.main([Ljava.lang.String;Lorg.codehaus.clas
sworlds.ClassWorld;)I(MavenCli.java:316)
at
jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lan
g.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at
jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang
.Object;)Ljava.lang.Object;(Unknown Source)
at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)L
java.lang.Object;(Unknown Source)
at
org.codehaus.classworlds.Launcher.launchEnhanced([Ljava.lang.String;)V(L
auncher.java:315)
at
org.codehaus.classworlds.Launcher.launch([Ljava.lang.String;)V(Launcher.
java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode([Ljava.lang.String;)I
(Launcher.java:430)
at
org.codehaus.classworlds.Launcher.main([Ljava.lang.String;)V(Launcher.ja
va:375)
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Error
resolving plugin version
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(Lj
ava.lang.String;Lorg.apache.maven.execution.MavenSession;Lorg.apache.mav
en.project.MavenProject;Ljava.lang.String;Z)Lorg.apache.maven.plugin.des
criptor.MojoDescriptor;(DefaultLifecycleExecutor.java:1020)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(Ljava.lang.String;Lorg.apache.maven.execution.MavenSession;Lorg.apache
.maven.project.MavenProject;)V(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Ljava.la
ng.String;Lorg.apache.maven.execution.MavenSession;Lorg.apache.maven.pro
ject.MavenProject;)V(DefaultLifecycleExecutor.java:442)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
Ljava.util.List;Lorg.apache.maven.execution.ReactorManager;Lorg.apache.m
aven.execution.MavenSession;Lorg.apache.maven.project.MavenProject;Lorg.
apache.maven.monitor.event.EventDispatcher;)V(DefaultLifecycleExecutor.j
ava:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Lorg.apache.
maven.execution.MavenSession;Lorg.apache.maven.execution.ReactorManager;
Lorg.apache.maven.monitor.event.EventDispatcher;)Lorg.apache.maven.execu
tion.MavenExecutionResponse;(DefaultLifecycleExecutor.java:131)
at
org.apache.maven.DefaultMaven.execute(Lorg.apache.maven.execution.MavenE
xecutionRequest;)Lorg.apache.maven.execution.MavenExecutionResponse;(Def
aultMaven.java:186)
... 8 more
Caused by:
org.apache.maven.plugin.versi

[maven2 build - FAILED - checkout] Thu Sep 8 16:44:16 GMT 2005

2005-09-08 Thread continuum
Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.164416.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MAVEN-1640) groupId not inherited from parent pom

2005-09-08 Thread Brett Porter (JIRA)
 [ http://jira.codehaus.org/browse/MAVEN-1640?page=all ]
 
Brett Porter closed MAVEN-1640:
---

 Resolution: Fixed
Fix Version: 1.1-beta-2

> groupId not inherited from parent pom
> -
>
>  Key: MAVEN-1640
>  URL: http://jira.codehaus.org/browse/MAVEN-1640
>  Project: Maven
> Type: Bug
> Versions: 1.1-beta-1
>  Environment: Windows XP, cygwin
> Reporter: Mark Hobson
> Assignee: Brett Porter
>  Fix For: 1.1-beta-2

>
>
> groupId is no longer inherited from a parent pom, but the child pom's id is 
> used instead.  This is a regression from 1.0.2.

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279580 - in /maven/maven-1/core/trunk/src: java/org/apache/maven/project/ test/java/org/apache/maven/project/ test/test-data/pom/ test/test-data/pom/extend/

2005-09-08 Thread brett
Author: brett
Date: Thu Sep  8 09:39:22 2005
New Revision: 279580

URL: http://svn.apache.org/viewcvs?rev=279580&view=rev
Log:
PR: MAVEN-1640
make id handling more consistent with 1.0.2

Added:

maven/maven-1/core/trunk/src/test/test-data/pom/extend/base-different-ids.xml   
(with props)

maven/maven-1/core/trunk/src/test/test-data/pom/extend/base-matching-ids.xml   
(with props)

maven/maven-1/core/trunk/src/test/test-data/pom/extend/test-artifact-id-only-over-different.xml
   (with props)

maven/maven-1/core/trunk/src/test/test-data/pom/extend/test-artifact-id-only-over-matching.xml
   (with props)

maven/maven-1/core/trunk/src/test/test-data/pom/extend/test-artifact-id-only.xml
   (with props)
Modified:
maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java

maven/maven-1/core/trunk/src/test/java/org/apache/maven/project/LegacyIdTest.java
maven/maven-1/core/trunk/src/test/test-data/pom/dependencies.xml

Modified: 
maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java?rev=279580&r1=279579&r2=279580&view=diff
==
--- maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java 
(original)
+++ maven/maven-1/core/trunk/src/java/org/apache/maven/project/Project.java Thu 
Sep  8 09:39:22 2005
@@ -795,10 +795,10 @@
 setShortDescription( parent.getShortDescription() );
 }
 
-if ( model.getGroupId() == null && parent.model.getGroupId() != null )
+if ( model.getGroupId() == null )
 {
 // Don't inherit if it was from an id element
-if ( parent.model.getId() == null || 
!parent.model.getGroupId().equals( parent.model.getId() ) )
+if ( model.getId() == null || parent.model.getId() == null || 
!parent.model.getGroupId().equals( parent.model.getId() ) )
 {
 model.setGroupId( parent.model.getGroupId() );
 }
@@ -1419,10 +1419,9 @@
 else
 {
 dependency.setGroupId( id );
-dependency.setArtifactId( id );
 }
 }
-else if ( dependency.getArtifactId() == null )
+if ( dependency.getArtifactId() == null )
 {
 dependency.setArtifactId( dependency.getId() );
 }

Modified: 
maven/maven-1/core/trunk/src/test/java/org/apache/maven/project/LegacyIdTest.java
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/src/test/java/org/apache/maven/project/LegacyIdTest.java?rev=279580&r1=279579&r2=279580&view=diff
==
--- 
maven/maven-1/core/trunk/src/test/java/org/apache/maven/project/LegacyIdTest.java
 (original)
+++ 
maven/maven-1/core/trunk/src/test/java/org/apache/maven/project/LegacyIdTest.java
 Thu Sep  8 09:39:22 2005
@@ -30,9 +30,10 @@
  * @author Brett Porter mailto:[EMAIL PROTECTED]">[EMAIL 
PROTECTED]
  * @version $Id$
  */
-public class LegacyIdTest extends TestCase
+public class LegacyIdTest
+extends TestCase
 {
-/** 
+/**
  * Test for legacyToStandardId
  */
 public void testLegacyToStandardId()
@@ -40,22 +41,19 @@
 // test 'ant' -> 'ant:ant'
 String legacyId = "ant";
 String standardId = "ant:ant";
-assertEquals("Single id conversion failed", standardId,
-Project.legacyToStandardId(legacyId));
-   
+assertEquals( "Single id conversion failed", standardId, 
Project.legacyToStandardId( legacyId ) );
+
 // test 'ant:ant' unchanged
-legacyId = "ant:ant"; 
-assertEquals("Standard id conversion failed", standardId,
-Project.legacyToStandardId(legacyId));
+legacyId = "ant:ant";
+assertEquals( "Standard id conversion failed", standardId, 
Project.legacyToStandardId( legacyId ) );
 
 // test 'ant+optional' -> ant:ant-optional
 legacyId = "ant+optional";
 standardId = "ant:ant-optional";
-assertEquals("Plus format id conversion failed", standardId,
-Project.legacyToStandardId(legacyId));
+assertEquals( "Plus format id conversion failed", standardId, 
Project.legacyToStandardId( legacyId ) );
 }
 
-/** 
+/**
  * Test for legacyToDependencyKey
  */
 public void testLegacyToDependencyId()
@@ -68,43 +66,36 @@
 // test 'ant' -> 'ant:ant:jar'
 String legacyId = "ant";
 String standardId = "ant:ant:jar";
-assertEquals("Single id conversion failed", standardId,
-project.legacyToDependencyKey(legacyId));
-   
+assertEquals( "Single id conversion failed", standardId, 
project.legacyToDependencyKey( legacyId ) );
+
 //

[jira] Reopened: (MAVEN-1640) groupId not inherited from parent pom

2005-09-08 Thread Brett Porter (JIRA)
 [ http://jira.codehaus.org/browse/MAVEN-1640?page=all ]
 
Brett Porter reopened MAVEN-1640:
-


identified this happens with an 

> groupId not inherited from parent pom
> -
>
>  Key: MAVEN-1640
>  URL: http://jira.codehaus.org/browse/MAVEN-1640
>  Project: Maven
> Type: Bug
> Versions: 1.1-beta-1
>  Environment: Windows XP, cygwin
> Reporter: Mark Hobson
> Assignee: Brett Porter

>
>
> groupId is no longer inherited from a parent pom, but the child pom's id is 
> used instead.  This is a regression from 1.0.2.

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[REPOCLEAN] Error(s) occurred while converting repository

2005-09-08 Thread REPOCLEAN
Errors occurred while performing maven-1 to maven-2 repository conversion.

For more details, see:

http://test.maven.codehaus.org/reports/repoclean/08-Sep-2005_12.00.48/repository.report.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (MPXDOC-130) CVS Usage Page is blank when using Subversion scm.

2005-09-08 Thread Lukas Theussl (JIRA)
 [ http://jira.codehaus.org/browse/MPXDOC-130?page=all ]

Lukas Theussl updated MPXDOC-130:
-

Description: 
Maven-xdoc-plugin generates mostly empty page if project uses Subversion scm. 

Although maven now can not checkout projects from svn repos, cvs-usage.xml 
template must generate a command line checkout instructions.

  was:
Maven-xdoc-plugin generates mostly empty page if project uses Subversion scm. 

Although maven now can not checkout projects from svn repos, cvs-usage.xml 
template must generate a command line checkout instructions.

Fix Version: (was: 1.9)

> CVS Usage Page is blank when using Subversion scm.
> --
>
>  Key: MPXDOC-130
>  URL: http://jira.codehaus.org/browse/MPXDOC-130
>  Project: maven-xdoc-plugin
> Type: Improvement
>  Environment: maven-xdoc-1.8
> Reporter: Evrim ULU
> Assignee: Lukas Theussl
>  Attachments: svn.patch, svnv2.patch
>
>
> Maven-xdoc-plugin generates mostly empty page if project uses Subversion scm. 
> Although maven now can not checkout projects from svn repos, cvs-usage.xml 
> template must generate a command line checkout instructions.

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Reopened: (MPXDOC-130) CVS Usage Page is blank when using Subversion scm.

2005-09-08 Thread Lukas Theussl (JIRA)
 [ http://jira.codehaus.org/browse/MPXDOC-130?page=all ]
 
Lukas Theussl reopened MPXDOC-130:
--

 Assign To: Lukas Theussl  (was: Arnaud Heritier)

Reopened to review patch

> CVS Usage Page is blank when using Subversion scm.
> --
>
>  Key: MPXDOC-130
>  URL: http://jira.codehaus.org/browse/MPXDOC-130
>  Project: maven-xdoc-plugin
> Type: Improvement
>  Environment: maven-xdoc-1.8
> Reporter: Evrim ULU
> Assignee: Lukas Theussl
>  Fix For: 1.9
>  Attachments: svn.patch, svnv2.patch
>
>
> Maven-xdoc-plugin generates mostly empty page if project uses Subversion scm. 
> Although maven now can not checkout projects from svn repos, cvs-usage.xml 
> template must generate a command line checkout instructions.

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MPXDOC-121) Calculation of local time of team member is wrong

2005-09-08 Thread Lukas Theussl (JIRA)
 [ http://jira.codehaus.org/browse/MPXDOC-121?page=all ]
 
Lukas Theussl closed MPXDOC-121:



Cannot reproduce

> Calculation of local time of  team member is wrong
> --
>
>  Key: MPXDOC-121
>  URL: http://jira.codehaus.org/browse/MPXDOC-121
>  Project: maven-xdoc-plugin
> Type: Bug
>  Environment: N/A
> Reporter: Ortwin Glück
> Assignee: Arnaud Heritier
> Priority: Minor

>
> Original Estimate: 15 minutes
> Remaining: 15 minutes
>
> In the POM the Timezone of the developer is defined as an offset to GMT. 
> (This is actually poor, as this does not respect daylight savings. Timezone 
> names should have been preferred.)
> Now, there is JavaScript Code in src/plugin-resources/templates/team-list.xml 
> that calculates the local time of a team member based on that value from the 
> POM and the local time of the user viewing the page.
> Code fragement:
> 
>  function offsetDate(id, offset) {
> var now = new Date() ;
> var nowTime = now.getTime() ;
> var localOffset = now.getTimezoneOffset() ;
> var developerTime = nowTime + (offset * 60 * 60 * 1000) + (localOffset * 
> 60 * 1000) ;
> var developerDate = new Date(developerTime) ;
> document.getElementById(id).innerHTML = developerDate;
>  }
> 
> The code in question is:
> 
>   var developerTime = nowTime + (offset * 60 * 60 * 1000) + (localOffset * 60 
> * 1000) ;
> 
> This reads:
>  [developerTime] = [local time] + [local timezone offset] + [developer 
> timezone offset]
> which does not make any sense.
> It should rather be:
>  [developerTime] = [local time] - [local timezone offset] + [developer 
> timezone offset]
> so the above line should be:
> 
>   var developerTime = nowTime + (offset * 60 * 60 * 1000) - (localOffset * 60 
> * 1000) ;
> 
> Kind regards
> Ortwin Glück

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - SUCCESS - update] Thu Sep 8 15:30:00 GMT 2005

2005-09-08 Thread continuum
Distribution:
http://maven.zones.apache.org/~maven/builds/m2-20050908.153000.tar.gz

Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.153000.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - SUCCESS - update] Thu Sep 8 15:15:00 GMT 2005

2005-09-08 Thread continuum
Distribution:
http://maven.zones.apache.org/~maven/builds/m2-20050908.151501.tar.gz

Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.151501.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Closed: (MNG-755) Remove the dysfunctional command line arguments

2005-09-08 Thread Kenney Westerhof (JIRA)
 [ http://jira.codehaus.org/browse/MNG-755?page=all ]
 
Kenney Westerhof closed MNG-755:


 Assign To: Kenney Westerhof  (was: Brett Porter)
Resolution: Fixed

Fixed in svn revision 279574 by using GnuParser instead of PosixParser.

> Remove the dysfunctional command line arguments
> ---
>
>  Key: MNG-755
>  URL: http://jira.codehaus.org/browse/MNG-755
>  Project: Maven 2
> Type: Bug
>   Components: maven-core
> Versions: 2.0-beta-1
>  Environment: SVN revision 233464 on Linux
> Reporter: Bob Allison
> Assignee: Kenney Westerhof
> Priority: Critical
>  Fix For: 2.0-beta-1

>
> Original Estimate: 1 hour
> Remaining: 1 hour
>
> I ran "m2 -fae clean:clean package site:site" on my top level package to 
> clean up all targets, rebuild the artifacts, and generate a site for every 
> project (I used -fae since I have a problem building the site in one 
> sub-project).  The banner displayed when it started processing was:
> [INFO] 
> 
> [INFO] Building Maven Default Project
> [INFO]task-segment: [clean:clean, package, site:site]
> [INFO] 
> 
> even though I have a different name in the POM.
> A little later, the build fails with:
> [INFO] [jar:jar]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] Diagnosis: Error assembling JAR
> [INFO] 
> 
> [ERROR] Cause:
> org.apache.maven.plugin.MojoExecutionException: Error assembling JAR
> at org.apache.maven.plugin.jar.JarMojo.execute(JarMojo.java:107)
> at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:364)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:470)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:443)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:429)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:266)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:125)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:316)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.NullPointerException
> at 
> org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:238)
> at org.apache.maven.plugin.jar.JarMojo.execute(JarMojo.java:100)
> ... 16 more
> which is caused by not having any sources in the project (since it is a POM 
> project).  The build also did not run any of the modules.

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279574 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java

2005-09-08 Thread kenney
Author: kenney
Date: Thu Sep  8 08:22:01 2005
New Revision: 279574

URL: http://svn.apache.org/viewcvs?rev=279574&view=rev
Log:
fix MNG-755 (MNG-720). GnuParser's interpretation of the commandline conforms
to m2's idea about options; PosixParser doesn't.

Modified:

maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java

Modified: 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java?rev=279574&r1=279573&r2=279574&view=diff
==
--- 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
 (original)
+++ 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
 Thu Sep  8 08:22:01 2005
@@ -18,11 +18,11 @@
 
 import org.apache.commons.cli.CommandLine;
 import org.apache.commons.cli.CommandLineParser;
+import org.apache.commons.cli.GnuParser;
 import org.apache.commons.cli.HelpFormatter;
 import org.apache.commons.cli.OptionBuilder;
 import org.apache.commons.cli.Options;
 import org.apache.commons.cli.ParseException;
-import org.apache.commons.cli.PosixParser;
 import org.apache.maven.Maven;
 import org.apache.maven.artifact.manager.WagonManager;
 import org.apache.maven.artifact.repository.ArtifactRepository;
@@ -650,7 +650,7 @@
 public CommandLine parse( String[] args )
 throws ParseException
 {
-CommandLineParser parser = new PosixParser();
+CommandLineParser parser = new GnuParser();
 return parser.parse( options, args );
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279572 - in /maven/components/trunk: maven-core/src/main/java/org/apache/maven/plugin/ maven-model/ maven-project/src/main/java/org/apache/maven/project/ maven-project/src/main/java/org/apache/maven/project/inheritance/ maven-project/src/m...

2005-09-08 Thread jdcasey
Author: jdcasey
Date: Thu Sep  8 08:08:57 2005
New Revision: 279572

URL: http://svn.apache.org/viewcvs?rev=279572&view=rev
Log:
Adding POM-level properties.

Modified:

maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
maven/components/trunk/maven-model/maven.mdo

maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java

maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/ModelUtils.java

maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultProfileInjector.java

maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

Modified: 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java?rev=279572&r1=279571&r2=279572&view=diff
==
--- 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
 (original)
+++ 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
 Thu Sep  8 08:08:57 2005
@@ -238,9 +238,9 @@
 // Check properties that have been injected via profiles before we 
default over to
 // system properties.
 
-if ( project.getProfileProperties() != null )
+if ( project.getProperties() != null )
 {
-value = project.getProfileProperties().getProperty( expression 
);
+value = project.getProperties().getProperty( expression );
 }
 
 if ( value == null )

Modified: maven/components/trunk/maven-model/maven.mdo
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-model/maven.mdo?rev=279572&r1=279571&r2=279572&view=diff
==
--- maven/components/trunk/maven-model/maven.mdo (original)
+++ maven/components/trunk/maven-model/maven.mdo Thu Sep  8 08:08:57 2005
@@ -682,6 +682,18 @@
 DistributionManagement
   
 
+
+  properties
+  4.0.0
+  
+  Properties
+  
+String
+*
+  
+
   
 
 
@@ -2561,18 +2573,6 @@
   
   
 BuildBase
-  
-
-
-  properties
-  4.0.0
-  
-  Properties
-  
-String
-*
   
 
   

Modified: 
maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java?rev=279572&r1=279571&r2=279572&view=diff
==
--- 
maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
 (original)
+++ 
maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
 Thu Sep  8 08:08:57 2005
@@ -85,7 +85,6 @@
 import java.util.LinkedList;
 import java.util.List;
 import java.util.Map;
-import java.util.Properties;
 import java.util.Set;
 
 /**
@@ -433,16 +432,12 @@
 
 List activeProfiles;
 
-Properties profileProperties = new Properties();
-
 superProjectProfileManager.addProfiles( superModel.getProfiles() );
 
-activeProfiles = injectActiveProfiles( superProjectProfileManager, 
superModel, profileProperties );
+activeProfiles = injectActiveProfiles( superProjectProfileManager, 
superModel );
 
 MavenProject superProject = new MavenProject( superModel );
 
-superProject.addProfileProperties( profileProperties );
-
 superProject.setActiveProfiles( activeProfiles );
 
 //noinspection CollectionDeclaredAsConcreteClass
@@ -558,13 +553,6 @@
 modelCache.put( key, model );
 }
 
-Properties profileProperties = project.getProfileProperties();
-
-if ( profileProperties == null )
-{
-profileProperties = new Properties();
-}
-
 List activeProfiles = project.getActiveProfiles();
 
 if ( activeProfiles == null )
@@ -572,7 +560,7 @@
 activeProfiles = new ArrayList();
 }
 
-List injecte

Re: faq & xdoc-SNAPSHOT

2005-09-08 Thread Lukas Theussl





I'm not sure fop will be the best candidate for this. It will be the 
most simple because we already have templates but I'm not sure it's the 
most simple to use. There are some libraries on the net for read/write 
pdf with java code, I don't know if there are some with Apache 
compatible license.


I am familiar with embedding fop in Java so that's something I would try 
first. The fop team expects (unofficially) another release 'in the 
second half of 2005', I am eagerly awaiting that.


As alternative, iText comes to mind ( http://www.lowagie.com/iText/ ), 
it has a dual MPL / LGPL license. It looks good but I have never used it 
myself.





Lukas, I'll can help you (when you'll start) with doxia if you have some 
difficulties.


Thanks a lot Emmanuel, I'll let you know when I'm ready.

- Lukas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MEV-51) broken geronimo POMS

2005-09-08 Thread Brett Porter (JIRA)
[ http://jira.codehaus.org/browse/MEV-51?page=comments#action_45972 ] 

Brett Porter commented on MEV-51:
-

the problem is that those entities do not exist in the repository as there is 
no way to reference the parent (exactly the reason we stopped supporting them)

> broken geronimo POMS
> 
>
>  Key: MEV-51
>  URL: http://jira.codehaus.org/browse/MEV-51
>  Project: Maven Evangelism
> Type: Task
>   Components: Invalid POM
> Reporter: Brett Porter

>
>
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-activation:jar:1.0.2-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-activation-version' (position: 
> START_TAG seen ...&geronimo-spec-activation-version;... 
> @41:55) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-activation:jar:1.0.2-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-activation-version' (position: 
> START_TAG seen ...&geronimo-spec-activation-version;... 
> @41:55) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-ejb:jar:2.1-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-ejb-version' (position: 
> START_TAG seen ...&geronimo-spec-ejb-version;... @41:48) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-ejb:jar:2.1-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-ejb-version' (position: 
> START_TAG seen ...&geronimo-spec-ejb-version;... @41:48) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee:jar:1.4-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-version' (position: 
> START_TAG seen ...&geronimo-spec-j2ee-version;... @35:49) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee:jar:1.4-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-version' (position: 
> START_TAG seen ...&geronimo-spec-j2ee-version;... @35:49) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-connector:jar:1.5-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-connector-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-connector-version;... @41:59) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-connector:jar:1.5-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-connector-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-connector-version;... @41:59) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-deployment:jar:1.1-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-deployment-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-deployment-version;... @55:60) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-deployment:jar:1.1-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-deployment-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-deployment-version;... @55:60) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-jacc:jar:1.0-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-jacc-version' (position: 
> START_TAG seen ...&geronimo-spec-j2ee-jacc-version;... 
> @43:54) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-jacc:jar:1.0-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-jacc-version' (position: 
> START_TAG seen ...&geronimo-spec-j2ee-jacc-version;... 
> @43:54) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-management:jar:1.0-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-management-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-management-version;... @41:60) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-management:jar:1.0-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-management-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-management-version;... @41:60) 
> Error while rewriting file or POM for artifact: 

[jira] Commented: (MEV-51) broken geronimo POMS

2005-09-08 Thread Andy Glick (JIRA)
[ http://jira.codehaus.org/browse/MEV-51?page=comments#action_45971 ] 

Andy Glick commented on MEV-51:
---

The Geronimo POMs are "broken" at a minimum because they make use of the now 
unsupported use of XML entities to specify dependency versions. AFAIK Maven 
1.0.2 supports XML entities in POMs, and it is still the released version of 
Maven 1, so this seems to be a bit of a muddle to me.

> broken geronimo POMS
> 
>
>  Key: MEV-51
>  URL: http://jira.codehaus.org/browse/MEV-51
>  Project: Maven Evangelism
> Type: Task
>   Components: Invalid POM
> Reporter: Brett Porter

>
>
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-activation:jar:1.0.2-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-activation-version' (position: 
> START_TAG seen ...&geronimo-spec-activation-version;... 
> @41:55) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-activation:jar:1.0.2-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-activation-version' (position: 
> START_TAG seen ...&geronimo-spec-activation-version;... 
> @41:55) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-ejb:jar:2.1-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-ejb-version' (position: 
> START_TAG seen ...&geronimo-spec-ejb-version;... @41:48) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-ejb:jar:2.1-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-ejb-version' (position: 
> START_TAG seen ...&geronimo-spec-ejb-version;... @41:48) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee:jar:1.4-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-version' (position: 
> START_TAG seen ...&geronimo-spec-j2ee-version;... @35:49) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee:jar:1.4-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-version' (position: 
> START_TAG seen ...&geronimo-spec-j2ee-version;... @35:49) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-connector:jar:1.5-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-connector-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-connector-version;... @41:59) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-connector:jar:1.5-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-connector-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-connector-version;... @41:59) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-deployment:jar:1.1-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-deployment-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-deployment-version;... @55:60) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-deployment:jar:1.1-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-deployment-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-deployment-version;... @55:60) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-jacc:jar:1.0-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-jacc-version' (position: 
> START_TAG seen ...&geronimo-spec-j2ee-jacc-version;... 
> @43:54) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-jacc:jar:1.0-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-jacc-version' (position: 
> START_TAG seen ...&geronimo-spec-j2ee-jacc-version;... 
> @43:54) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-management:jar:1.0-rc1'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-management-version' 
> (position: START_TAG seen 
> ...&geronimo-spec-j2ee-management-version;... @41:60) 
> Error while rewriting file or POM for artifact: 
> 'geronimo-spec:geronimo-spec-j2ee-management:jar:1.0-rc2'.org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>  could not resolve entity named 'geronimo-spec-j2ee-management-version' 
> (position:

[REPOCLEAN] Error(s) occurred while converting repository

2005-09-08 Thread REPOCLEAN
Errors occurred while performing maven-1 to maven-2 repository conversion.

For more details, see:

http://test.maven.codehaus.org/reports/repoclean/08-Sep-2005_08.01.17/repository.report.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (MNG-850) Reactor should provide console feedback when scanning for projects

2005-09-08 Thread Mark Hobson (JIRA)
Reactor should provide console feedback when scanning for projects
--

 Key: MNG-850
 URL: http://jira.codehaus.org/browse/MNG-850
 Project: Maven 2
Type: Improvement
Versions: 2.0-beta-1
 Reporter: Mark Hobson
Priority: Minor


When running a reactor build in a large project hierarchy, the lack of console 
feedback makes it appear that m2 has hung.  Need to provide feedback to the 
user about which poms have been discovered as and when they are found.

It would also be nice to see the build order of the accumulated projects.

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - SUCCESS - update] Thu Sep 8 09:45:00 GMT 2005

2005-09-08 Thread continuum
Distribution:
http://maven.zones.apache.org/~maven/builds/m2-20050908.094500.tar.gz

Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.094500.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279546 - /maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java

2005-09-08 Thread kenney
Author: kenney
Date: Thu Sep  8 02:29:47 2005
New Revision: 279546

URL: http://svn.apache.org/viewcvs?rev=279546&view=rev
Log:
Add the project itself to the 'reactorprojects' of the forked
build, so dependencies can at least resolve the target/artifact.jar.
Blacklist the project to skip building it again.

TODO: the message now printed in ReactorManager implies that that
project has build errors; that seems to be the only possible reason
to blacklist a project. Maybe if the EventDispatcher/Handler interfaces
would have more methods than start/end/error this could be handled differently.


Modified:

maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java

Modified: 
maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java?rev=279546&r1=279545&r2=279546&view=diff
==
--- 
maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java
 (original)
+++ 
maven/components/trunk/sandbox/maven-it-plugin/src/main/java/org/apache/maven/plugin/it/ForkMojo.java
 Thu Sep  8 02:29:47 2005
@@ -95,9 +95,13 @@
 {
 List projects = collectProjects();
 
+projects.add( project );
+
 ReactorManager rm = new ReactorManager( projects );
 
 rm.setFailureBehavior( ReactorManager.FAIL_AT_END );
+
+rm.blackList( project );
 
 List goals = Collections.singletonList( "package" );
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: faq & xdoc-SNAPSHOT

2005-09-08 Thread Emmanuel Venisse



Henning P. Schmiedehausen wrote:

Brett Porter <[EMAIL PROTECTED]> writes:




Lukas Theussl wrote:




But then I'd be interested in writing a pdf plugin for m2, which should
be a 'doxia sink' (from the plugin matrix, what does that mean?), 




Basically, doxia works on a sink architecture - it takes a varierty of
input formats (html, xdoc, apt, docbook) parses them and sends them
through as events to a variety of output formats (xhtml, xdoc, rtf).
It's templated using Velocity, so the end result is a lot simpler and
faster.



Hi Brett,

this sounds very interesting and given my issues with xdoc, this might
be something that I could look into for maven-1. Is there any more
docs than what is available at doxia.codehaus.org?


Not for the moment, sorry. But if you have questions about it, we can 
answer you on the doxia list.


Emmanuel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - SUCCESS - update] Thu Sep 8 08:30:00 GMT 2005

2005-09-08 Thread continuum
Distribution:
http://maven.zones.apache.org/~maven/builds/m2-20050908.083000.tar.gz

Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.083000.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279537 - /maven/components/trunk/maven-model/project.properties

2005-09-08 Thread brett
Author: brett
Date: Thu Sep  8 01:32:10 2005
New Revision: 279537

URL: http://svn.apache.org/viewcvs?rev=279537&view=rev
Log:
target correct JDK

Modified:
maven/components/trunk/maven-model/project.properties

Modified: maven/components/trunk/maven-model/project.properties
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-model/project.properties?rev=279537&r1=279536&r2=279537&view=diff
==
--- maven/components/trunk/maven-model/project.properties (original)
+++ maven/components/trunk/maven-model/project.properties Thu Sep  8 01:32:10 
2005
@@ -9,3 +9,6 @@
 
 maven.repo.apache.releases=scp://people.apache.org
 maven.repo.apache.releases.directory=/www/www.apache.org/dist/java-repository
+
+maven.compile.source=1.4
+maven.compile.target=1.4



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 1.0 branch

2005-09-08 Thread Martijn Dashorst
It all depends on when 1.1 is expected to become final. And how long/much 
effort it takes to craft a 1.0.3.

I would download and try 1.0.3 instantly, and crafting my builds 
accordingly, as it would make transitioning to 1.1 easier.

I'm +1, but only if it doesn't take (too much) time off of 1.1

Martijn


On 9/8/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> 
> I've contemplated this myself recently given that 1.1 is not moving
> along as fast as I'd hoped. My main concern was confusion with yet
> another release, and that because uptake is often quite slow on minor
> revisions it would not be picked up before 1.1 was out anyway.
> 
> I'm interested to hear what others think.
> 
> - Brett
> 
> Henning P. Schmiedehausen wrote:
> 
> >Hi,
> >
> >due to some questions related to plugin changes on another mailing
> >list, I wondered what changes have been done to the maven-1.0 branch
> >(
> http://svn.apache.org/repos/asf/maven/maven-1/core/branches/MAVEN-1_0-BRANCH
> )
> >post the maven-1.0.2 release
> >(http://svn.apache.org/repos/asf/maven/maven-1/core/tags/MAVEN_1_0_2).
> >
> >A diff came up with "no changes".
> >
> >As maven 1.0.x has proven to be stable, there are many users out
> >there that probably cannot upgrade to a beta version and are forced to
> >use a maven 1.0 version for building.
> >
> >The 1.0.2 release is now ~nine months old and a number of plugins
> >included with 1.0.2 have been significantly upgraded (e.g. Subversion
> >support in Changelog or the xdoc plugin (which still shows 1.9 on the
> >download page BTW) or the jar/artifact deploy code (which even uses a
> >different syntax for describing the upload repositories now).
> >
> >So, wouldn't it make sense to cut a maven 1.0.3 release with the core
> >unchanged and just the upgraded plugins bundled? This would also bring
> >the 1.0.x plugins more in line with the documentation on the web site.
> >
> >(e.g. if you download maven 1.0.2, you get maven-jar-plugin 1.6.1. The
> >docs on the web site are for 1.7 and simply not working for
> >1.6.1. There is not documentation for maven-jar-plugin anywhere to
> >find on the maven web site (or I was not able to find it)).
> >
> > Best regards
> > Henning
> >
> >
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


svn commit: r279535 - in /maven/components/trunk: maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ maven-mboot2/src/main/java/ maven-mboot2/src/main/java/download/

2005-09-08 Thread brett
Author: brett
Date: Thu Sep  8 01:28:06 2005
New Revision: 279535

URL: http://svn.apache.org/viewcvs?rev=279535&view=rev
Log:
PR: MNG-613
use new metadata in bootstrap

Added:

maven/components/trunk/maven-mboot2/src/main/java/download/RepositoryMetadata.java
   (with props)
Modified:

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadata.java
maven/components/trunk/maven-mboot2/src/main/java/MBoot.java

maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java

Modified: 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadata.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadata.java?rev=279535&r1=279534&r2=279535&view=diff
==
--- 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadata.java
 (original)
+++ 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadata.java
 Thu Sep  8 01:28:06 2005
@@ -26,7 +26,6 @@
  * @todo merge with artifactmetadatasource
  * @todo retrieval exception not appropriate for store
  * @todo not happy about the store/retrieve methods - they use "this"
- * @todo separate specific interfaces
  */
 public interface ArtifactMetadata
 {

Modified: maven/components/trunk/maven-mboot2/src/main/java/MBoot.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-mboot2/src/main/java/MBoot.java?rev=279535&r1=279534&r2=279535&view=diff
==
--- maven/components/trunk/maven-mboot2/src/main/java/MBoot.java (original)
+++ maven/components/trunk/maven-mboot2/src/main/java/MBoot.java Thu Sep  8 
01:28:06 2005
@@ -1,6 +1,7 @@
 import compile.CompilerConfiguration;
 import compile.JavacCompiler;
 import download.ArtifactDownloader;
+import download.RepositoryMetadata;
 import jar.JarMojo;
 import model.Dependency;
 import model.ModelReader;
@@ -11,17 +12,14 @@
 import util.AbstractReader;
 import util.Commandline;
 import util.FileUtils;
-import util.IOUtil;
 import util.IsolatedClassLoader;
 import util.Os;
 
 import java.io.File;
 import java.io.FileNotFoundException;
 import java.io.FileOutputStream;
-import java.io.FileWriter;
 import java.io.IOException;
 import java.io.OutputStream;
-import java.io.StringReader;
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.util.ArrayList;
@@ -815,22 +813,12 @@
 
 System.out.println( "Installing: " + file );
 
-if ( version.indexOf( "SNAPSHOT" ) >= 0 )
-{
-// TODO: replace
-File metadata = localRepository.getMetadataFile( groupId, 
artifactId, version, type,
- finalName + 
".version.txt" );
-
-metadata.getParentFile().mkdirs();
-
-IOUtil.copy( new StringReader( version ), new FileWriter( metadata 
) );
-}
-
 FileUtils.copyFile( new File( basedir, BUILD_DIR + "/" + finalName + 
".jar" ), file );
 
-// TODO: replace
+RepositoryMetadata metadata = new RepositoryMetadata();
+metadata.setReleaseVersion( version );
 file = localRepository.getMetadataFile( groupId, artifactId, null, 
type, artifactId + "-RELEASE.version.txt" );
-IOUtil.copy( new StringReader( version ), new FileWriter( file ) );
+metadata.write( file );
 }
 
 private void runTests( String basedir, String classes, String testClasses, 
ModelReader reader,

Modified: 
maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java?rev=279535&r1=279534&r2=279535&view=diff
==
--- 
maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java
 (original)
+++ 
maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java
 Thu Sep  8 01:28:06 2005
@@ -136,48 +136,114 @@
 String version = dep.getVersion();
 if ( snapshot )
 {
-// TODO: augment with maven-metadata
-String filename = getSnapshotMetadataFile( 
destinationFile.getName(), "SNAPSHOT.version.txt" );
-File file = localRepository.getMetadataFile( 
dep.getGroupId(), dep.getArtifactId(),
- 
dep.getVersion(), dep.getType(), filename );
+String filename = "maven-metadata-" + remoteRepo.getId() + 
".xml";
+File localFile = localRepository.getMetadataFile( 
de

Re: faq & xdoc-SNAPSHOT

2005-09-08 Thread Henning P. Schmiedehausen
Brett Porter <[EMAIL PROTECTED]> writes:


>Lukas Theussl wrote:

>> But then I'd be interested in writing a pdf plugin for m2, which should
>> be a 'doxia sink' (from the plugin matrix, what does that mean?), 

>Basically, doxia works on a sink architecture - it takes a varierty of
>input formats (html, xdoc, apt, docbook) parses them and sends them
>through as events to a variety of output formats (xhtml, xdoc, rtf).
>It's templated using Velocity, so the end result is a lot simpler and
>faster.

Hi Brett,

this sounds very interesting and given my issues with xdoc, this might
be something that I could look into for maven-1. Is there any more
docs than what is available at doxia.codehaus.org?

Best regards
Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

  4 - 8 - 15 - 16 - 23 - 42

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 1.0 branch

2005-09-08 Thread Brett Porter
I've contemplated this myself recently given that 1.1 is not moving
along as fast as I'd hoped. My main concern was confusion with yet
another release, and that because uptake is often quite slow on minor
revisions it would not be picked up before 1.1 was out anyway.

I'm interested to hear what others think.

- Brett

Henning P. Schmiedehausen wrote:

>Hi,
>
>due to some questions related to plugin changes on another mailing
>list, I wondered what changes have been done to the maven-1.0 branch
>(http://svn.apache.org/repos/asf/maven/maven-1/core/branches/MAVEN-1_0-BRANCH)
>post the maven-1.0.2 release
>(http://svn.apache.org/repos/asf/maven/maven-1/core/tags/MAVEN_1_0_2).
>
>A diff came up with "no changes".
>
>As maven 1.0.x has proven to be stable, there are many users out
>there that probably cannot upgrade to a beta version and are forced to
>use a maven 1.0 version for building.
>
>The 1.0.2 release is now ~nine months old and a number of plugins
>included with 1.0.2 have been significantly upgraded (e.g. Subversion
>support in Changelog or the xdoc plugin (which still shows 1.9 on the
>download page BTW) or the jar/artifact deploy code (which even uses a
>different syntax for describing the upload repositories now).
>
>So, wouldn't it make sense to cut a maven 1.0.3 release with the core
>unchanged and just the upgraded plugins bundled?  This would also bring
>the 1.0.x plugins more in line with the documentation on the web site. 
>
>(e.g. if you download maven 1.0.2, you get maven-jar-plugin 1.6.1. The
>docs on the web site are for 1.7 and simply not working for
>1.6.1. There is not documentation for maven-jar-plugin anywhere to
>find on the maven web site (or I was not able to find it)).
>
>   Best regards
>   Henning
>
>
>  
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven 1.0 branch

2005-09-08 Thread Henning P. Schmiedehausen
Hi,

due to some questions related to plugin changes on another mailing
list, I wondered what changes have been done to the maven-1.0 branch
(http://svn.apache.org/repos/asf/maven/maven-1/core/branches/MAVEN-1_0-BRANCH)
post the maven-1.0.2 release
(http://svn.apache.org/repos/asf/maven/maven-1/core/tags/MAVEN_1_0_2).

A diff came up with "no changes".

As maven 1.0.x has proven to be stable, there are many users out
there that probably cannot upgrade to a beta version and are forced to
use a maven 1.0 version for building.

The 1.0.2 release is now ~nine months old and a number of plugins
included with 1.0.2 have been significantly upgraded (e.g. Subversion
support in Changelog or the xdoc plugin (which still shows 1.9 on the
download page BTW) or the jar/artifact deploy code (which even uses a
different syntax for describing the upload repositories now).

So, wouldn't it make sense to cut a maven 1.0.3 release with the core
unchanged and just the upgraded plugins bundled?  This would also bring
the 1.0.x plugins more in line with the documentation on the web site. 

(e.g. if you download maven 1.0.2, you get maven-jar-plugin 1.6.1. The
docs on the web site are for 1.7 and simply not working for
1.6.1. There is not documentation for maven-jar-plugin anywhere to
find on the maven web site (or I was not able to find it)).

Best regards
Henning


-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

  4 - 8 - 15 - 16 - 23 - 42

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[REPOCLEAN] Error(s) occurred while converting repository

2005-09-08 Thread REPOCLEAN
Errors occurred while performing maven-1 to maven-2 repository conversion.

For more details, see:

http://test.maven.codehaus.org/reports/repoclean/08-Sep-2005_04.01.33/repository.report.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - SUCCESS - update] Thu Sep 8 08:00:00 GMT 2005

2005-09-08 Thread continuum
Distribution:
http://maven.zones.apache.org/~maven/builds/m2-20050908.08.tar.gz

Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.08.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279532 - /maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java

2005-09-08 Thread evenisse
Author: evenisse
Date: Thu Sep  8 00:57:37 2005
New Revision: 279532

URL: http://svn.apache.org/viewcvs?rev=279532&view=rev
Log:
Rewrite correctly the notifier

Modified:

maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java

Modified: 
maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java?rev=279532&r1=279531&r2=279532&view=diff
==
--- 
maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java
 (original)
+++ 
maven/components/trunk/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java
 Thu Sep  8 00:57:37 2005
@@ -169,8 +169,8 @@
 {
 Notifier notifier = new Notifier();
 
-notifier.setAddress( nagEmailAddress );
 notifier.setType( "mail" );
+notifier.addConfiguration( "address", nagEmailAddress );
 
 ciMgmt = new CiManagement();
 ciMgmt.addNotifier( notifier );



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - SUCCESS - update] Thu Sep 8 07:45:00 GMT 2005

2005-09-08 Thread continuum
Distribution:
http://maven.zones.apache.org/~maven/builds/m2-20050908.074500.tar.gz

Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.074500.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279530 - /maven/components/trunk/maven-model/maven.mdo

2005-09-08 Thread evenisse
Author: evenisse
Date: Thu Sep  8 00:45:45 2005
New Revision: 279530

URL: http://svn.apache.org/viewcvs?rev=279530&view=rev
Log:
Rollback. we need to fix all pom in repo before.

Modified:
maven/components/trunk/maven-model/maven.mdo

Modified: maven/components/trunk/maven-model/maven.mdo
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-model/maven.mdo?rev=279530&r1=279529&r2=279530&view=diff
==
--- maven/components/trunk/maven-model/maven.mdo (original)
+++ maven/components/trunk/maven-model/maven.mdo Thu Sep  8 00:45:45 2005
@@ -1036,6 +1036,15 @@
   String
   The mechanism used to deliver 
notifications.
 
+
+
+  address
+  4.0.0
+  String
+  
+Where to send the notification to - eg email address. DEPRECATED.
+  
+
 
   configuration
   Extended configuration specific to this notifier goes 
here.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279528 - /maven/components/trunk/pom.xml

2005-09-08 Thread evenisse
Author: evenisse
Date: Thu Sep  8 00:38:28 2005
New Revision: 279528

URL: http://svn.apache.org/viewcvs?rev=279528&view=rev
Log:
Fix mail notifier configuration

Modified:
maven/components/trunk/pom.xml

Modified: maven/components/trunk/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/pom.xml?rev=279528&r1=279527&r2=279528&view=diff
==
--- maven/components/trunk/pom.xml (original)
+++ maven/components/trunk/pom.xml Thu Sep  8 00:38:28 2005
@@ -17,7 +17,9 @@
 
   
 mail
-dev@maven.apache.org
+
+  dev@maven.apache.org
+
   
 
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MAVENUPLOAD-500) Upload http://wicket.sourceforge.net/downloads/wicket-1.1-b4-bundle.jar and http://wicket.sourceforge.net/downloads/wicket-extensions-1.1-b4-bundle.jar

2005-09-08 Thread Martijn Dashorst (JIRA)
[ 
http://jira.codehaus.org/browse/MAVENUPLOAD-500?page=comments#action_45963 ] 

Martijn Dashorst commented on MAVENUPLOAD-500:
--

Use the URL's in the description. The bundle URL field apparently has a comma 
attached to the end.

Martijn

> Upload http://wicket.sourceforge.net/downloads/wicket-1.1-b4-bundle.jar and 
> http://wicket.sourceforge.net/downloads/wicket-extensions-1.1-b4-bundle.jar
> ---
>
>  Key: MAVENUPLOAD-500
>  URL: http://jira.codehaus.org/browse/MAVENUPLOAD-500
>  Project: maven-upload-requests
> Type: Task
> Reporter: Martijn Dashorst

>
>
> http://wicket.sourceforge.net/downloads/wicket-1.1-b4-bundle.jar
> http://wicket.sourceforge.net/downloads/wicket-extensions-1.1-b4-bundle.jar
> http://wicket.sf.net
> http://wicket.sf.net/team-list.html
> Wicket is a Java web application framework that takes simplicity, separation 
> of concerns and ease of development to a whole new level. Wicket pages can be 
> mocked up, previewed and later revised using standard WYSIWYG HTML design 
> tools. Dynamic content processing and form handling is all handled in Java 
> code using a first-class component model backed by POJO data beans that can 
> easily be persisted using your favourite technology.
> Thanks for uploading!

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - FAILED - update] Thu Sep 8 07:30:00 GMT 2005

2005-09-08 Thread continuum
Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.073000.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279526 - /maven/components/trunk/maven-plugins/pom.xml

2005-09-08 Thread evenisse
Author: evenisse
Date: Thu Sep  8 00:26:56 2005
New Revision: 279526

URL: http://svn.apache.org/viewcvs?rev=279526&view=rev
Log:
Fix mail notifier configuration

Modified:
maven/components/trunk/maven-plugins/pom.xml

Modified: maven/components/trunk/maven-plugins/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/pom.xml?rev=279526&r1=279525&r2=279526&view=diff
==
--- maven/components/trunk/maven-plugins/pom.xml (original)
+++ maven/components/trunk/maven-plugins/pom.xml Thu Sep  8 00:26:56 2005
@@ -17,7 +17,9 @@
 
   
 mail
-dev@maven.apache.org
+
+  dev@maven.apache.org
+
   
 
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[maven2 build - FAILED - update] Thu Sep 8 07:15:00 GMT 2005

2005-09-08 Thread continuum
Log:
http://maven.zones.apache.org/~maven/logs/m2-build-log-20050908.071500.txt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r279525 - /maven/components/trunk/maven-model/maven.mdo

2005-09-08 Thread evenisse
Author: evenisse
Date: Thu Sep  8 00:15:59 2005
New Revision: 279525

URL: http://svn.apache.org/viewcvs?rev=279525&view=rev
Log:
Remove old address field in notifier

Modified:
maven/components/trunk/maven-model/maven.mdo

Modified: maven/components/trunk/maven-model/maven.mdo
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-model/maven.mdo?rev=279525&r1=279524&r2=279525&view=diff
==
--- maven/components/trunk/maven-model/maven.mdo (original)
+++ maven/components/trunk/maven-model/maven.mdo Thu Sep  8 00:15:59 2005
@@ -1036,15 +1036,6 @@
   String
   The mechanism used to deliver 
notifications.
 
-
-
-  address
-  4.0.0
-  String
-  
-Where to send the notification to - eg email address.
-  
-
 
   configuration
   Extended configuration specific to this notifier goes 
here.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: faq & xdoc-SNAPSHOT

2005-09-08 Thread Emmanuel Venisse



Brett Porter wrote:

Lukas Theussl wrote:



But then I'd be interested in writing a pdf plugin for m2, which should
be a 'doxia sink' (from the plugin matrix, what does that mean?), 



Basically, doxia works on a sink architecture - it takes a varierty of
input formats (html, xdoc, apt, docbook) parses them and sends them
through as events to a variety of output formats (xhtml, xdoc, rtf).
It's templated using Velocity, so the end result is a lot simpler and
faster.


No, we don't use Velocity in Doxia, it's a pure java code.



So I don't know what's available for PDFs - hopefully we can stream
directly into it, or otherwise stream it to xdoc and then transform that
using fop like the current pdf plugin.


I'm not sure fop will be the best candidate for this. It will be the 
most simple because we already have templates but I'm not sure it's the 
most simple to use. There are some libraries on the net for read/write 
pdf with java code, I don't know if there are some with Apache 
compatible license.



Lukas, I'll can help you (when you'll start) with doxia if you have some 
difficulties.


Emmanuel





so
it'd be probably useful to get familiar with that stuff. If somebody
feels like he could offer some advice to get me going, please do. But as
I said, don't expect anything too soon.



Sure, there's no rush. I know we haven't done all the work we could have
to get m2 stuff running in m1 yet, but its still the long term goal so
that we can unify the development efforts.

Cheers,
Brett

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]