[maven2 build - FAILED - update] Sun Sep 11 06:45:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 06:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 06:00:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 05:45:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 05:30:00 GMT 2005

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

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



[jira] Closed: (MPPDF-40) Can't use 2 subsections with the same name

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

Resolution: Fixed

> Can't use 2 subsections with the same name
> --
>
>  Key: MPPDF-40
>  URL: http://jira.codehaus.org/browse/MPPDF-40
>  Project: maven-pdf-plugin
> Type: Bug
> Versions: 2.3
> Reporter: Arnaud Heritier
> Priority: Critical
>  Attachments: MPPDF-40.patch
>
>
> If 2 subsections have the same name the pdf generation fails because they 
> have the same id.
> For exemple :
> 
>   
>   
> 
> 
>   
>   
> 

-- 
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: r280081 - in /maven/maven-1/plugins/trunk/pdf: src/plugin-resources/fo-body.xslt src/plugin-test/test02/xdocs/test.xml xdocs/changes.xml xdocs/index.xml

2005-09-10 Thread ltheussl
Author: ltheussl
Date: Sat Sep 10 22:21:48 2005
New Revision: 280081

URL: http://svn.apache.org/viewcvs?rev=280081&view=rev
Log:
MPPDF-40 : Use optional id tag for sub/section anchors

Modified:
maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt
maven/maven-1/plugins/trunk/pdf/src/plugin-test/test02/xdocs/test.xml
maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml
maven/maven-1/plugins/trunk/pdf/xdocs/index.xml

Modified: maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt?rev=280081&r1=280080&r2=280081&view=diff
==
--- maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt (original)
+++ maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt Sat Sep 
10 22:21:48 2005
@@ -103,14 +103,19 @@
   
 
 
-
-  
-
-  
-
-
-  
-
+
+
+  
+
+  
+
+  
+  
+
+  
+
+  
+
 
   
 
@@ -122,24 +127,22 @@
   
 
   
-  
-
-
- .,;!?/'\()[]{}+*°
-___
-
-  
   
 
 
-
-  
-
-  
-
-
-  
-
+
+
+  
+
+  
+
+  
+  
+
+  
+
+  
+
 
   
 

Modified: maven/maven-1/plugins/trunk/pdf/src/plugin-test/test02/xdocs/test.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/src/plugin-test/test02/xdocs/test.xml?rev=280081&r1=280080&r2=280081&view=diff
==
--- maven/maven-1/plugins/trunk/pdf/src/plugin-test/test02/xdocs/test.xml 
(original)
+++ maven/maven-1/plugins/trunk/pdf/src/plugin-test/test02/xdocs/test.xml Sat 
Sep 10 22:21:48 2005
@@ -97,5 +97,18 @@
 
   
 
+
+  
+This subsection has an id="subsec1" tag.
+  
+
+
+  
+This subsection has an id="subsec2" tag.
+
+  Here's a link to the previous subsetion.
+
+  
+
   
 

Modified: maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml?rev=280081&r1=280080&r2=280081&view=diff
==
--- maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml Sat Sep 10 22:21:48 2005
@@ -24,6 +24,9 @@
 Arnaud Heritier
   
   
+
+  Use optional id tag 
for sub/section anchors to avoid problems with identical names.
+
 
   Make the plugin compatible with 
maven 1.0 and jdk 1.3/1.4/1.5 or with maven 1.1 and jdk 1.4/1.5.
   sub-/superscripts do not work.

Modified: maven/maven-1/plugins/trunk/pdf/xdocs/index.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/xdocs/index.xml?rev=280081&r1=280080&r2=280081&view=diff
==
--- maven/maven-1/plugins/trunk/pdf/xdocs/index.xml (original)
+++ maven/maven-1/plugins/trunk/pdf/xdocs/index.xml Sat Sep 10 22:21:48 2005
@@ -43,17 +43,22 @@
 
   
 
-  There is a known problem with the PDF generation tool (Apache's 
FOP) in that it doesn't allow for table structures with automatic column widths 
to be generated. Widths are uniformly distributed.
+  There is a known problem with the PDF generation tool (Apache's FOP) 
in that it doesn't allow for table structures with automatic column widths to 
be generated. Widths are uniformly distributed.
 
 
-  Due to several problems, it is actually impossible to reference 
the same file in different items in navigation.xml. You must define another 
navigation file (using the property "maven.pdf.navigationFile") which you'll use only 
with the PDF plug-in. This navigation cannot define several items with the same 
href.
+  Due to several problems, it is actually impossible to reference the 
same file in different items in navigation.xml. You must define another 
navigation file (using the property "maven.pdf.navigationFile") which you'll use only 
with the PDF plug-in. This navigation cannot define several items with the same 
href.
 
 
-  Identical name or id attributes within 
one document will lead to a build failure. Note in particular that in the 
current version of the pdf plugin, id's are constructed from sub/section names 
(in analogy to the xdoc plugin), so identical titles for sections or 
subsections will make the pdf generation fail. See http://jira.codehaus.org/browse/MPPDF-40";>MPPDF-40.
-  
+  Identical id attributes within one document will lead 
to a build failure.

[maven2 build - FAILED - update] Sun Sep 11 05:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 05:00:00 GMT 2005

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

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



svn commit: r280078 - /maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

2005-09-10 Thread brett
Author: brett
Date: Sat Sep 10 22:10:07 2005
New Revision: 280078

URL: http://svn.apache.org/viewcvs?rev=280078&view=rev
Log:
make sure locally installed snapshots are recognised

Modified:

maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

Modified: 
maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java?rev=280078&r1=280077&r2=280078&view=diff
==
--- 
maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java
 (original)
+++ 
maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java
 Sat Sep 10 22:10:07 2005
@@ -48,6 +48,7 @@
 public SnapshotArtifactRepositoryMetadata( Artifact artifact )
 {
 this.artifact = artifact;
+this.snapshot = new Snapshot();
 }
 
 public SnapshotArtifactRepositoryMetadata( Artifact artifact, Snapshot 
snapshot )



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



svn commit: r280077 - /maven/components/trunk/maven-core-it/it0064/expected-results.txt

2005-09-10 Thread brett
Author: brett
Date: Sat Sep 10 22:05:28 2005
New Revision: 280077

URL: http://svn.apache.org/viewcvs?rev=280077&view=rev
Log:
test setter is used instead of field population

Modified:
maven/components/trunk/maven-core-it/it0064/expected-results.txt

Modified: maven/components/trunk/maven-core-it/it0064/expected-results.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0064/expected-results.txt?rev=280077&r1=280076&r2=280077&view=diff
==
--- maven/components/trunk/maven-core-it/it0064/expected-results.txt (original)
+++ maven/components/trunk/maven-core-it/it0064/expected-results.txt Sat Sep 10 
22:05:28 2005
@@ -1,2 +1,2 @@
 target/fooValue
-target/barValue
+target/barValue.baz



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



svn commit: r280076 - /maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

2005-09-10 Thread brett
Author: brett
Date: Sat Sep 10 22:05:03 2005
New Revision: 280076

URL: http://svn.apache.org/viewcvs?rev=280076&view=rev
Log:
test that property's work with default setter

Modified:

maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

Modified: 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java?rev=280076&r1=280075&r2=280076&view=diff
==
--- 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
 (original)
+++ 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
 Sat Sep 10 22:05:03 2005
@@ -32,9 +32,9 @@
 private String fooValue;
 
 /**
- * @parameter property="bar"
+ * @parameter
  */
-private String barValue;
+private String bar;
 
 // --
 // Setters
@@ -58,7 +58,7 @@
 
 public void setBar( String barValue )
 {
-this.barValue = barValue;
+this.bar = barValue + ".baz";
 
 setBarSetterExecuted = true;
 }
@@ -81,9 +81,9 @@
 touch( outDir, fooValue );
 }
 
-if ( barValue != null && setBarSetterExecuted )
+if ( bar != null && setBarSetterExecuted )
 {
-touch( outDir, barValue );
+touch( outDir, bar );
 }
 }
 



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



[maven2 build - FAILED - update] Sun Sep 11 04:45:00 GMT 2005

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

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



[jira] Closed: (MNG-861) Build number in the maven-metadata.xml appears to one behind the actual build number

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


 Assign To: Brett Porter  (was: Jason van Zyl)
Resolution: Fixed

> Build number in the maven-metadata.xml appears to one behind the actual build 
> number
> 
>
>  Key: MNG-861
>  URL: http://jira.codehaus.org/browse/MNG-861
>  Project: Maven 2
> Type: Bug
> Reporter: Jason van Zyl
> Assignee: Brett Porter
>  Fix For: 2.0-beta-1

>
>
> I deployed plexus-container-default a couple of times and it appears the 
> buildNumber field showed actualBuildNumber-1. The artifacts were deployed 
> with TIMESTAMP-B# and in the metadata the bulidNumber = B#-1.  This results 
> in metadata not being found and in this particular case prevented me from 
> bootstrapping.

-- 
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] Sun Sep 11 04:30:01 GMT 2005

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

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



svn commit: r280073 - /maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

2005-09-10 Thread brett
Author: brett
Date: Sat Sep 10 21:38:39 2005
New Revision: 280073

URL: http://svn.apache.org/viewcvs?rev=280073&view=rev
Log:
PR: MNG-861
make sure build number gets updated when updating metadata

Modified:

maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

Modified: 
maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java?rev=280073&r1=280072&r2=280073&view=diff
==
--- 
maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java
 (original)
+++ 
maven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java
 Sat Sep 10 21:38:39 2005
@@ -151,15 +151,18 @@
 v.setSnapshot( snapshot );
 changed = true;
 }
-else if ( s.getTimestamp() != null && !s.getTimestamp().equals( 
snapshot.getTimestamp() ) )
+else
 {
-s.setTimestamp( snapshot.getTimestamp() );
-changed = true;
-}
-else if ( s.getBuildNumber() != snapshot.getBuildNumber() )
-{
-s.setBuildNumber( snapshot.getBuildNumber() );
-changed = true;
+if ( s.getTimestamp() != null && !s.getTimestamp().equals( 
snapshot.getTimestamp() ) )
+{
+s.setTimestamp( snapshot.getTimestamp() );
+changed = true;
+}
+if ( s.getBuildNumber() != snapshot.getBuildNumber() )
+{
+s.setBuildNumber( snapshot.getBuildNumber() );
+changed = true;
+}
 }
 }
 



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



[maven2 build - FAILED - update] Sun Sep 11 04:15:00 GMT 2005

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

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



svn commit: r280066 - /maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java

2005-09-10 Thread brett
Author: brett
Date: Sat Sep 10 21:15:39 2005
New Revision: 280066

URL: http://svn.apache.org/viewcvs?rev=280066&view=rev
Log:
improve handling of metadata in verifier

Modified:

maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java

Modified: 
maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java?rev=280066&r1=280065&r2=280066&view=diff
==
--- 
maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
 (original)
+++ 
maven/components/trunk/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
 Sat Sep 10 21:15:39 2005
@@ -1,5 +1,6 @@
 package org.apache.maven.it;
 
+import org.apache.maven.it.cli.CommandLineException;
 import org.apache.maven.it.cli.CommandLineUtils;
 import org.apache.maven.it.cli.Commandline;
 import org.apache.maven.it.cli.StreamConsumer;
@@ -8,22 +9,27 @@
 import org.xml.sax.SAXParseException;
 import org.xml.sax.helpers.DefaultHandler;
 
+import javax.xml.parsers.ParserConfigurationException;
 import javax.xml.parsers.SAXParser;
 import javax.xml.parsers.SAXParserFactory;
 import java.io.BufferedReader;
 import java.io.ByteArrayOutputStream;
 import java.io.File;
 import java.io.FileInputStream;
+import java.io.FileNotFoundException;
 import java.io.FileReader;
 import java.io.FileWriter;
+import java.io.FilenameFilter;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.PrintStream;
 import java.io.Writer;
+import java.net.MalformedURLException;
 import java.net.URL;
 import java.text.DecimalFormat;
 import java.text.NumberFormat;
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Properties;
@@ -33,6 +39,7 @@
  * @author mailto:[EMAIL PROTECTED]">Jason van Zyl 
  * @author mailto:[EMAIL PROTECTED]">Brett Porter
  * @version $Id$
+ * @noinspection UseOfSystemOutOrSystemErr,RefusedBequest
  */
 public class Verifier
 {
@@ -101,7 +108,7 @@
 public void verify( boolean chokeOnErrorOutput )
 throws VerificationException
 {
-List lines = loadFile( basedir, "expected-results.txt" );
+List lines = loadFile( basedir, "expected-results.txt", false );
 
 for ( Iterator i = lines.iterator(); i.hasNext(); )
 {
@@ -112,7 +119,7 @@
 
 if ( chokeOnErrorOutput )
 {
-lines = loadFile( basedir, LOG_FILENAME );
+lines = loadFile( basedir, LOG_FILENAME, false );
 
 for ( Iterator i = lines.iterator(); i.hasNext(); )
 {
@@ -141,6 +148,10 @@
 properties.load( fis );
 }
 }
+catch ( FileNotFoundException e )
+{
+throw new VerificationException( "Error reading properties file", 
e );
+}
 catch ( IOException e )
 {
 throw new VerificationException( "Error reading properties file", 
e );
@@ -149,13 +160,13 @@
 return properties;
 }
 
-private static List loadFile( String basedir, String filename )
+private static List loadFile( String basedir, String filename, boolean 
hasCommand )
 throws VerificationException
 {
-return loadFile( new File( basedir, filename ) );
+return loadFile( new File( basedir, filename ), hasCommand );
 }
 
-private static List loadFile( File file )
+private static List loadFile( File file, boolean hasCommand )
 throws VerificationException
 {
 List lines = new ArrayList();
@@ -166,23 +177,26 @@
 {
 BufferedReader reader = new BufferedReader( new FileReader( 
file ) );
 
-String line = "";
+String line = reader.readLine();
 
-while ( ( line = reader.readLine() ) != null )
+while ( line != null )
 {
 line = line.trim();
 
-if ( line.startsWith( "#" ) || line.length() == 0 )
+if ( !line.startsWith( "#" ) && line.length() != 0 )
 {
-continue;
+lines.addAll( replaceArtifacts( line, hasCommand ) );
 }
-
-lines.add( replaceArtifacts( line ) );
+line = reader.readLine();
 }
 
 reader.close();
 }
-catch ( Exception e )
+catch ( FileNotFoundException e )
+{
+throw new VerificationException( e );
+}
+catch ( IOException e )
 {
 throw new VerificationException( e );
 }
@@ -191,7 +205,7 @@
 return lines;
 }
 
-

[maven2 build - FAILED - update] Sun Sep 11 04:00:00 GMT 2005

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

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



[REPOCLEAN] Error(s) occurred while converting repository

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

For more details, see:

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

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



[maven2 build - FAILED - update] Sun Sep 11 03:45:00 GMT 2005

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

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



svn commit: r280063 - /maven/components/trunk/maven-mboot2/src/main/java/download/ArtifactDownloader.java

2005-09-10 Thread brett
Author: brett
Date: Sat Sep 10 20:43:23 2005
New Revision: 280063

URL: http://svn.apache.org/viewcvs?rev=280063&view=rev
Log:
remote metadata file was incorrect

Modified:

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

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=280063&r1=280062&r2=280063&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
 Sat Sep 10 20:43:23 2005
@@ -143,7 +143,7 @@
 File remoteFile = localRepository.getMetadataFile( 
dep.getGroupId(), dep.getArtifactId(),

dep.getVersion(), dep.getType(), filename );
 String metadataPath = remoteRepo.getMetadataPath( 
dep.getGroupId(), dep.getArtifactId(),
-  
dep.getVersion(), dep.getType(), filename );
+  
dep.getVersion(), dep.getType(), "maven-metadata.xml" );
 String metaUrl = remoteRepo.getBasedir() + "/" + 
metadataPath;
 log( "Downloading " + metaUrl );
 try



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



[maven2 build - FAILED - update] Sun Sep 11 03:30:00 GMT 2005

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

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



Re: svn commit: r279993 - /maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

2005-09-10 Thread Jason van Zyl
On Sun, 2005-09-11 at 12:52 +1000, Brett Porter wrote:

> So does this mean that it works without the property parameter? 

Only if the field name matches the name of the getter/setter methods. If
the property name is not specified then the setter will fail and the
private field will be used directly.

> If
> that's the case, then I'm fine with it and we can just use the default
> case with property as the field name. property can remain as an advanced
> use case. I still wonder how this could be made to be useful - attach
> the metadata to the getter instead perhaps (like in beanshell)?

That would probably make more sense, I just left it with the field for
the moment to get it to work.

> - Brett
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org



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



[maven2 build - FAILED - update] Sun Sep 11 02:45:00 GMT 2005

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

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



Re: svn commit: r279993 - /maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

2005-09-10 Thread Brett Porter
Jason van Zyl wrote:

>Strictly speaking properties don't have to correspond to fields, they
>may involve a calculation say. I was just trying to account for that
>case even though in the case of mojos the field name will most likely
>match the the read/write method name.
>  
>
Sorry, I don't get what you mean by this - do you have an example?

>>This means that they don't work
>>under bean conventions (and IDE generation of getters/setters :)
>>
>>
>
>That's just a convenience where the IDE uses the field name as the basis
>for the read/write methods. 
>
Actually, I was thinking more along the line of how javabeans are
specified to work.

>But you may very well have a property where
>the corresponding read/write methods use no fields, or use multiple
>field values, or mutate a field value.
>  
>
How would you introduce a property that didn't have a field in the
current set up, or one that used multiple fields without just picking
one of those fields as the one with attached metadata?

You can definitely do calculations on one field in the getter/setter as
is - but this technique just seems like a way to give it a different
name than the field name, for which we already have "alias" for
configuration. I assume configuration maps to the setters, not the field
itself when present, so this is equivalent.

I'm only looking at this from the mojo perspecitve, but I'd prefer to
keep it simple.

>Easy enough to change to as in the case above Plexus will simply attempt
>to use the setter first.
>  
>
So does this mean that it works without the property parameter? If
that's the case, then I'm fine with it and we can just use the default
case with property as the field name. property can remain as an advanced
use case. I still wonder how this could be made to be useful - attach
the metadata to the getter instead perhaps (like in beanshell)?

- Brett

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



Re: svn commit: r279993 - /maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

2005-09-10 Thread Jason van Zyl
On Sun, 2005-09-11 at 10:16 +1000, Brett Porter wrote:

> Can you explain the reason for going with a property attribute and using
> methods that don't match the field name? This means that they don't work
> under bean conventions (and IDE generation of getters/setters :)

Probably should have just pulled from my stock pile of quotes:

"... this is the Uniform Access principle. Hiding the difference between
access to instance variables and calculated values shields users from
the implementation of your class ..." 

-- Object Software Construction, Bertrand Meyer

Which is really what a property is. Even in the simplest example you
google for shows that even a simple field may not match up name wise and
it doesn't matter as tools will use the bean tools which look for
methods.

http://www.oreilly.com/catalog/javabeans/chapter/ch01.html

-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org



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



Re: svn commit: r279993 - /maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

2005-09-10 Thread Jason van Zyl
On Sun, 2005-09-11 at 10:16 +1000, Brett Porter wrote:
> [EMAIL PROTECTED] wrote:
> 
> >+/**
> >+ * @parameter property="foo"
> >+ */
> >+private String fooValue;
> >  
> >
> ...
> 
> >+public void setFoo( String fooValue )
> >+{
> >+this.fooValue = fooValue;
> >+}
> >  
> >
> Can you explain the reason for going with a property attribute and using
> methods that don't match the field name? 

Strictly speaking properties don't have to correspond to fields, they
may involve a calculation say. I was just trying to account for that
case even though in the case of mojos the field name will most likely
match the the read/write method name.

> This means that they don't work
> under bean conventions (and IDE generation of getters/setters :)

That's just a convenience where the IDE uses the field name as the basis
for the read/write methods. But you may very well have a property where
the corresponding read/write methods use no fields, or use multiple
field values, or mutate a field value.

> I would have expected a simple:
> 
> /** @parameter */
> private String foo;
> 
> public void setFoo( String foo ) { this.foo = foo }
> public String getFoo() { return foo; }

Again, just trying to account for the case where this does not hold. I
wanted to be explicit about the name of the property when it didn't
match up exactly with field names. But if any tooling were to be made
you would want to provide the property name and you couldn't correctly
in cases where it varied from the field name.

Easy enough to change to as in the case above Plexus will simply attempt
to use the setter first.

> Cheers,
> Brett
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more examples
you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks 


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



[maven2 build - FAILED - update] Sun Sep 11 02:30:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 02:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 01:45:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 01:30:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 01:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 01:00:01 GMT 2005

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

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



[maven2 build - FAILED - update] Sun Sep 11 00:45:00 GMT 2005

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

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



[continuum build - SUCCESS - checkout] Sun Sep 11 00:30:00 GMT 2005

2005-09-10 Thread continuum
Distribution:
http://maven.zones.apache.org/~continuum/builds/continuum-20050911.003000.tar.gz

Log:
http://maven.zones.apache.org/~continuum/logs/continuum-build-log-20050911.003000.txt


[maven2 build - FAILED - update] Sun Sep 11 00:30:00 GMT 2005

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

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



[maven2 build - FAILED - checkout] Sun Sep 11 00:15:00 GMT 2005

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

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



Re: svn commit: r279993 - /maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

2005-09-10 Thread Brett Porter
[EMAIL PROTECTED] wrote:

>+/**
>+ * @parameter property="foo"
>+ */
>+private String fooValue;
>  
>
...

>+public void setFoo( String fooValue )
>+{
>+this.fooValue = fooValue;
>+}
>  
>
Can you explain the reason for going with a property attribute and using
methods that don't match the field name? This means that they don't work
under bean conventions (and IDE generation of getters/setters :)

I would have expected a simple:

/** @parameter */
private String foo;

public void setFoo( String foo ) { this.foo = foo }
public String getFoo() { return foo; }

Cheers,
Brett

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



Re: [jira] Updated: (MPXDOC-155) xdoc 1.9 not compatible with older customised site.jsl

2005-09-10 Thread Brett Porter
Phil Steitz wrote:

>
> I just realized that this creates an incompatibility with earlier
> versions of the plugin (<= 1.8), since it references the fmt library,
> which does not seem to be available to the 1.8 plugin.  Somehow I
> missed this in my testing.  Is there a workaround that will allow <=
> 1.8 versions of the plugin to work with this?
>
I think you have a few alternatives:
- remove the i18n ability and references to fmt tag library (I think
this will work off the top of my head)
- add a dependency on the 1.9.2 plugin in commons-build
- add a dependency on the format tag library in commons-build (not sure
this will work).

Cheers,
Brett

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



[REPOCLEAN] Error(s) occurred while converting repository

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

For more details, see:

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

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



Re: m2: what is the status of Maven 2 beta 1?

2005-09-10 Thread Jason van Zyl
On Sat, 2005-09-10 at 07:43 -0700, Ragy Eleish wrote:
> Hi,
> 
> Maven 2 was supposed to be release mid August. I have been monitoring 
> the bug # on jira and there is little activities on it. What is the new 
> release date target?
> 
> Guys, Maven 2 has very important features that needs to be out there.

When those 12 issues are closed out the release process will begin.
Could very well be this week. Depends on how many patches you send
us :-)

http://jira.codehaus.org/secure/IssueNavigator.jspa


> --Ragy
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org



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



[jira] Closed: (MNG-626) mojos/plexus needs to work with setter based injection

2005-09-10 Thread Jason van Zyl (JIRA)
 [ http://jira.codehaus.org/browse/MNG-626?page=all ]
 
Jason van Zyl closed MNG-626:
-

Resolution: Fixed

Appears to be working as shown in it0064.

> mojos/plexus needs to work with setter based injection
> --
>
>  Key: MNG-626
>  URL: http://jira.codehaus.org/browse/MNG-626
>  Project: Maven 2
> Type: Task
>   Components: maven-plugin-api
> Reporter: Brett Porter
> Assignee: Jason van Zyl
> Priority: Blocker
>  Fix For: 2.0-beta-1

>
>
> we've talked about putting setters on mojos for reusability - plexus needs to 
> be able to actually use them (in the case where they do more than just 
> assignment) instead of the private field injection.

-- 
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-10 Thread REPOCLEAN
Errors occurred while performing maven-1 to maven-2 repository conversion.

For more details, see:

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

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



[jira] Closed: (MPXDOC-158) Do not generate name tags from section names

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


Resolution: Fixed

> Do not generate name tags from section names
> 
>
>  Key: MPXDOC-158
>  URL: http://jira.codehaus.org/browse/MPXDOC-158
>  Project: maven-xdoc-plugin
> Type: Improvement
> Versions: 1.9.1
>  Environment: ?
> Reporter: Lukas Theussl
> Assignee: Lukas Theussl
>  Fix For: 1.10
>  Attachments: MPXDOC-158.patch, site.jsl.patch
>
> Original Estimate: 5 minutes
> Remaining: 5 minutes
>
> In the current version of the xdoc plugin, a  element 
> is generated for every sub/section from its corresponding
> name tag. This may lead to an invalid HTML document if some sub/sections have 
> the same name, because according to the HTML 4.01 specs ( 
> http://www.w3.org/TR/html4/struct/links.html#h-12.2.1 ), anchor names must be 
> unique within one document. For the xdoc plugin this is not a big problem
> because browsers usually ignore identical ids, but we are having troubles for 
> the pdf plugin (see MPPDF-40) where identical ids lead to a
> build failure.
> I suggest to generate an id from an optional id tag as in the following 
> example:
> 
>   
>   
> 
> 
>   
>   
> 
> so the section title is constructed from the name tag while the id tag (which 
> has to be unique) may be used to reference the section.
> I attach a patch to achieve this, if this gets accepted I can easily adjust 
> the pdf plugin accordingly.
> The only worry is backwards compatibility: xdocs that use the old feature of 
> referencing sections by names, will produce invalid links. 
> However, I haven't seen this feature documented anywhere, I don't think it is 
> widely used and therefore, it should not be a big problem.

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


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



svn commit: r280036 - in /maven/maven-1/plugins/trunk/xdoc: src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml

2005-09-10 Thread ltheussl
Author: ltheussl
Date: Sat Sep 10 12:44:04 2005
New Revision: 280036

URL: http://svn.apache.org/viewcvs?rev=280036&view=rev
Log:
Add an optional id tag to sub/sections, so they can be referenced

Modified:
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl
maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml
maven/maven-1/plugins/trunk/xdoc/xdocs/index.xml

Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl?rev=280036&r1=280035&r2=280036&view=diff
==
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl Sat Sep 10 
12:44:04 2005
@@ -453,7 +453,8 @@
   
 
   
-  
+  
+
   
   
 
@@ -473,11 +474,18 @@
 
   
 
-  
-  
-  
-  ${_sectionName}
+  
+  
+
+   
+   
+
+
+  
+  
+
   
+  ${_sectionName}
   
 
   
@@ -485,7 +493,8 @@
   
 
   
-  
+  
+
   
   
 
@@ -504,12 +513,19 @@
   
 
   
-  
-  
-  
-  
-  ${_sectionName}
+
+  
+  
+
+   
+  
+
+
+  
+  
+
   
+  ${_sectionName}
   
 
   

Modified: maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml?rev=280036&r1=280035&r2=280036&view=diff
==
--- maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml Sat Sep 10 12:44:04 2005
@@ -27,6 +27,7 @@
   
   
 
+  Add an optional id 
tag to sub/sections, so they can be referenced.
   Add a property to 
override navigation.xml.
   Show organization in header even if logo not set.
   Ampersands in 
navigation.xml being escaped twice.

Modified: maven/maven-1/plugins/trunk/xdoc/xdocs/index.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/xdocs/index.xml?rev=280036&r1=280035&r2=280036&view=diff
==
--- maven/maven-1/plugins/trunk/xdoc/xdocs/index.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/xdocs/index.xml Sat Sep 10 12:44:04 2005
@@ -74,6 +74,47 @@
   
 XDoc automatically adds the "External Link" icon and tooltip to 
links referring to external sites (actually, any absolute url).
   
+  
+
+  From version 1.10 on, the xdoc plugin
+  allows for an optional id tag in the 
section
+  and subsection elements:
+
+
+
+  An anchor is constructed from each id tag,
+  so you can reference sections and subsections from other source
+  documents. Note that each id tag has to be unique
+  within one source document.
+
+
+  In previous versions of the plugin, an id tag
+  was constructed from section/subsection names, replacing special
+  characters by underscores. For backwards compatibility reasons,
+  we keep this behaviour, i.e., if no id tag
+  is present, an anchor is constructed from the name tag.
+  Note that this presents two shortcomings:
+
+
+  
+If two sections or subsections have identical names
+(within one source document), you will get an ambiguity when
+referencing them. Also the resulting html document will not be
+valid XHTML.
+  
+  
+For long section titles, this leads to rather
+cumbersome anchor names.
+  
+
+
+  We recommend that you provide an id tag if you
+  want to reference a section or subsection.
+
+  
 
   
 



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



m2: what is the status of Maven 2 beta 1?

2005-09-10 Thread Ragy Eleish

Hi,

Maven 2 was supposed to be release mid August. I have been monitoring 
the bug # on jira and there is little activities on it. What is the new 
release date target?


Guys, Maven 2 has very important features that needs to be out there.

--Ragy

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



[jira] Updated: (MNG-862) Compiler arguments cause maven-compiler-plugin to fail when forked

2005-09-10 Thread Rod Coffin (JIRA)
 [ http://jira.codehaus.org/browse/MNG-862?page=all ]

Rod Coffin updated MNG-862:
---

Attachment: patch-862.txt

This bug seems to be caused because the Plexus MapConverter creates a TreeMap 
and the CompilerConfiguration expects a LinkedHashMap.  These two are not 
directly subsitutable.  My patch simply converts the TreeMap to LinkedHashMap.  
It would also be worthwhile considering whether the CompilerConfiguration 
should pass compiler arguments as a list instead of a map.

> Compiler arguments cause maven-compiler-plugin to fail when forked
> --
>
>  Key: MNG-862
>  URL: http://jira.codehaus.org/browse/MNG-862
>  Project: Maven 2
> Type: Bug
>   Components: maven-plugins
> Versions: 2.0-beta-1
> Reporter: Rod Coffin
> Priority: Minor
>  Attachments: patch-862.txt
>
>
> Adding a compiler argument to a forked compiler causes maven to fail.  An 
> example plugin configuration causing this error is:
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   
>   true
>   C:\oss\aspectj1.5\bin\ajc
>   1.5
>   1.5
>   
>   src/main/java
>   
>   
> 
> The stack trace produced is:
> [ERROR] Cause:
> org.apache.maven.plugin.MojoExecutionException: Error configuring plugin for 
> execution of 'compiler:compile'.
> at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:335)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:479)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:452)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:438)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:131)
> 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: org.apache.maven.plugin.PluginConfigurationException: Unable to 
> parse the created DOM for plugin configuration
> at 
> org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1019)
> at 
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:515)
> at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:330)
> ... 15 more
> Caused by: 
> org.codehaus.plexus.component.configurator.ComponentConfigurationException: 
> Cannot assign value '{sourceroot=src/main/java}' to field: 
> org.apache.maven.plugin.CompilerMojo.compilerArguments; type: 
> java.util.TreeMap
> at 
> org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.setValueUsingField(ComponentValueSetter.java:151)
> at 
> org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:259)
> at 
> org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:116)
> at 
> org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:55)
> at 
> org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1014)
> ... 17 more
> Caused by: java.lang.IllegalArgumentException
> at 
> sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
> at java.lang.reflect.Field.set(Field.java:656)
> at 
> org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.setValueUsingField(ComponentValueSetter.java:136)
> ... 21 more

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

[jira] Created: (MNG-862) Compiler arguments cause maven-compiler-plugin to fail when forked

2005-09-10 Thread Rod Coffin (JIRA)
Compiler arguments cause maven-compiler-plugin to fail when forked
--

 Key: MNG-862
 URL: http://jira.codehaus.org/browse/MNG-862
 Project: Maven 2
Type: Bug
  Components: maven-plugins  
Versions: 2.0-beta-1
 Reporter: Rod Coffin
Priority: Minor


Adding a compiler argument to a forked compiler causes maven to fail.  An 
example plugin configuration causing this error is:


org.apache.maven.plugins
maven-compiler-plugin

true
C:\oss\aspectj1.5\bin\ajc
1.5
1.5

src/main/java




The stack trace produced is:

[ERROR] Cause:
org.apache.maven.plugin.MojoExecutionException: Error configuring plugin for 
execution of 'compiler:compile'.
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:335)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:479)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:452)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:438)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:131)
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: org.apache.maven.plugin.PluginConfigurationException: Unable to 
parse the created DOM for plugin configuration
at 
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1019)
at 
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:515)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:330)
... 15 more
Caused by: 
org.codehaus.plexus.component.configurator.ComponentConfigurationException: 
Cannot assign value '{sourceroot=src/main/java}' to field: 
org.apache.maven.plugin.CompilerMojo.compilerArguments; type: java.util.TreeMap
at 
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.setValueUsingField(ComponentValueSetter.java:151)
at 
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:259)
at 
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:116)
at 
org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:55)
at 
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1014)
... 17 more
Caused by: java.lang.IllegalArgumentException
at 
sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
at java.lang.reflect.Field.set(Field.java:656)
at 
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.setValueUsingField(ComponentValueSetter.java:136)
... 21 more

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


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



[REPOCLEAN] Error(s) occurred while converting repository

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

For more details, see:

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

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



Re: [jira] Updated: (MPXDOC-155) xdoc 1.9 not compatible with older customised site.jsl

2005-09-10 Thread Phil Steitz

Lukas Theussl (JIRA) wrote:

[ http://jira.codehaus.org/browse/MPXDOC-155?page=all ]

Lukas Theussl updated MPXDOC-155: -

Attachment: MPXDOC-155.patch

Hi Phil, Can you test the attached patch please? I have successfully
generated the site for jakarta math with it. There are a few layout
differences to the published web site, so I'd like to make sure I
haven't overlooked anything.

The only thing you have to do is copy the  template from xdoc's site.jsl into
commons-site.jsl. You might want to adjust it later but it works as
it is.


I just realized that this creates an incompatibility with earlier 
versions of the plugin (<= 1.8), since it references the fmt library, 
which does not seem to be available to the 1.8 plugin.  Somehow I missed 
this in my testing.  Is there a workaround that will allow <= 1.8 
versions of the plugin to work with this?


Phil

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



[maven2 build - SUCCESS - update] Sat Sep 10 13:00:00 GMT 2005

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

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

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



[maven2 build - SKIPPED - checkout] Sat Sep 10 13:00:09 GMT 2005

2005-09-10 Thread continuum
ci.sh already running... exiting
   maven 22693 22677   0 13:00:09 ?   0:00 /bin/sh 
/export/home/maven/ci.sh update
   maven 22677 22654   0 13:00:01 ?   0:00 /bin/sh 
/export/home/maven/ci.sh update
   maven 22654 22652   0 13:00:01 ?   0:00 /bin/sh 
/export/home/maven/ci.sh update

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



svn commit: r280000 - /maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

2005-09-10 Thread jvanzyl
Author: jvanzyl
Date: Sat Sep 10 05:58:03 2005
New Revision: 28

URL: http://svn.apache.org/viewcvs?rev=28&view=rev
Log:
o adding a couple more checked to make sure the setters are executed.

Modified:

maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

Modified: 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java?rev=28&r1=27&r2=28&view=diff
==
--- 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
 (original)
+++ 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
 Sat Sep 10 05:58:03 2005
@@ -20,7 +20,7 @@
 {
 /**
  * @parameter
- *   property="outputDirectoryValue"
+ *   property="outputDirectory"
  *   expression="${project.build.directory}"
  * @required
  */
@@ -45,14 +45,22 @@
 this.outputDirectoryValue = outputDirectory;
 }
 
+boolean setFooSetterExecuted;
+
 public void setFoo( String fooValue )
 {
 this.fooValue = fooValue;
+
+setFooSetterExecuted = true;
 }
 
+boolean setBarSetterExecuted;
+
 public void setBar( String barValue )
 {
 this.barValue = barValue;
+
+setBarSetterExecuted = true;
 }
 
 // --
@@ -68,12 +76,12 @@
 File outDir = new File( outputDirectoryValue );
 
 // Test parameter setting
-if ( fooValue != null )
+if ( fooValue != null && setFooSetterExecuted )
 {
 touch( outDir, fooValue );
 }
 
-if ( barValue != null )
+if ( barValue != null && setBarSetterExecuted )
 {
 touch( outDir, barValue );
 }



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



[maven2 build - SUCCESS - checkout] Sat Sep 10 12:11:29 GMT 2005

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

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

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



[jira] Commented: (MNG-626) mojos/plexus needs to work with setter based injection

2005-09-10 Thread Jason van Zyl (JIRA)
[ http://jira.codehaus.org/browse/MNG-626?page=comments#action_46069 ] 

Jason van Zyl commented on MNG-626:
---

Kenney, did you ever track down the setThreshold(int) problem? I just rolled in 
revision 2402 for the configurator code.

> mojos/plexus needs to work with setter based injection
> --
>
>  Key: MNG-626
>  URL: http://jira.codehaus.org/browse/MNG-626
>  Project: Maven 2
> Type: Task
>   Components: maven-plugin-api
> Reporter: Brett Porter
> Assignee: Jason van Zyl
> Priority: Blocker
>  Fix For: 2.0-beta-1

>
>
> we've talked about putting setters on mojos for reusability - plexus needs to 
> be able to actually use them (in the case where they do more than just 
> assignment) instead of the private field injection.

-- 
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 - checkout] Sat Sep 10 11:55:29 GMT 2005

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

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



svn commit: r279997 - /maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java

2005-09-10 Thread jvanzyl
Author: jvanzyl
Date: Sat Sep 10 05:12:40 2005
New Revision: 279997

URL: http://svn.apache.org/viewcvs?rev=279997&view=rev
Log:
o allowing the specification of the bean property that should be used for
  reading/writing configuration values. I briefly discussed this with John but
  is up for discussion. We felt the most "bean" like way would be to allow
  something like the following:
  
  @parameter property="project"
  
  Which would mean that for that particular field to read/write it a
  getProject() and setProject(Project) method would be present.
  

Modified:

maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java

Modified: 
maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java?rev=279997&r1=279996&r2=279997&view=diff
==
--- 
maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java
 (original)
+++ 
maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java
 Sat Sep 10 05:12:40 2005
@@ -59,6 +59,19 @@
 
 public static final String PARAMETER_DEFAULT_VALUE = "default-value";
 
+/**
+ * This indicates the base name of the bean properties used to read/write 
this parameter's value.
+ * So:
+ *
+ * @parameter property="project"
+ *
+ * Would say there is a getProject() method and a setProject(Project) 
method. Here the field
+ * name would not be the basis for the parameter's name. This mode of 
operation will allow the
+ * mojos to be usable as beans and will be the promoted form of use.
+ *
+ **/
+public static final String PARAMETER_PROPERTY = "property";
+
 public static final String REQUIRED = "required";
 
 public static final String DEPRECATED = "deprecated";
@@ -125,6 +138,7 @@
 throws InvalidPluginDescriptorException
 {
 MojoDescriptor mojoDescriptor = new MojoDescriptor();
+
 mojoDescriptor.setPluginDescriptor( pluginDescriptor );
 
 JavaClass javaClass = getJavaClass( javaSource );
@@ -202,6 +216,7 @@
 if ( execute != null )
 {
 String executePhase = execute.getNamedParameter( "phase" );
+
 if ( executePhase == null )
 {
 throw new InvalidPluginDescriptorException( "@execute tag 
requires a 'phase' parameter" );
@@ -209,6 +224,7 @@
 mojoDescriptor.setExecutePhase( executePhase );
 
 String lifecycle = execute.getNamedParameter( "lifecycle" );
+
 if ( lifecycle != null )
 {
 mojoDescriptor.setExecuteLifecycle( lifecycle );
@@ -224,10 +240,12 @@
 if ( requiresDependencyResolution != null )
 {
 String value = requiresDependencyResolution.getValue();
+
 if ( value == null || value.length() == 0 )
 {
 value = "runtime";
 }
+
 mojoDescriptor.setDependencyResolutionRequired( value );
 }
 
@@ -325,39 +343,63 @@
 for ( Iterator it = rawParams.entrySet().iterator(); it.hasNext(); )
 {
 Map.Entry entry = (Map.Entry) it.next();
-String paramName = (String) entry.getKey();
 
 JavaField field = (JavaField) entry.getValue();
 
 Parameter pd = new Parameter();
 
-pd.setName( paramName );
-
 pd.setType( field.getType().getValue() );
 
 pd.setDescription( field.getComment() );
 
 DocletTag componentTag = field.getTagByName( COMPONENT );
+
 if ( componentTag != null )
 {
 String role = componentTag.getNamedParameter( "role" );
+
 if ( role == null )
 {
 role = field.getType().toString();
 }
 
 String roleHint = componentTag.getNamedParameter( "roleHint" );
+
 pd.setRequirement( new Requirement( role, roleHint ) );
+
+pd.setName( (String) entry.getKey() );
 }
 else
 {
 DocletTag parameter = field.getTagByName( PARAMETER );
 
+// 
--
+// We will look for a property name here first and use that if 
present
+// i.e:
+//
+// @parameter property="project"
+

[jira] Commented: (MNG-626) mojos/plexus needs to work with setter based injection

2005-09-10 Thread Jason van Zyl (JIRA)
[ http://jira.codehaus.org/browse/MNG-626?page=comments#action_46068 ] 

Jason van Zyl commented on MNG-626:
---

Kenney, I rolled your changes back in, created an IT for the testing of a mojo 
using setters and I'm currently trying to fix the bootstrap.

> mojos/plexus needs to work with setter based injection
> --
>
>  Key: MNG-626
>  URL: http://jira.codehaus.org/browse/MNG-626
>  Project: Maven 2
> Type: Task
>   Components: maven-plugin-api
> Reporter: Brett Porter
> Assignee: Jason van Zyl
> Priority: Blocker
>  Fix For: 2.0-beta-1

>
>
> we've talked about putting setters on mojos for reusability - plexus needs to 
> be able to actually use them (in the case where they do more than just 
> assignment) instead of the private field injection.

-- 
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: r279995 - /maven/components/trunk/maven-core-it/it0012/pom.xml

2005-09-10 Thread jvanzyl
Author: jvanzyl
Date: Sat Sep 10 05:03:21 2005
New Revision: 279995

URL: http://svn.apache.org/viewcvs?rev=279995&view=rev
Log:
o adding pluginRepositories element to match the other ITs which use the
  core-it plugin.

Modified:
maven/components/trunk/maven-core-it/it0012/pom.xml

Modified: maven/components/trunk/maven-core-it/it0012/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0012/pom.xml?rev=279995&r1=279994&r2=279995&view=diff
==
--- maven/components/trunk/maven-core-it/it0012/pom.xml (original)
+++ maven/components/trunk/maven-core-it/it0012/pom.xml Sat Sep 10 05:03:21 2005
@@ -15,7 +15,13 @@
   
 
   
-
+  
+
+  snapshots
+  Maven Central Plugins Development Repository
+  http://snapshots.maven.codehaus.org/maven2/plugins
+
+  
   
 child-project
   



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



[REPOCLEAN] Error(s) occurred while converting repository

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

For more details, see:

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

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



svn commit: r279994 - /maven/components/trunk/maven-core-it/README.txt

2005-09-10 Thread jvanzyl
Author: jvanzyl
Date: Sat Sep 10 04:56:33 2005
New Revision: 279994

URL: http://svn.apache.org/viewcvs?rev=279994&view=rev
Log:
o adding note about it0064

Modified:
maven/components/trunk/maven-core-it/README.txt

Modified: maven/components/trunk/maven-core-it/README.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/README.txt?rev=279994&r1=279993&r2=279994&view=diff
==
--- maven/components/trunk/maven-core-it/README.txt (original)
+++ maven/components/trunk/maven-core-it/README.txt Sat Sep 10 04:56:33 2005
@@ -180,6 +180,9 @@
 
 it0063: Test the use of a system scoped dependency to tools.jar.
 
+it0064: Test the use of a mojo that uses setters instead of private fields
+for the population of configuration values.
+
 ---
 
 - generated sources



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



svn commit: r279993 - /maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

2005-09-10 Thread jvanzyl
Author: jvanzyl
Date: Sat Sep 10 04:55:30 2005
New Revision: 279993

URL: http://svn.apache.org/viewcvs?rev=279993&view=rev
Log:
o adding a mojo that uses setters

Added:

maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java

Added: 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java?rev=279993&view=auto
==
--- 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
 (added)
+++ 
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
 Sat Sep 10 04:55:30 2005
@@ -0,0 +1,105 @@
+/*
+ * Copyright (c) 2005 Your Corporation. All Rights Reserved.
+ */
+package org.apache.maven.plugin.coreit;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+
+/**
+ * @goal setter-touch
+ *
+ * @description Goal which cleans the build
+ */
+public class CoreItMojoWithSetters
+extends AbstractMojo
+{
+/**
+ * @parameter
+ *   property="outputDirectoryValue"
+ *   expression="${project.build.directory}"
+ * @required
+ */
+private String outputDirectoryValue;
+
+/**
+ * @parameter property="foo"
+ */
+private String fooValue;
+
+/**
+ * @parameter property="bar"
+ */
+private String barValue;
+
+// --
+// Setters
+// --
+
+public void setOutputDirectory( String outputDirectory )
+{
+this.outputDirectoryValue = outputDirectory;
+}
+
+public void setFoo( String fooValue )
+{
+this.fooValue = fooValue;
+}
+
+public void setBar( String barValue )
+{
+this.barValue = barValue;
+}
+
+// --
+//
+// --
+
+
+public void execute()
+throws MojoExecutionException
+{
+touch( new File( outputDirectoryValue ), "touch.txt" );
+
+File outDir = new File( outputDirectoryValue );
+
+// Test parameter setting
+if ( fooValue != null )
+{
+touch( outDir, fooValue );
+}
+
+if ( barValue != null )
+{
+touch( outDir, barValue );
+}
+}
+
+private static void touch( File dir, String file )
+throws MojoExecutionException
+{
+try
+{
+ if ( !dir.exists() )
+ {
+ dir.mkdirs();
+ }
+
+ File touch = new File( dir, file );
+
+ FileWriter w = new FileWriter( touch );
+
+ w.write( file );
+
+ w.close();
+}
+catch ( IOException e )
+{
+throw new MojoExecutionException( "Error touching file", e );
+}
+}
+}



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



svn commit: r279992 - in /maven/components/trunk/maven-core-it: integration-tests.txt it0064/ it0064/expected-results.txt it0064/goals.txt it0064/pom.xml it0064/prebuild-hook.txt

2005-09-10 Thread jvanzyl
Author: jvanzyl
Date: Sat Sep 10 04:54:43 2005
New Revision: 279992

URL: http://svn.apache.org/viewcvs?rev=279992&view=rev
Log:
o adding an IT that tests the execution of a mojo with setters

Added:
maven/components/trunk/maven-core-it/it0064/
maven/components/trunk/maven-core-it/it0064/expected-results.txt
maven/components/trunk/maven-core-it/it0064/goals.txt
maven/components/trunk/maven-core-it/it0064/pom.xml
maven/components/trunk/maven-core-it/it0064/prebuild-hook.txt
Modified:
maven/components/trunk/maven-core-it/integration-tests.txt

Modified: maven/components/trunk/maven-core-it/integration-tests.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/integration-tests.txt?rev=279992&r1=279991&r2=279992&view=diff
==
--- maven/components/trunk/maven-core-it/integration-tests.txt (original)
+++ maven/components/trunk/maven-core-it/integration-tests.txt Sat Sep 10 
04:54:43 2005
@@ -1,3 +1,4 @@
+it0064
 it0063
 it0062
 it0061

Added: maven/components/trunk/maven-core-it/it0064/expected-results.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0064/expected-results.txt?rev=279992&view=auto
==
--- maven/components/trunk/maven-core-it/it0064/expected-results.txt (added)
+++ maven/components/trunk/maven-core-it/it0064/expected-results.txt Sat Sep 10 
04:54:43 2005
@@ -0,0 +1,2 @@
+target/fooValue
+target/barValue

Added: maven/components/trunk/maven-core-it/it0064/goals.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0064/goals.txt?rev=279992&view=auto
==
--- maven/components/trunk/maven-core-it/it0064/goals.txt (added)
+++ maven/components/trunk/maven-core-it/it0064/goals.txt Sat Sep 10 04:54:43 
2005
@@ -0,0 +1 @@
+core-it:setter-touch

Added: maven/components/trunk/maven-core-it/it0064/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0064/pom.xml?rev=279992&view=auto
==
--- maven/components/trunk/maven-core-it/it0064/pom.xml (added)
+++ maven/components/trunk/maven-core-it/it0064/pom.xml Sat Sep 10 04:54:43 2005
@@ -0,0 +1,36 @@
+
+  4.0.0
+  org.apache.maven
+  maven-core-it0064
+  jar
+  1.0
+  
+
+  junit
+  junit
+  3.8.1
+  jar
+  test
+
+  
+  
+
+  
+org.apache.maven.plugins
+maven-core-it-plugin
+1.0-SNAPSHOT
+
+  fooValue
+  barValue
+
+  
+
+  
+  
+
+  snapshots
+  Maven Central Plugins Development Repository
+  http://snapshots.maven.codehaus.org/maven2/plugins
+
+  
+

Added: maven/components/trunk/maven-core-it/it0064/prebuild-hook.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0064/prebuild-hook.txt?rev=279992&view=auto
==
--- maven/components/trunk/maven-core-it/it0064/prebuild-hook.txt (added)
+++ maven/components/trunk/maven-core-it/it0064/prebuild-hook.txt Sat Sep 10 
04:54:43 2005
@@ -0,0 +1 @@
+rm 
${artifact:org.apache.maven.plugins:maven-core-it-plugin:1.0-SNAPSHOT:maven-plugin}



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



[maven2 build - FAILED - checkout] Sat Sep 10 11:33:17 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 11:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 10:45:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 10:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 09:45:00 GMT 2005

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

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



[jira] Created: (MPSITE-38) Ugly exception stacktraces created while running 'maven site' in non-debug mode.

2005-09-10 Thread Davy Toch (JIRA)
Ugly exception stacktraces created while running 'maven site' in non-debug 
mode. 
-

 Key: MPSITE-38
 URL: http://jira.codehaus.org/browse/MPSITE-38
 Project: maven-site-plugin
Type: Improvement
  Components: plugin  
Versions: 1.6.1
 Environment: - Maven 1.1 beta1
- Windows 2000 Server

 Reporter: Davy Toch
Priority: Minor
 Fix For: 1.6.2
 Attachments: maven-site-output.log

Running 'maven site'  works without a problem, but apparently some ugly 
stacktraces are generated in the process (cf log file).

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


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



[maven2 build - FAILED - update] Sat Sep 10 09:30:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 09:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 09:00:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 08:45:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 08:30:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 08:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 08:00:00 GMT 2005

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

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



[REPOCLEAN] Error(s) occurred while converting repository

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

For more details, see:

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

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



[maven2 build - FAILED - update] Sat Sep 10 07:45:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 07:30:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 07:15:00 GMT 2005

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

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



[maven2 build - FAILED - update] Sat Sep 10 07:00:00 GMT 2005

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

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