[jira] Commented: (MEV-12) mysql-connector-java uses a classifier

2005-05-22 Thread Kristian Nordal (JIRA)
 [ http://jira.codehaus.org/browse/MEV-12?page=comments#action_39612 ]
 
Kristian Nordal commented on MEV-12:


How was it fixed?

Will a "classifier" element be added?

> mysql-connector-java uses a classifier
> --
>
>  Key: MEV-12
>  URL: http://jira.codehaus.org/browse/MEV-12
>  Project: Maven Evangelism
> Type: Task
> Reporter: Brett Porter

>
>
> This artifact uses a classifier of "stable-bin".
> Check whether it is actually a distribution package (if so the classifier is 
> valid, and needs to wait for a m2 change to allow them in dependencies), 
> otherwise rename it.

-- 
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: r177934 - in /maven/components/trunk: ./ maven-artifact/src/main/java/org/apache/maven/artifact/transform/ maven-core-it/it0013/ maven-core-it/it0015/ maven-core-it/it0020/ maven-plugins/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/ maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/ maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/ sandbox/maven-ear-plugin/

2005-05-22 Thread brett
Author: brett
Date: Sun May 22 23:43:12 2005
New Revision: 177934

URL: http://svn.apache.org/viewcvs?rev=177934&view=rev
Log:
PR: MNG-378
Only deploy the release information at the point of release

Modified:
maven/components/trunk/m2-bootstrap-all.sh

maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/ReleaseArtifactTransformation.java
maven/components/trunk/maven-core-it/it0013/goals.txt
maven/components/trunk/maven-core-it/it0015/goals.txt
maven/components/trunk/maven-core-it/it0020/goals.txt

maven/components/trunk/maven-plugins/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployMojo.java

maven/components/trunk/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallMojo.java

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PerformReleaseMojo.java

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
maven/components/trunk/sandbox/maven-ear-plugin/   (props changed)

Modified: maven/components/trunk/m2-bootstrap-all.sh
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/m2-bootstrap-all.sh?rev=177934&r1=177933&r2=177934&view=diff
==
--- maven/components/trunk/m2-bootstrap-all.sh (original)
+++ maven/components/trunk/m2-bootstrap-all.sh Sun May 22 23:43:12 2005
@@ -50,7 +50,8 @@
   echo 
"---"  
 
   cd maven-plugins
-  m2 -e --update-snapshots clean:clean install
+  # update the release info to ensure these versions get used in the 
integration tests
+  m2 -DupdateReleaseInfo=true -e --update-snapshots clean:clean install
   ret=$?; if [ $ret != 0 ]; then exit $ret; fi
 )
 ret=$?; if [ $ret != 0 ]; then exit $ret; fi

Modified: 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/ReleaseArtifactTransformation.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/ReleaseArtifactTransformation.java?rev=177934&r1=177933&r2=177934&view=diff
==
--- 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/ReleaseArtifactTransformation.java
 (original)
+++ 
maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/ReleaseArtifactTransformation.java
 Sun May 22 23:43:12 2005
@@ -61,23 +61,13 @@
 public void transformForInstall( Artifact artifact, ArtifactRepository 
localRepository )
 throws ArtifactMetadataRetrievalException
 {
-// TODO: this is implemented like a SNAPSHOT - it should be at release 
time only when we have that concept
-ReleaseArtifactMetadata metadata = new ReleaseArtifactMetadata( 
artifact );
-
-metadata.setVersion( artifact.getVersion() );
-
-artifact.addMetadata( metadata );
+// metadata is added at install time
 }
 
 public void transformForDeployment( Artifact artifact, ArtifactRepository 
remoteRepository )
 throws ArtifactMetadataRetrievalException
 {
-// TODO: this is implemented like a SNAPSHOT - it should be at release 
time only when we have that concept
-ReleaseArtifactMetadata metadata = new ReleaseArtifactMetadata( 
artifact );
-
-metadata.setVersion( artifact.getVersion() );
-
-artifact.addMetadata( metadata );
+// metadata is added at deploy time
 }
 
 protected VersionArtifactMetadata retrieveFromRemoteRepository( Artifact 
artifact,

Modified: maven/components/trunk/maven-core-it/it0013/goals.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0013/goals.txt?rev=177934&r1=177933&r2=177934&view=diff
==
--- maven/components/trunk/maven-core-it/it0013/goals.txt (original)
+++ maven/components/trunk/maven-core-it/it0013/goals.txt Sun May 22 23:43:12 
2005
@@ -1,3 +1,3 @@
-clean:clean
+-DupdateReleaseInfo=true
 install
 it0013:it0013

Modified: maven/components/trunk/maven-core-it/it0015/goals.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0015/goals.txt?rev=177934&r1=177933&r2=177934&view=diff
==
--- maven/components/trunk/maven-core-it/it0015/goals.txt (original)
+++ maven/components/trunk/maven-core-it/it0015/goals.txt Sun May 22 23:43:12 
2005
@@ -1,2 +1,3 @@
+-DupdateReleaseInfo=true
 install
 it0015:it0015

Modified: maven/components/trunk/maven-core-it/it0020/goals.txt
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0020/goals.txt?rev=177934&r1=177933&r2=177934&view=d

[jira] Closed: (MNG-378) only publish RELEASE.version.txt at release time

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


Resolution: Fixed

> only publish RELEASE.version.txt at release time
> 
>
>  Key: MNG-378
>  URL: http://jira.codehaus.org/browse/MNG-378
>  Project: Maven 2
> Type: Improvement
> Reporter: Brett Porter
> Assignee: Brett Porter
>  Fix For: 2.0-alpha-3

>
>
> currently, this is published with every deployment, including snapshots. This 
> is probably not desirable, as it will cause people referencing that plugin 
> repository to receive updates they do not want.
> Only publish the file at release time (which might be for a snapshot, if 
> desired)

-- 
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] Commented: (MPPLUGIN-25) NTLM Proxy Problem

2005-05-22 Thread Barrie Treloar (JIRA)
 [ http://jira.codehaus.org/browse/MPPLUGIN-25?page=comments#action_39608 ]
 
Barrie Treloar commented on MPPLUGIN-25:


Jamie McCrindle has correctly identified the problem.

To fix it, go into your Maven cache:  .maven\cache\maven-plugin-plugin-1.5.2
Open the plugin.jelly file and find the lines that include the 
${maven.proxy...} bits.
Append the following


Save the file and retry.

It worked for me.

> NTLM Proxy Problem
> --
>
>  Key: MPPLUGIN-25
>  URL: http://jira.codehaus.org/browse/MPPLUGIN-25
>  Project: maven-plugin-plugin
> Type: Bug
> Versions: 1.5
>  Environment: Windows 2000, JSDK 1.3.1_06 and JSDK 1.4.2_02, Maven 1.0, Maven 
> Plugin Plugin 1.5.1
> Reporter: Jamie McCrindle

>
>
> Using the following proxy configuration:
> maven.proxy.host=myProxyHost
> maven.proxy.port=myProxyPort
> maven.proxy.username=myUserName
> maven.proxy.password=myPassword
> maven.proxy.ntlm.host=myNtlmHost
> maven.proxy.ntlm.domain=myDomain
> Downloading jars works just fine but when I try to download a plugin e.g:
> maven -X -DartifactId=maven-jblanket-plugin -DgroupId=jblanket 
> -Dversion=1.0.0503
> I get the following:
> plugin:download-artifact:
> [echo] repo is 'http://.../repository'
> [echo] trying to download 
> http://.../jblanket/plugins/maven-jblanket-plugin-1.0.0503.jar
> Getting URL: 
> http://.../repository/jblanket/plugins/maven-jblanket-plugin-1.0.0503.jar
> Credentials cannot be used for NTLM authentication: 
> org.apache.commons.httpclient.UsernamePasswordCredentials
> Received status code: 407
> [echo] repo is 'http://www.ibiblio.org/maven'
> [echo] trying to download 
> http://www.ibiblio.org/maven/jblanket/plugins/maven-jblanket-plugin-1.0.0503.jar
> Getting URL: 
> http://www.ibiblio.org/maven/jblanket/plugins/maven-jblanket-plugin-1.0.0503.jar
> Credentials cannot be used for NTLM authentication: 
> org.apache.commons.httpclient.UsernamePasswordCredentials
> Received status code: 407
> (this is the case where it is in ibiblio).
> (removed name of our repository to protect the innocent).
> or maven -X -DartifactId=maven-xdoclet-plugin -DgroupId=xdoclet -Dversion=1.2 
> plugin:download
> plugin:download-artifact:
> [echo] repo is 'http://.../repository'
> [echo] trying to download 
> http://.../repository/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar
> Getting URL: 
> http://.../repository/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar
> Credentials cannot be used for NTLM authentication: 
> org.apache.commons.httpclient.UsernamePasswordCredentials
> Received status code: 407
> [echo] repo is 'http://www.ibiblio.org/maven'
> [echo] trying to download 
> http://www.ibiblio.org/maven/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar
> Getting URL: 
> http://www.ibiblio.org/maven/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar
> Credentials cannot be used for NTLM authentication: 
> org.apache.commons.httpclient.UsernamePasswordCredentials
> Received status code: 407
> (this is the case where it's in our local repo but we can't selectively turn 
> off the proxy)
> My initial investigation indicates that it could be that:
>className="org.apache.maven.util.HttpUtils">
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
> in plugin.jelly doesn't allow for passing the maven.proxy.ntlm.host/domain 
> into the HttpUtils.getFile method.

-- 
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: (MNG-424) Eclipse plugin doesn't generate classpaths for test dependencies

2005-05-22 Thread Rod Coffin (JIRA)
Eclipse plugin doesn't generate classpaths for test dependencies


 Key: MNG-424
 URL: http://jira.codehaus.org/browse/MNG-424
 Project: Maven 2
Type: Bug
  Components: maven-plugins  
Versions: 2.0-alpha-2
 Environment: Windows XP

java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
Reporter: Rod Coffin
Priority: Minor
 Attachments: patch.txt

The maven-eclipse plugin doesn't seem to generate Eclipse classpath entries for 
dependencies defined with a "test" scope.  This would be useful for performing 
unit tests from within Eclipse.

-- 
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: [m2] artifact handlers

2005-05-22 Thread Brett Porter
Gilles Dodinet wrote:

> after several attempts on different machines, still got the same result:
>
>  * i have to build core-it-verifier by hand (using an already
> installed m2 instance)
>  * once done i encounter the same issue than Unico -
> ClassNotFoundException : ModelloCli. (note that i checked modello-core
> and it's not corrupted and ModelloCli is there)
>  * also it-20 doesnot pass (beanshell cannot be downloaded)

All these problems centre around ModelloCli not being found (I think the
m2-bootstrap.bat shell script doesn't exit properly if something it
calls has an error level - it should never have continued past the first
failure).

Unico fixed this problem by waiting for me to reupload some POMs I
screwed in the repository, then removing the plexus and modello
directories from his local repository. Can you try that? Sorry for the
inconvenience...

>
> i was hoping for a more transparent mechanism (f.i. providing my own
> components.xml as part of the plugin) so that i could bypass my
> building issues and use a SNAPSHOT instead. i guess it's just not
> implemented yet ?

correct - I was just explaining how to do it now, but the design
documents do address doing it as you suggest.

>
>
> in my (short) experience renaming a dll can lead to various problems -
> but here i perhaps made something wrong . however i find it a bit
> troubling your proposal to bundle/save locally without versions but
> then deploy with explicit versions set. it would also require
> additional logic and add complexity to the process to convert a
> just-downloaded artifact to a not-versionned one. on the other hand
> the rationale behind artifact name control is more general. f.i.
> eclipse plugin and features bundle names follow this pattern :
> _.jar. not quite different but still need to
> alter default naming. so for the pde plugin i'd like to declare
>
> 
>  ...
>  pde
> 
>
> and have m2 resolves the dependent plugin without having anything to
> do other than provide a naming strategy for pde artifacts. same for
> assembly references.

There are plenty of use cases for mapping a dependency to a setting (eg
war context path within an ear). I think that the filename of the
artifact inside Eclipse, assembly, WEB-INF/lib, etc are examples of
that. I guess, in the new layout, it would be possible for dll types to
have a different filename format (and keep the path name format), and
just not be allowed into the m1 style repo. But I'd consider that a last
resort as it is going to incur additional handling in the repository
management tools as well, and I don't think it is ideal on the user end
unless it is absolutely required.

>>
>> This would be the responsibility of the compiler mojo. However, you may
>> need to alter the lifecycle more - there has been a thread of discussion
>> about how to do this recently, but is not yet implemented.
>>
>
> being able to completly alter the lifecycle seems to me the way to go
> because although the semantic remains the same, java and c# won't
> share much. also not sur to see how the compiler mojo as it exists now
> will know which compiler to use.

Well, the lifecycle phases would not change - just the bindings. And
that will be possible for a "dll" to do, so if packaging determines
everything it is ok. Other plugins can be bound later by hand in the POM
too. The compiler mojo needs to be enhanced to support multiple
compilers and less Java specifics, but it is fine if you want to add a
CSharpCompilerMojo with a new goal for now that we can merge back later.

>>
>> ok, I was thinking that you should be able to use the same compiler
>> mojo, and have an alternate configuration element for csharp (and we
>> could possibly put the java compiler options into a separate nested
>> element too). I'm not sure about this - maybe it is better to have a
>> separate mojo. How much do they differ?
>>
>> I agree we could rename classpath elements to dependencyFiles, however.
>>  
>>
>
> they're not so much different but java compiler mojo hardcodes some
> java specific options. also if the compiler resolution is the
> responsibility of the compiler mojo then shouldn't the mojo have no
> knowledge of the underlying compiler ?

Correct, that's why I was tossing up whether to go with different mojos
for different compilers, or just push the compiler configuration as a
whole element rather than having things like "source" on the compiler
mojo itself.

- Brett


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



results of synchronize

2005-05-22 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
[INFO] Actual number of artifacts rewritten: 11 (22 including POMs).
building file list ... done
activeio/jars/
activeio/jars/activeio-1.1-SNAPSHOT.jar
activemq/distributions/
boo/distributions/
last-sync.txt
mevenide/distributions/
mevenide/poms/
mevenide/poms/mevenide-idea-0.1.pom
wrote 756202 bytes  read 1862 bytes  8971.17 bytes/sec
total size is 2594600118  speedup is 3422.67
building file list ... done
.index.txt
activeio/activeio/1.1-SNAPSHOT/activeio-1.1-SNAPSHOT.jar
activeio/activeio/1.1-SNAPSHOT/activeio-1.1-SNAPSHOT.jar.md5
activeio/activeio/1.1-SNAPSHOT/activeio-1.1-SNAPSHOT.jar.sha1
activeio/activeio/1.1-SNAPSHOT/activeio-1.1-SNAPSHOT.pom
activeio/activeio/1.1-SNAPSHOT/activeio-1.1-SNAPSHOT.pom.md5
activeio/activeio/1.1-SNAPSHOT/activeio-1.1-SNAPSHOT.pom.sha1
activemq/activemq-jmeter/3.1-SNAPSHOT/activemq-jmeter-3.1-SNAPSHOT.pom
activemq/activemq-jmeter/3.1-SNAPSHOT/activemq-jmeter-3.1-SNAPSHOT.pom.md5
activemq/activemq-jmeter/3.1-SNAPSHOT/activemq-jmeter-3.1-SNAPSHOT.pom.sha1
activemq/activemq-jmeter/3.1-SNAPSHOT/activemq-jmeter-3.1-SNAPSHOT.zip
activemq/activemq-jmeter/3.1-SNAPSHOT/activemq-jmeter-3.1-SNAPSHOT.zip.md5
activemq/activemq-jmeter/3.1-SNAPSHOT/activemq-jmeter-3.1-SNAPSHOT.zip.sha1
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT-src.tar.gz
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT-src.tar.gz.md5
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT-src.tar.gz.sha1
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT-src.zip
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT-src.zip.md5
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT-src.zip.sha1
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.pom
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.pom.md5
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.pom.sha1
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.tar.gz
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.tar.gz.md5
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.tar.gz.sha1
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.zip
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.zip.md5
activemq/activemq/3.1-SNAPSHOT/activemq-3.1-SNAPSHOT.zip.sha1
boo/boo/
boo/boo/0.5.4.1629/
boo/boo/0.5.4.1629/boo-0.5.4.1629-bin.zip
boo/boo/0.5.4.1629/boo-0.5.4.1629-bin.zip.md5
boo/boo/0.5.4.1629/boo-0.5.4.1629-bin.zip.sha1
boo/boo/0.5.4.1629/boo-0.5.4.1629-src.zip
boo/boo/0.5.4.1629/boo-0.5.4.1629-src.zip.md5
boo/boo/0.5.4.1629/boo-0.5.4.1629-src.zip.sha1
boo/boo/0.5.4.1629/boo-0.5.4.1629.pom
boo/boo/0.5.4.1629/boo-0.5.4.1629.pom.md5
boo/boo/0.5.4.1629/boo-0.5.4.1629.pom.sha1
boo/boo/0.5.4.1629/boo-0.5.4.1629.tar.gz
boo/boo/0.5.4.1629/boo-0.5.4.1629.tar.gz.md5
boo/boo/0.5.4.1629/boo-0.5.4.1629.tar.gz.sha1
last-sync.txt
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.pom
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.pom.md5
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.pom.sha1
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.tar.gz
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.tar.gz.md5
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.tar.gz.sha1
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.zip
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.zip.md5
mevenide/mevenide-idea/0.1/mevenide-idea-0.1.zip.sha1
wrote 31053558 bytes  read 237082 bytes  116974.36 bytes/sec
total size is 3581406859  speedup is 114.46

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



[maven2 build - SUCCESS] Mon May 23 00:07:01 EDT 2005

2005-05-22 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050523.000701.tar.gz

Log:
http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050523.000701.txt

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



[jira] Created: (MAVENUPLOAD-395) upload emma jar to maven repository - again

2005-05-22 Thread Chad Woolley (JIRA)
upload emma jar to maven repository - again
---

 Key: MAVENUPLOAD-395
 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-395
 Project: maven-upload-requests
Type: Task
Reporter: Chad Woolley
 Attachments: emma-2.0.4217-bundle.jar

http://emma.sourceforge.net/
http://sourceforge.net/project/memberlist.php?group_id=108932

This is a re-upload. The create-upload-bundle goal seems to have a bug - when 
it copied my jar, it was empty! I had to manually add the full original jar to 
the bundle. Is this a known bug?



-- 
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: (MAVENUPLOAD-394) upload emma_ant jar to maven repository - again

2005-05-22 Thread Chad Woolley (JIRA)
upload emma_ant jar to maven repository - again
---

 Key: MAVENUPLOAD-394
 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-394
 Project: maven-upload-requests
Type: Task
Reporter: Chad Woolley
 Attachments: emma_ant-2.0.4217-bundle.jar

http://emma.sourceforge.net/
http://sourceforge.net/project/memberlist.php?group_id=108932

This is a re-upload.  The create-upload-bundle goal seems to have a bug - when 
it copied my jar, it was empty!  I had to manually add the full original jar to 
the bundle.   Is this a known bug?

-- 
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: r177913 - /maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin /maven/components/trunk/maven-reports/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo

2005-05-22 Thread brett
Author: brett
Date: Sun May 22 20:57:28 2005
New Revision: 177913

URL: http://svn.apache.org/viewcvs?rev=177913&view=rev
Log:
implement some inspection settings
The EAP now uses these settings to show highlighting and intentions in the 
editor, which is really helpful.
Once happy with settings, I will publish them for others to use

Modified:

maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

maven/components/trunk/maven-reports/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectReportsMojo.java

Modified: 
maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java?rev=177913&r1=177912&r2=177913&view=diff
==
--- 
maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
 (original)
+++ 
maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
 Sun May 22 20:57:28 2005
@@ -34,21 +34,11 @@
 
 public Log getLog()
 {
-synchronized ( this )
+if ( log == null )
 {
-if ( log == null )
-{
-log = new SystemStreamLog();
-}
+log = new SystemStreamLog();
 }
 
 return log;
 }
-
-public void execute()
-throws MojoExecutionException
-{
-throw new MojoExecutionException( "You must override execute() if you 
implement the new paradigm" );
-}
-
 }

Modified: 
maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java?rev=177913&r1=177912&r2=177913&view=diff
==
--- 
maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
 (original)
+++ 
maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
 Sun May 22 20:57:28 2005
@@ -31,4 +31,6 @@
 
 // TODO: not sure about this here, and may want a getLog on here as 
well/instead
 void setLog( Log log );
+
+Log getLog();
 }

Modified: 
maven/components/trunk/maven-reports/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectReportsMojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-reports/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectReportsMojo.java?rev=177913&r1=177912&r2=177913&view=diff
==
--- 
maven/components/trunk/maven-reports/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectReportsMojo.java
 (original)
+++ 
maven/components/trunk/maven-reports/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectReportsMojo.java
 Sun May 22 20:57:28 2005
@@ -34,8 +34,8 @@
 import java.util.Map;
 
 /**
+ * A Maven2 plugin which generates the set of project reports.
  * @goal generate
- * @description A Maven2 plugin which generates the set of project reports
  *
  * @author mailto:[EMAIL PROTECTED]">Brett Porter
  * @version $Id: ProjectReportsMojo.java,v 1.3 2005/02/23 00:08:03 brett Exp $
@@ -44,12 +44,6 @@
 extends AbstractMojo
 {
 /**
- * @parameter expression="${basedir}"
- * @required
- */
-private String basedir;
-
-/**
  * @parameter expression="${basedir}/src/site"
  * @required
  */
@@ -134,6 +128,7 @@
 return buffer.toString();
 }
 
+/** @noinspection IOResourceOpenedButNotSafelyClosed*/
 private InputStream getSiteDescriptor()
 throws MojoExecutionException
 {
@@ -144,7 +139,7 @@
 throw new MojoExecutionException( "The site descriptor is not 
present!" );
 }
 
-String siteDescriptorContent = "";
+String siteDescriptorContent;
 
 try
 {
@@ -155,7 +150,7 @@
 throw new MojoExecutionException( "The site descriptor cannot be 
read!", e );
 }
 
-Map props = new HashMap();
+Map props = new HashMap( 1 );
 
 props.put( "reports", getReportsMenu() );
 



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



[maven2 build - SUCCESS] Sun May 22 23:07:01 EDT 2005

2005-05-22 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050522.230701.tar.gz

Log:
http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050522.230701.txt

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



svn commit: r177912 - /maven/components/trunk/maven-plugins/maven-release-plugin

2005-05-22 Thread brett
Author: brett
Date: Sun May 22 20:09:03 2005
New Revision: 177912

URL: http://svn.apache.org/viewcvs?rev=177912&view=rev
Log:
ignores

Modified:
maven/components/trunk/maven-plugins/maven-release-plugin/   (props changed)

Propchange: maven/components/trunk/maven-plugins/maven-release-plugin/
--
--- svn:ignore (original)
+++ svn:ignore Sun May 22 20:09:03 2005
@@ -1 +1,4 @@
 target
+*.iws
+*.iml
+*.ipr



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



svn commit: r177911 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

2005-05-22 Thread brett
Author: brett
Date: Sun May 22 20:07:51 2005
New Revision: 177911

URL: http://svn.apache.org/viewcvs?rev=177911&view=rev
Log:
clean imports

Modified:

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

Modified: 
maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java?rev=177911&r1=177910&r2=177911&view=diff
==
--- 
maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
 (original)
+++ 
maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
 Sun May 22 20:07:51 2005
@@ -30,7 +30,7 @@
 import org.apache.maven.project.MavenProject;
 import org.apache.maven.project.MavenProjectBuilder;
 import org.apache.maven.project.ProjectBuildingException;
-import org.apache.maven.wagon.util.IoUtils;
+import org.codehaus.plexus.util.IOUtil;
 import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
 
 import java.io.File;
@@ -130,7 +130,7 @@
 }
 finally
 {
-IoUtils.close( reader );
+IOUtil.close( reader );
 }
 }
 return createArtifacts( dependencies, artifact.getScope() );



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



svn commit: r177910 - /maven/components/trunk/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java

2005-05-22 Thread brett
Author: brett
Date: Sun May 22 20:07:40 2005
New Revision: 177910

URL: http://svn.apache.org/viewcvs?rev=177910&view=rev
Log:
clean imports

Modified:

maven/components/trunk/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java

Modified: 
maven/components/trunk/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java?rev=177910&r1=177909&r2=177910&view=diff
==
--- 
maven/components/trunk/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java
 (original)
+++ 
maven/components/trunk/maven-script/maven-script-beanshell/src/main/java/org/apache/maven/script/beanshell/BeanshellMojoAdapter.java
 Sun May 22 20:07:40 2005
@@ -16,17 +16,12 @@
  * limitations under the License.
  */
 
+import bsh.EvalError;
+import bsh.Interpreter;
 import org.apache.maven.plugin.AbstractMojo;
 import org.apache.maven.plugin.Mojo;
 import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.plugin.logging.Log;
 import org.codehaus.plexus.component.factory.bsh.BshComponent;
-import bsh.Interpreter;
-import bsh.This;
-import bsh.UtilEvalError;
-import bsh.EvalError;
-
-import java.io.PrintStream;
 
 /**
  * Mojo adapter for a Beanshell Mojo.



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



svn commit: r177909 - /maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java

2005-05-22 Thread brett
Author: brett
Date: Sun May 22 19:59:49 2005
New Revision: 177909

URL: http://svn.apache.org/viewcvs?rev=177909&view=rev
Log:
adjust copyright

Modified:

maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java

Modified: 
maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java?rev=177909&r1=177908&r2=177909&view=diff
==
--- 
maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java
 (original)
+++ 
maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java
 Sun May 22 19:59:49 2005
@@ -1,16 +1,7 @@
 package org.apache.maven.reporting;
 
-import java.io.InputStream;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.apache.maven.reporting.sink.MultiPageSink;
-import org.apache.maven.reporting.sink.SinkFactory;
-import org.codehaus.doxia.sink.Sink;
-
 /*
- * Copyright 2005 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,6 +15,15 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.apache.maven.reporting.sink.MultiPageSink;
+import org.apache.maven.reporting.sink.SinkFactory;
+import org.codehaus.doxia.sink.Sink;
 
 /**
  * @author Emmanuel Venisse



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



[jira] Closed: (MNG-353) allow primitive fields in mojos

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


Fix Version: (was: 2.0-alpha-3)
 2.0-alpha-2
 Resolution: Fixed

was already working in alpha-2

> allow primitive fields in mojos
> ---
>
>  Key: MNG-353
>  URL: http://jira.codehaus.org/browse/MNG-353
>  Project: Maven 2
> Type: Improvement
> Reporter: Brett Porter
> Assignee: Brett Porter
>  Fix For: 2.0-alpha-2

>
>
> I'm pretty sure we can only configure objects (at least via expressions) with 
> objects like java.lang.Boolean instead of a primitive type

-- 
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: r177873 - /maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java

2005-05-22 Thread brett
Author: brett
Date: Sun May 22 19:41:00 2005
New Revision: 177873

URL: http://svn.apache.org/viewcvs?rev=177873&view=rev
Log:
use primitive types

Modified:

maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java

Modified: 
maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java?rev=177873&r1=177872&r2=177873&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
 Sun May 22 19:41:00 2005
@@ -38,16 +38,13 @@
 
 private Compiler compiler = new JavacCompiler();
 
-// TODO: use boolean when supported
 /**
  * Whether to include debugging information in the compiled class files.
- * 
- * 
  * The default value is true.
  * 
  * @parameter expression="${maven.compiler.debug}"
  */
-private String debug = Boolean.TRUE.toString();
+private boolean debug = true;
 
 /**
  * The -source argument for the Java compiler
@@ -63,14 +60,13 @@
  */
 private String target;
 
-// TODO: Use long when supported
 /**
  * The granularity in milliseconds of the last modification
  * date for testing whether a source needs recompilation
  * 
  * @parameter alias="${lastModGranularityMs}"
  */
-private String staleMillis = "0";
+private int staleMillis = 0;
 
 protected abstract List getClasspathElements();
 
@@ -121,10 +117,7 @@
 compilerConfiguration.addCompilerOption( "-target", target );
 }
 
-if ( debug != null && Boolean.valueOf( debug ).booleanValue() )
-{
-compilerConfiguration.setDebug( true );
-}
+compilerConfiguration.setDebug( debug );
 
 List messages = null;
 try
@@ -158,24 +151,9 @@
 private Set computeStaleSources()
 throws MojoExecutionException
 {
-long staleTime = 0;
-
-if ( staleMillis != null && staleMillis.length() > 0 )
-{
-try
-{
-staleTime = Long.parseLong( staleMillis );
-}
-catch ( NumberFormatException e )
-{
-throw new MojoExecutionException( "Invalid staleMillis plugin 
parameter value: \'" + staleMillis
-+ "\'", e );
-}
-
-}
 SuffixMapping mapping = new SuffixMapping( ".java", ".class" );
 
-SourceInclusionScanner scanner = new StaleSourceScanner( staleTime );
+SourceInclusionScanner scanner = new StaleSourceScanner( staleMillis );
 
 scanner.addSourceMapping( mapping );
 



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



[jira] Closed: (MNG-392) Make an abstract mojo that works with MavenProject

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


Fix Version: (was: 2.0-alpha-3)
 Resolution: Won't Fix

please reopen if you disagree.

> Make an abstract mojo that works with MavenProject
> --
>
>  Key: MNG-392
>  URL: http://jira.codehaus.org/browse/MNG-392
>  Project: Maven 2
> Type: Task
> Versions: 2.0-alpha-3
> Reporter: Jason van Zyl

>
>
> For mojos like eclipse:eclipse and idea:idea it would be nice to have an 
> abstract mojo that can have common code for validation. Like checking for the 
> existence of a project. Any of the IDEA mojos would be candidates for use.

-- 
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] Commented: (MNG-223) consider replacement for

2005-05-22 Thread Brett Porter (JIRA)
 [ http://jira.codehaus.org/browse/MNG-223?page=comments#action_39602 ]
 
Brett Porter commented on MNG-223:
--

as posted to dev list:

I would like to add  to the scmManagement section to facilitate this. 
It's default if omitted would be HEAD, and would be used to specify the CVS 
branch name during development. At release time, it would be rewritten with the 
CVS tag used to release it.

For other SCMs, HEAD and the meaning of the tag balue would equate to the 
equivalent for that SCM.

For Subversion, tag would be ignored, and instead the connection string 
rewritten at release time.

This means that the deployed POM in the repository has the SCM URL + tag 
required to get that version of the code from SCM. In conjunction with a repo 
search for all versions for a given group/artifactId this completely replaces 
 from M1.


> consider replacement for 
> 
>
>  Key: MNG-223
>  URL: http://jira.codehaus.org/browse/MNG-223
>  Project: Maven 2
> Type: Task
>   Components: design
> Reporter: Brett Porter
>  Fix For: 2.0-alpha-3

>
>
> We removed  from the POM in m2, which made sense as the POM should 
> be a snapshot of the current state of the project, not the history.
> We can easily get old versions from the repository, however SCM tag names are 
> missing (so these may need to be stored in the POM at release time).
> Another concern is that all project data should be available from the SCM - 
> so if the repository goes away it can be easily recreated. Would we need to 
> manually redeploy from every historical tag? Just the versions desired? Would 
> having another archive versions.xml in SCM help with any of the tasks?
> I'm in favour of just using the repository + adding the tag at release time, 
> but we need to give all use cases due consideration.

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



adding to

2005-05-22 Thread Brett Porter
Ref: http://jira.codehaus.org/browse/MNG-223

I would like to add  to the scmManagement section to facilitate
this. It's default if omitted would be HEAD, and would be used to
specify the CVS branch name during development. At release time, it
would be rewritten with the CVS tag used to release it.

For other SCMs, HEAD and the meaning of the tag balue would equate to
the equivalent for that SCM.

For Subversion, tag would be ignored, and instead the connection string
rewritten at release time.

This means that the deployed POM in the repository has the SCM URL + tag
required to get that version of the code from SCM. In conjunction with a
repo search for all versions for a given group/artifactId this
completely replaces  from M1.

Thoughts?

- Brett

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



[jira] Closed: (MNG-422) Certain dependency graph causes tests to not compile

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


Resolution: Won't Fix

When I say "Won't Fix", I mean "Will Fix, but differently". We have another 
issue to make dependency mediation better.

What is happening here is that one of your dependencies has a compile time 
dependency on junit 3.7. Compile time wins over test time (Which it should, but 
the version it uses shouldn't).

You can workaround this by changing the scope of your junit dep to "compile" 
for now.

If you can identify the POM with the compile time dependency, we can make the 
necessary changes in the repository if they are correct (it may actually have a 
compile time dep though...)

> Certain dependency graph causes tests to not compile
> 
>
>  Key: MNG-422
>  URL: http://jira.codehaus.org/browse/MNG-422
>  Project: Maven 2
> Type: Bug
> Versions: 2.0-alpha-2
>  Environment: Windows XP, Cygwin
> Reporter: Mark Hobson
>  Attachments: test.zip
>
>
> The attached projects set up the following rough dependency hierarchy:
>   testproject
>   +- testdep
>   |  +- testdep2
>   |  +- testdep3
>   |  |  +- ...
>   |  |  +- testdep4
>   |  | +- ...
>   |  +- commons-logging
>   |  +- commons-pool
>   +- junit
> Not all dependencies are shown for the sake of brevity, but are obviously 
> available in the attached poms.
> Now unfortuantely every dependency supplied is required to reproduce this bug 
> - take one out and it works.  What happens is as follows:
> * testdep4: m2 install - ok
> * testdep3: m2 install - ok
> * testdep2: m2 install - ok
> * testdep: m2 install - ok
> * testproject: m2 install - error:
> [INFO] 
> 
> [INFO] Building testgroup:testproject:jar:1.0-SNAPSHOT
> [INFO] 
> 
> [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository
> [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local 
> repository
> [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local 
> repository
> [INFO] maven-surefire-plugin: resolved to version 2.0-alpha-2 from local 
> repository
> [INFO] maven-install-plugin: resolved to version 2.0-alpha-2 from local 
> repository
> [INFO] [resources:resources]
> [INFO] testdep: using locally installed snapshot
> [INFO] testdep2: using locally installed snapshot
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] [compiler:testCompile]
> Compiling 1 source file to c:\Documents and 
> Settings\mark\Desktop\testproject\target\test-classes
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Reason: Compilation failure
> [INFO] 
> 
> [INFO] c:\Documents and 
> Settings\mark\Desktop\testproject\src\test\java\Test.java:[3,-1]  cannot find 
> symbol
> [INFO] 
> 
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Sun May 22 11:56:08 BST 2005
> [INFO] Final Memory: 2M/12M
> [INFO] 
> 
> So it looks like the classpath is getting mangled somewhere since javac can't 
> find junit.  Now if Java5 is turned off in testproject, the following occurs:
> [INFO] 
> 
> [INFO] Building testgroup:testproject:jar:1.0-SNAPSHOT
> [INFO] 
> 
> [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository
> [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local 
> repository
> [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local 
> repository
> [INFO] maven-surefire-plugin: resolved to version 2.0-alpha-2 from local 
> repository
> [INFO] maven-install-plugin: resolved to version 2.0-alpha-2 from local 
> repository
> [INFO] [resources:resources]
> [INFO] testdep: using locally installed snapshot
> [INFO] testdep2: using locally installed snapshot
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] [compiler:testCompile]
> Compiling 1 source file to c:\Documents and 
> Settings\mark\Desktop\testproject\target\test-classes
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Reason: Compilation failure
> [INFO] 
> ---

[jira] Updated: (MNG-249) compile and package should be reactor-aware

2005-05-22 Thread Brett Porter (JIRA)
 [ http://jira.codehaus.org/browse/MNG-249?page=all ]

Brett Porter updated MNG-249:
-

Fix Version: (was: 2.0-alpha-3)
 2.0-beta-1

> compile and package should be reactor-aware
> ---
>
>  Key: MNG-249
>  URL: http://jira.codehaus.org/browse/MNG-249
>  Project: Maven 2
> Type: Improvement
>   Components: maven-core
>  Environment: any
> Reporter: Kenney Westerhof
>  Fix For: 2.0-beta-1
>  Attachments: m2test.tgz
>
> Original Estimate: 4 hours
> Remaining: 4 hours
>
> When compiling or packaging a project consisting of subprojects
> where one depends on another, maven should first check the build environment
> for existing jars or classes (in target/ directories) from the dependent 
> subproject,
> rather than always looking in the local and remote repositories for jar 
> artifacts.
> Attached is a very simple test-case with 2 subprojects, where one depends
> on the other.
> Only m2 install works; m2 compile and m2 package should also work.

-- 
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] Commented: (MNG-37) Generation of XSD for XML format of the model

2005-05-22 Thread Brett Porter (JIRA)
 [ http://jira.codehaus.org/browse/MNG-37?page=comments#action_39599 ]
 
Brett Porter commented on MNG-37:
-

I think eu had a crack at this. Waiting to hear from him before doing it myself.

> Generation of XSD for XML format of the model
> -
>
>  Key: MNG-37
>  URL: http://jira.codehaus.org/browse/MNG-37
>  Project: Maven 2
> Type: Task
>   Components: documentation
> Reporter: Jason van Zyl
>  Fix For: 2.0-alpha-3

>
>


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


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



results of synchronize

2005-05-22 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
[INFO] Actual number of artifacts rewritten: 0 (0 including POMs).
building file list ... done
last-sync.txt
wrote 635734 bytes  read 42 bytes  3319.98 bytes/sec
total size is 2594599022  speedup is 4081.00
building file list ... done
.index.txt
last-sync.txt
wrote 1097402 bytes  read 64 bytes  1527.44 bytes/sec
total size is 3576410500  speedup is 3258.79

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



[jira] Closed: (MEV-12) mysql-connector-java uses a classifier

2005-05-22 Thread Brett Porter (JIRA)
 [ http://jira.codehaus.org/browse/MEV-12?page=all ]
 
Brett Porter closed MEV-12:
---

Resolution: Fixed

> mysql-connector-java uses a classifier
> --
>
>  Key: MEV-12
>  URL: http://jira.codehaus.org/browse/MEV-12
>  Project: Maven Evangelism
> Type: Task
> Reporter: Brett Porter

>
>
> This artifact uses a classifier of "stable-bin".
> Check whether it is actually a distribution package (if so the classifier is 
> valid, and needs to wait for a m2 change to allow them in dependencies), 
> otherwise rename it.

-- 
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: (MNG-423) mojo generator changes

2005-05-22 Thread Brett Porter (JIRA)
mojo generator changes
--

 Key: MNG-423
 URL: http://jira.codehaus.org/browse/MNG-423
 Project: Maven 2
Type: Task
  Components: maven-plugin-tools, maven-plugin-descriptor  
Reporter: Brett Porter
 Fix For: 2.0-alpha-3


we need to make these final changes, but should retain the old syntax as 
deprecated.

The most important thing is to move @defaultValue back to the qdox. We need to 
be able to have that in the descriptor for general plexus configuration editing 
and the ability to add it to the generated docs.

Trygve is sorting this out in general for plexus, and we will adopt that.

Because default value is back in the descriptor, expression needs to move, so 
we should have:
defaultValue

We need lists in the descriptor generator, so something like:
@defaultValue [**/*Test.java,**/*TestCase.java]

Since most elements of @parameter have been made explicit @tags, we should also 
have @expression and @alias eliminating @parameter itself.

We do not need to adopt the CDC itself for alpha-3, but need to get the syntax 
for mojo writers correct.

-- 
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] Sun May 22 19:07:00 EDT 2005

2005-05-22 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050522.190700.tar.gz

Log:
http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050522.190700.txt

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



results of synchronize

2005-05-22 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
[INFO] Actual number of artifacts rewritten: 3 (6 including POMs).
building file list ... done
last-sync.txt
mysql/jars/
mysql/jars/mysql-connector-java-2.0.14-bin.jar -> 
mysql-connector-java-2.0.14.jar
mysql/jars/mysql-connector-java-2.0.14.jar
mysql/jars/mysql-connector-java-2.0.14.jar.md5
mysql/jars/mysql-connector-java-3.0.10-stable-bin.jar -> 
mysql-connector-java-3.0.10.jar
mysql/jars/mysql-connector-java-3.0.10.jar
mysql/jars/mysql-connector-java-3.0.10.jar.md5
mysql/jars/mysql-connector-java-3.0.8-stable-bin.jar -> 
mysql-connector-java-3.0.8.jar
mysql/jars/mysql-connector-java-3.0.8.jar
mysql/jars/mysql-connector-java-3.0.8.jar.md5
wrote 1213313 bytes  read 138 bytes  22681.33 bytes/sec
total size is 2594599022  speedup is 2138.20
building file list ... done
.index.txt
last-sync.txt
mysql/mysql-connector-java/2.0.14/
mysql/mysql-connector-java/2.0.14/mysql-connector-java-2.0.14.jar
mysql/mysql-connector-java/2.0.14/mysql-connector-java-2.0.14.jar.md5
mysql/mysql-connector-java/2.0.14/mysql-connector-java-2.0.14.jar.sha1
mysql/mysql-connector-java/2.0.14/mysql-connector-java-2.0.14.pom
mysql/mysql-connector-java/2.0.14/mysql-connector-java-2.0.14.pom.md5
mysql/mysql-connector-java/2.0.14/mysql-connector-java-2.0.14.pom.sha1
mysql/mysql-connector-java/3.0.10/
mysql/mysql-connector-java/3.0.10/mysql-connector-java-3.0.10.jar
mysql/mysql-connector-java/3.0.10/mysql-connector-java-3.0.10.jar.md5
mysql/mysql-connector-java/3.0.10/mysql-connector-java-3.0.10.jar.sha1
mysql/mysql-connector-java/3.0.10/mysql-connector-java-3.0.10.pom
mysql/mysql-connector-java/3.0.10/mysql-connector-java-3.0.10.pom.md5
mysql/mysql-connector-java/3.0.10/mysql-connector-java-3.0.10.pom.sha1
mysql/mysql-connector-java/3.0.8/
mysql/mysql-connector-java/3.0.8/mysql-connector-java-3.0.8.jar
mysql/mysql-connector-java/3.0.8/mysql-connector-java-3.0.8.jar.md5
mysql/mysql-connector-java/3.0.8/mysql-connector-java-3.0.8.jar.sha1
mysql/mysql-connector-java/3.0.8/mysql-connector-java-3.0.8.pom
mysql/mysql-connector-java/3.0.8/mysql-connector-java-3.0.8.pom.md5
mysql/mysql-connector-java/3.0.8/mysql-connector-java-3.0.8.pom.sha1
plexus/plexus-service-jetty/
plexus/plexus-service-jetty/1.0-alpha-1/
plexus/plexus-service-jetty/1.0-alpha-1/plexus-service-jetty-1.0-alpha-1.jar
plexus/plexus-service-jetty/1.0-alpha-1/plexus-service-jetty-1.0-alpha-1.jar.md5
plexus/plexus-service-jetty/1.0-alpha-1/plexus-service-jetty-1.0-alpha-1.jar.sha1
plexus/plexus-service-jetty/1.0-alpha-1/plexus-service-jetty-1.0-alpha-1.pom
plexus/plexus-service-jetty/1.0-alpha-1/plexus-service-jetty-1.0-alpha-1.pom.md5
plexus/plexus-service-jetty/1.0-alpha-1/plexus-service-jetty-1.0-alpha-1.pom.sha1
plexus/plexus-service-jetty/plexus-service-jetty-RELEASE.version.txt
plexus/plexus-service-jetty/plexus-service-jetty-RELEASE.version.txt.md5
plexus/plexus-service-jetty/plexus-service-jetty-RELEASE.version.txt.sha1
plexus/plexus-service-xmlrpc/
plexus/plexus-service-xmlrpc/1.0-alpha-2/
plexus/plexus-service-xmlrpc/1.0-alpha-2/plexus-service-xmlrpc-1.0-alpha-2.jar
plexus/plexus-service-xmlrpc/1.0-alpha-2/plexus-service-xmlrpc-1.0-alpha-2.jar.md5
plexus/plexus-service-xmlrpc/1.0-alpha-2/plexus-service-xmlrpc-1.0-alpha-2.jar.sha1
plexus/plexus-service-xmlrpc/1.0-alpha-2/plexus-service-xmlrpc-1.0-alpha-2.pom
plexus/plexus-service-xmlrpc/1.0-alpha-2/plexus-service-xmlrpc-1.0-alpha-2.pom.md5
plexus/plexus-service-xmlrpc/1.0-alpha-2/plexus-service-xmlrpc-1.0-alpha-2.pom.sha1
plexus/plexus-service-xmlrpc/plexus-service-xmlrpc-RELEASE.version.txt
plexus/plexus-service-xmlrpc/plexus-service-xmlrpc-RELEASE.version.txt.md5
plexus/plexus-service-xmlrpc/plexus-service-xmlrpc-RELEASE.version.txt.sha1
wrote 3029171 bytes  read 724 bytes  6453.45 bytes/sec
total size is 3576410613  speedup is 1180.37

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



svn commit: r171378 - /maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml

2005-05-22 Thread brett
Author: brett
Date: Sun May 22 15:33:48 2005
New Revision: 171378

URL: http://svn.apache.org/viewcvs?rev=171378&view=rev
Log:
update input handler version

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

Modified: maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml?rev=171378&r1=171377&r2=171378&view=diff
==
--- maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml (original)
+++ maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml Sun May 
22 15:33:48 2005
@@ -43,7 +43,7 @@
 
   plexus
   plexus-input-handler
-  1.0-alpha-2-SNAPSHOT
+  1.0-alpha-2
 
   
 



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



[maven2 build - FAILED] Sun May 22 18:07:01 EDT 2005

2005-05-22 Thread jvanzyl
Log:
http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050522.180701.txt

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



[maven2 build - FAILED] Sun May 22 17:07:00 EDT 2005

2005-05-22 Thread jvanzyl
Log:
http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050522.170700.txt

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



results of synchronize

2005-05-22 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
[INFO] Actual number of artifacts rewritten: 0 (0 including POMs).
building file list ... done
last-sync.txt
mevenide/javadoc.jars/
mevenide/javadoc.jars/mevenide-netbeans-cargo-0.5.javadoc.jar
mevenide/javadoc.jars/mevenide-netbeans-cargo-0.5.javadoc.jar.md5
mevenide/poms/
mevenide/poms/mevenide-netbeans-cargo-0.5.pom
mevenide/poms/mevenide-netbeans-cargo-0.5.pom.md5
mevenide/src.jars/
mevenide/src.jars/mevenide-netbeans-cargo-0.5.src.jar
mevenide/src.jars/mevenide-netbeans-cargo-0.5.src.jar.md5
wrote 720691 bytes  read 138 bytes  8632.68 bytes/sec
total size is 2594598930  speedup is 3599.47
building file list ... done
.index.txt
last-sync.txt
org/apache/maven/plugins/maven-plexus-plugin/
org/apache/maven/plugins/maven-plexus-plugin/1.0/
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.180040-7.jar
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.180040-7.jar.md5
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.180040-7.jar.sha1
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.180040-7.pom
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.180040-7.pom.md5
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.180040-7.pom.sha1
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-SNAPSHOT.version.txt
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-SNAPSHOT.version.txt.md5
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-SNAPSHOT.version.txt.sha1
org/apache/maven/plugins/maven-plexus-plugin/1.0/maven-plexus-plugin-1.0.jar
org/apache/maven/plugins/maven-plexus-plugin/1.0/maven-plexus-plugin-1.0.jar.md5
org/apache/maven/plugins/maven-plexus-plugin/1.0/maven-plexus-plugin-1.0.jar.sha1
org/apache/maven/plugins/maven-plexus-plugin/1.0/maven-plexus-plugin-1.0.pom
org/apache/maven/plugins/maven-plexus-plugin/1.0/maven-plexus-plugin-1.0.pom.md5
org/apache/maven/plugins/maven-plexus-plugin/1.0/maven-plexus-plugin-1.0.pom.sha1
org/apache/maven/plugins/maven-plexus-plugin/maven-plexus-plugin-RELEASE.version.txt
org/apache/maven/plugins/maven-plexus-plugin/maven-plexus-plugin-RELEASE.version.txt.md5
org/apache/maven/plugins/maven-plexus-plugin/maven-plexus-plugin-RELEASE.version.txt.sha1
plexus/plexus-cdc/
plexus/plexus-cdc/1.0-alpha-1/
plexus/plexus-cdc/1.0-alpha-1/plexus-cdc-1.0-alpha-1.jar
plexus/plexus-cdc/1.0-alpha-1/plexus-cdc-1.0-alpha-1.jar.md5
plexus/plexus-cdc/1.0-alpha-1/plexus-cdc-1.0-alpha-1.jar.sha1
plexus/plexus-cdc/1.0-alpha-1/plexus-cdc-1.0-alpha-1.pom
plexus/plexus-cdc/1.0-alpha-1/plexus-cdc-1.0-alpha-1.pom.md5
plexus/plexus-cdc/1.0-alpha-1/plexus-cdc-1.0-alpha-1.pom.sha1
plexus/plexus-cdc/plexus-cdc-RELEASE.version.txt
plexus/plexus-cdc/plexus-cdc-RELEASE.version.txt.md5
plexus/plexus-cdc/plexus-cdc-RELEASE.version.txt.sha1
wrote 1137513 bytes  read 526 bytes  2772.32 bytes/sec
total size is 3574480696  speedup is 3140.91

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



svn commit: r171368 - in /maven/components/trunk/maven-plugins/maven-release-plugin: pom.xml src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java

2005-05-22 Thread jvanzyl
Author: jvanzyl
Date: Sun May 22 13:26:32 2005
New Revision: 171368

URL: http://svn.apache.org/viewcvs?rev=171368&view=rev
Log:
o removing debug and adding a note

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

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java

Modified: maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml?rev=171368&r1=171367&r2=171368&view=diff
==
--- maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml (original)
+++ maven/components/trunk/maven-plugins/maven-release-plugin/pom.xml Sun May 
22 13:26:32 2005
@@ -43,7 +43,7 @@
 
   plexus
   plexus-input-handler
-  1.0-alpha-1-SNAPSHOT
+  1.0-alpha-2-SNAPSHOT
 
   
 

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java?rev=171368&r1=171367&r2=171368&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
 Sun May 22 13:26:32 2005
@@ -325,7 +325,7 @@
 
 transformer.transformNodes();
 
-transformer.write();   
+transformer.write();
 }
 catch ( Exception e )
 {
@@ -337,7 +337,8 @@
 throws MojoExecutionException
 {
 // TODO: we will need to incorporate versioning strategies here 
because it is unlikely
-// that everyone will be able to agree on a standard.
+// that everyone will be able to agree on a standard. This is 
extremely limited right
+// now and really only works for the way maven is versioned.
 
 // releaseVersion = 1.0-beta-4
 // snapshotVersion = 1.0-beta-5-SNAPSHOT

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java?rev=171368&r1=171367&r2=171368&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
 Sun May 22 13:26:32 2005
@@ -64,14 +64,10 @@
 
 if ( version != null )
 {
-System.out.println( ">> We have a version element and we are 
changing it to " + getUpdatedModel().getVersion() );
-
 version.setText( getUpdatedModel().getVersion() );
 }
 else
 {
-System.out.println( ">> We are adding a version element and we 
are setting it to " + getUpdatedModel().getVersion() );
-
 project.addElement( "version" ).addText( 
getUpdatedModel().getVersion() );
 }
 }



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



Re: [m2] artifact handlers

2005-05-22 Thread Gilles Dodinet

Brett Porter wrote:


Gilles Dodinet wrote:

 


ive tried to build from trunk but encountered some problems with
bootstrap : i had to build core-it-verifier by hand (using alpha-2),
but then all it-tests failed because of file not found (however the
files were actually present). i remember having encountered such issue
a while back when bootstrapping (as far as i can recall that was a
basedir issue). i havent investigated this very far and downloaded the
last snapshot instead.
   



This is a bit weird. I'd like to work this through with you if possible
(as you can see, our clean build is working on the integration machine -
so I'd need to see what in your environment is causing it).
 



after several attempts on different machines, still got the same result:

 * i have to build core-it-verifier by hand (using an already installed 
m2 instance)
 * once done i encounter the same issue than Unico - 
ClassNotFoundException : ModelloCli. (note that i checked modello-core 
and it's not corrupted and ModelloCli is there)

 * also it-20 doesnot pass (beanshell cannot be downloaded)

building after having deleted the local repo makes no difference. i 
built against yesterday checkout.


no success either with "m2 install".

please find the build log here: http://rafb.net/paste/results/flC2Ol80.html

but yet im still not sure how to register an artifact handler. 
   



maven-artifact/src/main/resources/META-INF/plexus/components.xml lists them

 



i was hoping for a more transparent mechanism (f.i. providing my own 
components.xml as part of the plugin) so that i could bypass my building 
issues and use a SNAPSHOT instead. i guess it's just not implemented yet ?



i also wonder how i can specify non defualt artifact name mapping.
indeed even though it is to handle assembly name like any other
artifact, assemblies generally don't include version in the name (no
judgement nor appreciation here). on the other hand m2 default
repository layout has a folder per version so i guess it should be
possible to locate a dependency even if its name doesn't make the
version explicit, not ? (although i understand this make it not
backward compatible)
   



In the repository, the naming format is quite strict - the handler only
has control over the extension used (And the subdirectory in the old
style repo). I don't quite understand the use case - you can bundle/save
without versions locally, but the repository artifacts should still have
a version. Can you explain more about this?

 



in my (short) experience renaming a dll can lead to various problems - 
but here i perhaps made something wrong . however i find it a bit 
troubling your proposal to bundle/save locally without versions but then 
deploy with explicit versions set. it would also require additional 
logic and add complexity to the process to convert a just-downloaded 
artifact to a not-versionned one. on the other hand the rationale behind 
artifact name control is more general. f.i. eclipse plugin and features 
bundle names follow this pattern : _.jar. not quite 
different but still need to alter default naming. so for the pde plugin 
i'd like to declare



 ...
 pde


and have m2 resolves the dependent plugin without having anything to do 
other than provide a naming strategy for pde artifacts. same for 
assembly references.



concerning the lifecycle i'm not sure how to map it to a specific
packaging type. it's tempting though to use the artifact handler for
this. but handlers seem to only define packageGoal(). so how to
instruct m2 that a project  that has a 'foo' packaging type should be
compiled with foo-compiler. 
   



This would be the responsibility of the compiler mojo. However, you may
need to alter the lifecycle more - there has been a thread of discussion
about how to do this recently, but is not yet implemented.

 



being able to completly alter the lifecycle seems to me the way to go 
because although the semantic remains the same, java and c# won't share 
much. also not sur to see how the compiler mojo as it exists now will 
know which compiler to use.


i'm not sure either to understand the directory() method. is this 
method present to support m1 repository-style ?
   



correct.

 


what i have so far is pretty simplistic as you can see at
http://codehaus.org/~gdodinet/csharp.png. 
   



ok, I was thinking that you should be able to use the same compiler
mojo, and have an alternate configuration element for csharp (and we
could possibly put the java compiler options into a separate nested
element too). I'm not sure about this - maybe it is better to have a
separate mojo. How much do they differ?

I agree we could rename classpath elements to dependencyFiles, however.
 



they're not so much different but java compiler mojo hardcodes some java 
specific options. also if the compiler resolution is the responsibility 
of the compiler mojo then shouldn't the mojo have no knowledge of the 
underlying compiler ?


regards,

-- gd


results of synchronize

2005-05-22 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
[INFO] Actual number of artifacts rewritten: 0 (0 including POMs).
building file list ... done
last-sync.txt
wrote 635392 bytes  read 42 bytes  880.71 bytes/sec
total size is 2594514023  speedup is 4083.06
building file list ... done
.index.txt
last-sync.txt
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.151724-6.jar
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.151724-6.jar.md5
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.151724-6.jar.sha1
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.151724-6.pom
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.151724-6.pom.md5
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050522.151724-6.pom.sha1
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-SNAPSHOT.version.txt
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-SNAPSHOT.version.txt.md5
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-SNAPSHOT.version.txt.sha1
org/apache/maven/plugins/maven-plexus-plugin/maven-plexus-plugin-RELEASE.version.txt
org/apache/maven/plugins/maven-plexus-plugin/maven-plexus-plugin-RELEASE.version.txt.md5
org/apache/maven/plugins/maven-plexus-plugin/maven-plexus-plugin-RELEASE.version.txt.sha1
plexus/
plexus/plexus-appserver/
plexus/plexus-appserver/1.0-alpha-1/
plexus/plexus-appserver/1.0-alpha-1/plexus-appserver-1.0-alpha-1.jar
plexus/plexus-appserver/1.0-alpha-1/plexus-appserver-1.0-alpha-1.jar.md5
plexus/plexus-appserver/1.0-alpha-1/plexus-appserver-1.0-alpha-1.jar.sha1
plexus/plexus-appserver/1.0-alpha-1/plexus-appserver-1.0-alpha-1.pom
plexus/plexus-appserver/1.0-alpha-1/plexus-appserver-1.0-alpha-1.pom.md5
plexus/plexus-appserver/1.0-alpha-1/plexus-appserver-1.0-alpha-1.pom.sha1
plexus/plexus-appserver/plexus-appserver-RELEASE.version.txt
plexus/plexus-appserver/plexus-appserver-RELEASE.version.txt.md5
plexus/plexus-appserver/plexus-appserver-RELEASE.version.txt.sha1
plexus/plexus-input-handler/
plexus/plexus-input-handler/1.0-alpha-2/
plexus/plexus-input-handler/1.0-alpha-2/plexus-input-handler-1.0-alpha-2.jar
plexus/plexus-input-handler/1.0-alpha-2/plexus-input-handler-1.0-alpha-2.jar.md5
plexus/plexus-input-handler/1.0-alpha-2/plexus-input-handler-1.0-alpha-2.jar.sha1
plexus/plexus-input-handler/1.0-alpha-2/plexus-input-handler-1.0-alpha-2.pom
plexus/plexus-input-handler/1.0-alpha-2/plexus-input-handler-1.0-alpha-2.pom.md5
plexus/plexus-input-handler/1.0-alpha-2/plexus-input-handler-1.0-alpha-2.pom.sha1
plexus/plexus-input-handler/plexus-input-handler-RELEASE.version.txt
plexus/plexus-input-handler/plexus-input-handler-RELEASE.version.txt.md5
plexus/plexus-input-handler/plexus-input-handler-RELEASE.version.txt.sha1
plexus/plexus-log4j-logging/
plexus/plexus-log4j-logging/1.0/
plexus/plexus-log4j-logging/1.0/plexus-log4j-logging-1.0.jar
plexus/plexus-log4j-logging/1.0/plexus-log4j-logging-1.0.jar.md5
plexus/plexus-log4j-logging/1.0/plexus-log4j-logging-1.0.jar.sha1
plexus/plexus-log4j-logging/1.0/plexus-log4j-logging-1.0.pom
plexus/plexus-log4j-logging/1.0/plexus-log4j-logging-1.0.pom.md5
plexus/plexus-log4j-logging/1.0/plexus-log4j-logging-1.0.pom.sha1
plexus/plexus-log4j-logging/plexus-log4j-logging-RELEASE.version.txt
plexus/plexus-log4j-logging/plexus-log4j-logging-RELEASE.version.txt.md5
plexus/plexus-log4j-logging/plexus-log4j-logging-RELEASE.version.txt.sha1
plexus/plexus-logging/
plexus/plexus-logging-provider-test/
plexus/plexus-logging-provider-test/1.0-alpha-1/
plexus/plexus-logging-provider-test/1.0-alpha-1/plexus-logging-provider-test-1.0-alpha-1.jar
plexus/plexus-logging-provider-test/1.0-alpha-1/plexus-logging-provider-test-1.0-alpha-1.jar.md5
plexus/plexus-logging-provider-test/1.0-alpha-1/plexus-logging-provider-test-1.0-alpha-1.jar.sha1
plexus/plexus-logging-provider-test/1.0-alpha-1/plexus-logging-provider-test-1.0-alpha-1.pom
plexus/plexus-logging-provider-test/1.0-alpha-1/plexus-logging-provider-test-1.0-alpha-1.pom.md5
plexus/plexus-logging-provider-test/1.0-alpha-1/plexus-logging-provider-test-1.0-alpha-1.pom.sha1
plexus/plexus-logging-provider-test/1.0-alpha-2-SNAPSHOT/
plexus/plexus-logging-provider-test/1.0-alpha-2-SNAPSHOT/plexus-logging-provider-test-1.0-alpha-2-20050522.155544-1.jar
plexus/plexus-logging-provider-test/1.0-alpha-2-SNAPSHOT/plexus-logging-provider-test-1.0-alpha-2-20050522.155544-1.jar.md5
plexus/plexus-logging-provider-test/1.0-alpha-2-SNAPSHOT/plexus-logging-provider-test-1.0-alpha-2-20050522.155544-1.jar.sha1
plexus/plexus-logging-provider-test/1.0-alpha-2-SNAPSHOT/plexus-loggin

[jira] Created: (MAVENUPLOAD-393) Upload wicket-extensions-1.0.0-rc3

2005-05-22 Thread Martijn Dashorst (JIRA)
Upload wicket-extensions-1.0.0-rc3
--

 Key: MAVENUPLOAD-393
 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-393
 Project: maven-upload-requests
Type: Task
Reporter: Martijn Dashorst


http://wicket.sourceforge.net/downloads/wicket-extensions-1.0.0-rc3-bundle.jar

http://wicket.sourceforge.net/
http://wicket.sourceforge.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.

Please upload!

-- 
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: (MAVENUPLOAD-392) Upload wicket-1.0.0-rc3

2005-05-22 Thread Martijn Dashorst (JIRA)
Upload wicket-1.0.0-rc3
---

 Key: MAVENUPLOAD-392
 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-392
 Project: maven-upload-requests
Type: Task
Reporter: Martijn Dashorst


http://wicket.sourceforge.net/downloads/wicket-1.0.0-rc3-bundle.jar

http://wicket.sourceforge.net/
http://wicket.sourceforge.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.

Please upload!

-- 
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] Sun May 22 10:07:01 EDT 2005

2005-05-22 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050522.100701.tar.gz

Log:
http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050522.100701.txt

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



[maven2 build - SUCCESS] Sun May 22 09:07:00 EDT 2005

2005-05-22 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050522.090700.tar.gz

Log:
http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050522.090700.txt

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



[jira] Resolved: (CONTINUUM-106) don't allow a project to be added identically more than once

2005-05-22 Thread Trygve Laugstol (JIRA)
 [ http://jira.codehaus.org/browse/CONTINUUM-106?page=all ]
 
Trygve Laugstol resolved CONTINUUM-106:
---

Resolution: Fixed

Added checks for duplicate name. Still some issues with the SCM URLs that we'll 
tackle later.

> don't allow a project to be added identically more than once
> 
>
>  Key: CONTINUUM-106
>  URL: http://jira.codehaus.org/browse/CONTINUUM-106
>  Project: Continuum
> Type: Bug
> Versions: 1.0-alpha-1
> Reporter: Brett Porter
> Assignee: Trygve Laugstol
>  Fix For: 1.0-alpha-2

>
>
> I was able to submit plexus-utils twice and both were listed. I deleted one 
> successfully, but it shouldn't be allowed in if they are operating from the 
> same SCM URL + branch

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



svn commit: r171311 - in /maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer: AbstractPomTransformer.java VersionTransformer.java

2005-05-22 Thread evenisse
Author: evenisse
Date: Sun May 22 06:15:15 2005
New Revision: 171311

URL: http://svn.apache.org/viewcvs?rev=171311&view=rev
Log:
Check if pom is in the correct format.

Modified:

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java?rev=171311&r1=171310&r2=171311&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java
 Sun May 22 06:15:15 2005
@@ -187,6 +187,11 @@
 public void transformNodes()
 throws Exception
 {
+if ( getSelectedNodes().isEmpty() )
+{
+throw new Exception( "Your pom doesn't respect the standard 
format." );
+}
+
 for ( Iterator i = getSelectedNodes().iterator(); i.hasNext(); )
 {
 Object o = i.next();

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java?rev=171311&r1=171310&r2=171311&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
 Sun May 22 06:15:15 2005
@@ -30,8 +30,6 @@
  * @author mailto:[EMAIL PROTECTED]">Brett Porter
  *
  * @version $Id: VersionTransformer.java 115421 2004-06-01 02:20:18Z dion $
- * @todo check to make sure the basic structure of the document is good. just 
ran into a bug
- * with the first version of the converter and the root element was  
not .
  */
 public class VersionTransformer
 extends AbstractPomTransformer



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



svn commit: r171309 - /maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java

2005-05-22 Thread jvanzyl
Author: jvanzyl
Date: Sun May 22 05:51:59 2005
New Revision: 171309

URL: http://svn.apache.org/viewcvs?rev=171309&view=rev
Log:
o note on the version transformer

Modified:

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java?rev=171309&r1=171308&r2=171309&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
 Sun May 22 05:51:59 2005
@@ -30,6 +30,8 @@
  * @author mailto:[EMAIL PROTECTED]">Brett Porter
  *
  * @version $Id: VersionTransformer.java 115421 2004-06-01 02:20:18Z dion $
+ * @todo check to make sure the basic structure of the document is good. just 
ran into a bug
+ * with the first version of the converter and the root element was  
not .
  */
 public class VersionTransformer
 extends AbstractPomTransformer



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



[jira] Updated: (CONTINUUM-69) Make sure /webapp only contains web resources and not classes.

2005-05-22 Thread Jason van Zyl (JIRA)
 [ http://jira.codehaus.org/browse/CONTINUUM-69?page=all ]

Jason van Zyl updated CONTINUUM-69:
---

Fix Version: (was: 1.0-alpha-2)
 1.0-alpha-3
Version: (was: 1.0-alpha-1)
 1.0-alpha-3
Description: We'll need to deal with this next version, it's not critical 
in any way.  (was: )

> Make sure /webapp only contains web resources and not classes.
> --
>
>  Key: CONTINUUM-69
>  URL: http://jira.codehaus.org/browse/CONTINUUM-69
>  Project: Continuum
> Type: Task
> Versions: 1.0-alpha-3
> Reporter: Trygve Laugstol
> Assignee: Trygve Laugstol
>  Fix For: 1.0-alpha-3

>
>
> We'll need to deal with this next version, it's not critical in any way.

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



svn commit: r171307 - /maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java

2005-05-22 Thread jvanzyl
Author: jvanzyl
Date: Sun May 22 05:42:01 2005
New Revision: 171307

URL: http://svn.apache.org/viewcvs?rev=171307&view=rev
Log:
o adding some more debug info to try and find the problem with a POM
  transformation

Modified:

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java?rev=171307&r1=171306&r2=171307&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/VersionTransformer.java
 Sun May 22 05:42:01 2005
@@ -61,27 +61,38 @@
 Element project = (Element) node;
 
 Node version = node.selectSingleNode( "version" );
+
 if ( version != null )
 {
+System.out.println( ">> We have a version element and we are 
changing it to " + getUpdatedModel().getVersion() );
+
 version.setText( getUpdatedModel().getVersion() );
 }
 else
 {
+System.out.println( ">> We are adding a version element and we 
are setting it to " + getUpdatedModel().getVersion() );
+
 project.addElement( "version" ).addText( 
getUpdatedModel().getVersion() );
 }
 }
 else if ( selectDependenciesNodesXPathExpression().equals( 
node.getPath() ) )
 {
 Element dependency = (Element) node;
+
 Node groupId = node.selectSingleNode( "groupId" );
+
 Node artifactId = node.selectSingleNode( "artifactId" );
+
 Node type = node.selectSingleNode( "type" );
+
 String typeText = "jar";
+
 if ( type != null )
 {
 typeText = type.getText();
 }
 Node version = node.selectSingleNode( "version" );
+
 if ( version != null )
 {
 version.setText( getDependency( groupId.getText(), 
artifactId.getText(), typeText ).getVersion() );
@@ -95,15 +106,22 @@
 else
 {
 Element plugin = (Element) node;
+
 Node groupId = node.selectSingleNode( "groupId" );
+
 String groupIdText = "org.apache.maven.plugins";
+
 if ( groupId != null )
 {
 groupIdText = groupId.getText();
 }
+
 Node artifactId = node.selectSingleNode( "artifactId" );
+
 Node version = node.selectSingleNode( "version" );
+
 Plugin p = getPlugin( groupIdText, artifactId.getText() );
+
 if ( groupId != null )
 {
 groupId.setText( p.getGroupId() );
@@ -128,6 +146,7 @@
 for ( Iterator i = getUpdatedModel().getDependencies().iterator(); 
i.hasNext(); )
 {
 Dependency dependency = (Dependency) i.next();
+
 if ( dependency.getGroupId().equals( groupId ) && 
dependency.getArtifactId().equals( artifactId )
 && dependency.getType().equals( type ) )
 {
@@ -143,6 +162,7 @@
 for ( Iterator i = 
getUpdatedModel().getBuild().getPlugins().iterator(); i.hasNext(); )
 {
 Plugin plugin = (Plugin) i.next();
+
 if ( plugin.getGroupId().equals( groupId ) && 
plugin.getArtifactId().equals( artifactId ) )
 {
 return plugin;



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



svn commit: r171305 - in /maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin: release/PrepareReleaseMojo.java transformer/AbstractPomTransformer.java

2005-05-22 Thread jvanzyl
Author: jvanzyl
Date: Sun May 22 05:36:37 2005
New Revision: 171305

URL: http://svn.apache.org/viewcvs?rev=171305&view=rev
Log:
o formatting

Modified:

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java?rev=171305&r1=171304&r2=171305&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
 Sun May 22 05:36:37 2005
@@ -325,7 +325,7 @@
 
 transformer.transformNodes();
 
-transformer.write();
+transformer.write();   
 }
 catch ( Exception e )
 {
@@ -473,7 +473,7 @@
 scm.setTag( tag );
 }
 
-getLog().info( "Tagging release with the label " + tag + "." );

+getLog().info( "Tagging release with the label " + tag + "." );
 
 scm.tag();
 }

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java?rev=171305&r1=171304&r2=171305&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/transformer/AbstractPomTransformer.java
 Sun May 22 05:36:37 2005
@@ -75,100 +75,56 @@
 // Accessors
 // 
-
 
-/**
- *
- * @param updatedModel
- */
 public Model getUpdatedModel()
 {
 return updatedModel;
 }
 
-/**
- *
- * @param updatedModel
- */
 public void setUpdatedModel( Model updatedModel )
 {
 this.updatedModel = updatedModel;
 }
 
-/**
- *
- * @return
- */
 public Map getVariables()
 {
 return variables;
 }
 
-/**
- *
- * @param variables
- */
 public void setVariables( Map variables )
 {
 this.variables = variables;
 }
 
-/**
- *
- * @param project
- */
 public void setProject( File project )
 {
 this.project = project;
 }
 
-/**
- *
- * @return
- */
 public File getProject()
 {
 return project;
 }
 
-/**
- *
- * @return
- */
 public Document getDocument()
 {
 return document;
 }
 
-/**
- *
- * @param document
- */
 public void setDocument( Document document )
 {
 this.document = document;
 }
 
-/**
- *
- * @return
- */
 public File getOutputFile()
 {
 return outputFile;
 }
 
-/**
- *
- * @param outputFile
- */
 public void setOutputFile( File outputFile )
 {
 this.outputFile = outputFile;
 }
 
-/**
- *
- * @return
- */
 public List getSelectedNodes()
 {
 if ( selectedNodes == null )
@@ -185,28 +141,16 @@
 return selectedNodes;
 }
 
-/**
- *
- * @param selectedNodes
- */
 public void setSelectedNodes( List selectedNodes )
 {
 this.selectedNodes = selectedNodes;
 }
 
-/**
- *
- * @return
- */
 public int getSelectedNodeCount()
 {
 return getSelectedNodes().size();
 }
 
-/**
- *
- * @return
- */
 public List getTransformations()
 {
 if ( transformations == null )
@@ -217,9 +161,6 @@
 return transformations;
 }
 
-/**
- *
- */
 public void createTransformations()
 {
 transformations = new ArrayList();
@@ -297,19 +238,28 @@
 throws Exception
 {
 SAXReader reader = new SAXReader();
+
 setDocument( reader.read( getProject() ) );
 
 // The selecting nodes with the xpath expression will give us a list
 // of dependencies elements where the version element is

results of synchronize

2005-05-22 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
[INFO] Actual number of artifacts rewritten: 0 (0 including POMs).
building file list ... done
castor/
castor/0.9.7/
castor/public_html.old.tar.gz
last-sync.txt
maven/plugins/
maven/plugins/maven-clover-plugin-1.9.jar
maven/plugins/maven-clover-plugin-1.9.jar.md5
maven/poms/
maven/poms/maven-clover-plugin-1.9.pom
maven/poms/maven-clover-plugin-1.9.pom.md5
wrote 3092602 bytes  read 122 bytes  29314.92 bytes/sec
total size is 2594514023  speedup is 838.91
building file list ... done
.index.txt
last-sync.txt
plexus/
plexus/plexus-action/
plexus/plexus-action/1.0-alpha-1/
plexus/plexus-action/1.0-alpha-1/plexus-action-1.0-alpha-1.jar
plexus/plexus-action/1.0-alpha-1/plexus-action-1.0-alpha-1.jar.md5
plexus/plexus-action/1.0-alpha-1/plexus-action-1.0-alpha-1.jar.sha1
plexus/plexus-action/1.0-alpha-1/plexus-action-1.0-alpha-1.pom
plexus/plexus-action/1.0-alpha-1/plexus-action-1.0-alpha-1.pom.md5
plexus/plexus-action/1.0-alpha-1/plexus-action-1.0-alpha-1.pom.sha1
plexus/plexus-action/plexus-action-RELEASE.version.txt
plexus/plexus-action/plexus-action-RELEASE.version.txt.md5
plexus/plexus-action/plexus-action-RELEASE.version.txt.sha1
plexus/plexus-bayesian/
plexus/plexus-bayesian/1.0-alpha-1/
plexus/plexus-bayesian/1.0-alpha-1/plexus-bayesian-1.0-alpha-1.jar
plexus/plexus-bayesian/1.0-alpha-1/plexus-bayesian-1.0-alpha-1.jar.md5
plexus/plexus-bayesian/1.0-alpha-1/plexus-bayesian-1.0-alpha-1.jar.sha1
plexus/plexus-bayesian/1.0-alpha-1/plexus-bayesian-1.0-alpha-1.pom
plexus/plexus-bayesian/1.0-alpha-1/plexus-bayesian-1.0-alpha-1.pom.md5
plexus/plexus-bayesian/1.0-alpha-1/plexus-bayesian-1.0-alpha-1.pom.sha1
plexus/plexus-bayesian/plexus-bayesian-RELEASE.version.txt
plexus/plexus-bayesian/plexus-bayesian-RELEASE.version.txt.md5
plexus/plexus-bayesian/plexus-bayesian-RELEASE.version.txt.sha1
plexus/plexus-formica/
plexus/plexus-formica-web/1.0-alpha-1/plexus-formica-web-1.0-alpha-1.jar
plexus/plexus-formica-web/1.0-alpha-1/plexus-formica-web-1.0-alpha-1.jar.md5
plexus/plexus-formica-web/1.0-alpha-1/plexus-formica-web-1.0-alpha-1.jar.sha1
plexus/plexus-formica-web/1.0-alpha-1/plexus-formica-web-1.0-alpha-1.pom
plexus/plexus-formica-web/1.0-alpha-1/plexus-formica-web-1.0-alpha-1.pom.md5
plexus/plexus-formica-web/1.0-alpha-1/plexus-formica-web-1.0-alpha-1.pom.sha1
plexus/plexus-formica-web/plexus-formica-web-RELEASE.version.txt
plexus/plexus-formica-web/plexus-formica-web-RELEASE.version.txt.md5
plexus/plexus-formica-web/plexus-formica-web-RELEASE.version.txt.sha1
plexus/plexus-formica/1.0-beta-3/
plexus/plexus-formica/1.0-beta-3/plexus-formica-1.0-beta-3.jar
plexus/plexus-formica/1.0-beta-3/plexus-formica-1.0-beta-3.jar.md5
plexus/plexus-formica/1.0-beta-3/plexus-formica-1.0-beta-3.jar.sha1
plexus/plexus-formica/1.0-beta-3/plexus-formica-1.0-beta-3.pom
plexus/plexus-formica/1.0-beta-3/plexus-formica-1.0-beta-3.pom.md5
plexus/plexus-formica/1.0-beta-3/plexus-formica-1.0-beta-3.pom.sha1
plexus/plexus-formica/plexus-formica-RELEASE.version.txt
plexus/plexus-formica/plexus-formica-RELEASE.version.txt.md5
plexus/plexus-formica/plexus-formica-RELEASE.version.txt.sha1
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-20050522.121443-2.jar
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-20050522.121443-2.jar.md5
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-20050522.121443-2.jar.sha1
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-20050522.121443-2.pom
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-20050522.121443-2.pom.md5
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-20050522.121443-2.pom.sha1
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-SNAPSHOT.version.txt
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-SNAPSHOT.version.txt.md5
plexus/plexus-input-handler/1.0-alpha-1-SNAPSHOT/plexus-input-handler-1.0-alpha-1-SNAPSHOT.version.txt.sha1
plexus/plexus-input-handler/plexus-input-handler-RELEASE.version.txt
plexus/plexus-input-handler/plexus-input-handler-RELEASE.version.txt.md5
plexus/plexus-input-handler/plexus-input-handler-RELEASE.version.txt.sha1
plexus/plexus-notification/
plexus/plexus-notification/1.0-alpha-1-SNAPSHOT/
plexus/plexus-notification/1.0-alpha-1-SNAPSHOT/plexus-notification-1.0-alpha-1-20050522.121119-5.jar
plexus/plexus-notification/1.0-alpha-1-SNAPSHOT/plexus-notification-1.0-alpha-1-20050522.121119-5.jar.md5
plexus/plexus-notification/1.0-alpha-1-SNAPSHOT/plexus-notification-1.0-alpha-1-20050522.121119-5.jar.sha1
plexus/plexus-notification/1.0-alpha-1-SNAPSHOT/plexus-notification-1.0-alpha-1-20050522.121119-5.pom
plexus/plexus-notifica

[maven2 build - SUCCESS] Sun May 22 08:07:00 EDT 2005

2005-05-22 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050522.080700.tar.gz

Log:
http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050522.080700.txt

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



svn commit: r171304 - in /maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin: release/AbstractReleaseMojo.java release/PrepareReleaseMojo.java scm/ScmBean.java

2005-05-22 Thread jvanzyl
Author: jvanzyl
Date: Sun May 22 04:27:48 2005
New Revision: 171304

URL: http://svn.apache.org/viewcvs?rev=171304&view=rev
Log:
o removing some debug info
o provide a message when tagging

Modified:

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/AbstractReleaseMojo.java

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java

maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/scm/ScmBean.java

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/AbstractReleaseMojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/AbstractReleaseMojo.java?rev=171304&r1=171303&r2=171304&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/AbstractReleaseMojo.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/AbstractReleaseMojo.java
 Sun May 22 04:27:48 2005
@@ -106,8 +106,6 @@
 
 scm.setUrl( urlScm );
 
-System.out.println( "urlScm = " + urlScm );
-
 if ( releaseProperties != null )
 {
 tag = releaseProperties.getProperty( TAG );
@@ -121,8 +119,6 @@
 {
 username = releaseProperties.getProperty( USERNAME );
 }
-
-System.out.println( "username = " + username );
 
 scm.setUsername( username );
 

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java?rev=171304&r1=171303&r2=171304&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java
 Sun May 22 04:27:48 2005
@@ -346,12 +346,8 @@
 
 try
 {
-System.out.println( "nextVersionString = " + nextVersionString );
-
 nextVersionString = Integer.toString( Integer.parseInt( 
nextVersionString ) + 1 );
 
-System.out.println( "nextVersionString = " + nextVersionString );
-
 projectVersion = projectVersion.substring( 0, 
projectVersion.lastIndexOf( "-" ) + 1 ) + nextVersionString + SNAPSHOT;
 }
 catch ( NumberFormatException e )
@@ -476,6 +472,8 @@
 
 scm.setTag( tag );
 }
+
+getLog().info( "Tagging release with the label " + tag + "." );

 
 scm.tag();
 }

Modified: 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/scm/ScmBean.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/scm/ScmBean.java?rev=171304&r1=171303&r2=171304&view=diff
==
--- 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/scm/ScmBean.java
 (original)
+++ 
maven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/scm/ScmBean.java
 Sun May 22 04:27:48 2005
@@ -131,10 +131,6 @@
 
 checkoutDirectory = new File( workingDirectory );
 
-System.out.println( "workingDirectory = " + workingDirectory );
-
-System.out.println( "tag = " + tag );
-
 // TODO: sanity check that it is not . or .. or lower
 
 if ( FileUtils.fileExists( workingDirectory ) )



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



[jira] Created: (MNG-422) Certain dependency graph causes tests to not compile

2005-05-22 Thread Mark Hobson (JIRA)
Certain dependency graph causes tests to not compile


 Key: MNG-422
 URL: http://jira.codehaus.org/browse/MNG-422
 Project: Maven 2
Type: Bug
Versions: 2.0-alpha-2
 Environment: Windows XP, Cygwin
Reporter: Mark Hobson
 Attachments: test.zip

The attached projects set up the following rough dependency hierarchy:

  testproject
  +- testdep
  |  +- testdep2
  |  +- testdep3
  |  |  +- ...
  |  |  +- testdep4
  |  | +- ...
  |  +- commons-logging
  |  +- commons-pool
  +- junit

Not all dependencies are shown for the sake of brevity, but are obviously 
available in the attached poms.

Now unfortuantely every dependency supplied is required to reproduce this bug - 
take one out and it works.  What happens is as follows:

* testdep4: m2 install - ok
* testdep3: m2 install - ok
* testdep2: m2 install - ok
* testdep: m2 install - ok
* testproject: m2 install - error:

[INFO] 

[INFO] Building testgroup:testproject:jar:1.0-SNAPSHOT
[INFO] 

[INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository
[INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local 
repository
[INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local 
repository
[INFO] maven-surefire-plugin: resolved to version 2.0-alpha-2 from local 
repository
[INFO] maven-install-plugin: resolved to version 2.0-alpha-2 from local 
repository
[INFO] [resources:resources]
[INFO] testdep: using locally installed snapshot
[INFO] testdep2: using locally installed snapshot
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] [compiler:testCompile]
Compiling 1 source file to c:\Documents and 
Settings\mark\Desktop\testproject\target\test-classes
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Reason: Compilation failure
[INFO] 

[INFO] c:\Documents and 
Settings\mark\Desktop\testproject\src\test\java\Test.java:[3,-1]  cannot find 
symbol

[INFO] 

[INFO] Total time: 2 seconds
[INFO] Finished at: Sun May 22 11:56:08 BST 2005
[INFO] Final Memory: 2M/12M
[INFO] 


So it looks like the classpath is getting mangled somewhere since javac can't 
find junit.  Now if Java5 is turned off in testproject, the following occurs:

[INFO] 

[INFO] Building testgroup:testproject:jar:1.0-SNAPSHOT
[INFO] 

[INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository
[INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local 
repository
[INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local 
repository
[INFO] maven-surefire-plugin: resolved to version 2.0-alpha-2 from local 
repository
[INFO] maven-install-plugin: resolved to version 2.0-alpha-2 from local 
repository
[INFO] [resources:resources]
[INFO] testdep: using locally installed snapshot
[INFO] testdep2: using locally installed snapshot
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] [compiler:testCompile]
Compiling 1 source file to c:\Documents and 
Settings\mark\Desktop\testproject\target\test-classes
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Reason: Compilation failure
[INFO] 

[INFO] c:\Documents and 
Settings\mark\Desktop\testproject\src\test\java\Test.java:[3,7]  
TestCase(java.lang.String) in j
unit.framework.TestCase cannot be applied to ()

[INFO] 

[INFO] Total time: 2 seconds
[INFO] Finished at: Sun May 22 11:56:19 BST 2005
[INFO] Final Memory: 2M/12M
[INFO] 


Which could be more telling.  I seem to remember a similar error in a 
completely different project when working with DOM Test Suites 
(http://www.w3.org/DOM/Test/), since their DOM test jars actually contain a 
modified version of junit which a different API.  So I'm not sure if somewhere 
down the dependency graph a DOM test jar is being included which is overriding 
the normal junit one?  A long shot, but thought worth menti

[ANN] Maven Clover Plugin 1.9 released

2005-05-22 Thread Vincent Massol
The maven team is pleased to announce the Maven Clover Plugin 1.9 release! 

http://maven.apache.org/reference/plugins/clover/

The Clover plugin allows measuring test coverage using Clover 
(http://www.cenqua.com/clover). 

Changes in this version include:

  New Features:

o Added a quick usage guide in the documentation. 
o Added a maven.clover.multiprojectproperty that should be set to true in 
  your master project (if you're using a multiproject setup). Setting it to 
  true will make the clovergoal and the maven-clover-pluginreport in your POM 
  execute on all subprojects (they'll call the new clover:multiprojectgoal). 
o New clover:multiprojectgoal to run Clover on a multiproject setup. 
o New clover:mergegoal that creates a new Clover database by merging several 
  other databases specified using the maven.clover.merge.databasesproperty 
  (which defaults to **/clover_coverage.db). 
o Added PDF report generation. Issue: MPCLOVER-31. Thanks to Olivier Jacob. 

  Fixed bugs:

o maven.test.failure.ignoreis now correctly reset when clover:offis called. 
  Thanks to Carlos Sanchez. 
o Fully disable Clover in clover:offso that the Clover compiler adapter 
  delegates straight to the default compiler. Issue: MPCLOVER-32. 
o Fixed issue where clover:reportwas not calling clover:onleading to an error 
  when generating the reports. 
o Fixed issue with Clover task and type definitions not using an explicit 
  classpath which apparently breaks under Maven 1.1. 

  Changes:

o Ensure that clover:init, clover:onand clover:offcan only be called once. 
  For example calling clover:ontwice in a row will execute it only once. 
o The clover:*-reportgoals do not call clover:testanymore. They only 
  generates Clover reports. This is now aligned with the 
  clover:reportbehavior. To run the full thing, execute the clovergoal or add 
  the Clover report to your project's POM. 
o Always generate Clover reports even when there is no coverage data. One of 
  the reason is that Clover generates metrics other than coverage percentage, 
  like LOC and NCLOC which are useful in themselves. Issue: MPCLOVER-35. 
o Upgraded to Clover 1.3.6 Issue: MPCLOVER-36. 

  Removed features:

o Removed the maven.clover.jarproperty that was used to override the default 
  Clover jar. This property was not working (it requires Ant 1.6) and is no 
  needed anymore as Cenqua has cleanly separated the Clover jar from the 
  Clover license. You only need to point maven.clover.license.pathto your 
  license file.  

To automatically install the plugin, type the following on a single line:

maven plugin:download 
  -DgroupId=maven 
  -DartifactId=maven-clover-plugin
  -Dversion=1.9

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-clover-plugin-1.9.jar
 

Have fun!
-The maven team
  

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



results of synchronize

2005-05-22 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
[INFO] Actual number of artifacts rewritten: 0 (0 including POMs).
building file list ... done
last-sync.txt
wrote 635259 bytes  read 42 bytes  3792.84 bytes/sec
total size is 2592057309  speedup is 4080.05
building file list ... done
.index.txt
last-sync.txt
wrote 1091492 bytes  read 64 bytes  1525.58 bytes/sec
total size is 3572433433  speedup is 3272.79

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



svn commit: r171290 - /maven/maven-1/plugins/tags/MAVEN_CLOVER_1_9

2005-05-22 Thread vmassol
Author: vmassol
Date: Sun May 22 01:33:28 2005
New Revision: 171290

URL: http://svn.apache.org/viewcvs?rev=171290&view=rev
Log:
Preparing Clover plugin 1.9 release

Added:
maven/maven-1/plugins/tags/MAVEN_CLOVER_1_9/
  - copied from r171289, maven/maven-1/plugins/trunk/clover/


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



svn commit: r171287 - in /maven/maven-1/plugins/trunk/clover: project.xml xdocs/changes.xml

2005-05-22 Thread vmassol
Author: vmassol
Date: Sun May 22 00:55:10 2005
New Revision: 171287

URL: http://svn.apache.org/viewcvs?rev=171287&view=rev
Log:
[maven-scm-plugin] prepare release 1.9

Modified:
maven/maven-1/plugins/trunk/clover/project.xml
maven/maven-1/plugins/trunk/clover/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/clover/project.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/project.xml?rev=171287&r1=171286&r2=171287&view=diff
==
--- maven/maven-1/plugins/trunk/clover/project.xml (original)
+++ maven/maven-1/plugins/trunk/clover/project.xml Sun May 22 00:55:10 2005
@@ -23,7 +23,7 @@
   3
   maven-clover-plugin
   Maven Clover Plugin
-  1.9-SNAPSHOT
+  1.9
   The Clover plugin allows measuring test coverage using Clover 
(http://www.cenqua.com/clover).
   Produce Clover reports
   http://maven.apache.org/reference/plugins/clover/
@@ -64,6 +64,11 @@
   1.8
   1.8
   MAVEN_CLOVER_1_8
+
+
+  1.9
+  1.9
+  MAVEN_CLOVER_1_9
 
   
   

Modified: maven/maven-1/plugins/trunk/clover/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/xdocs/changes.xml?rev=171287&r1=171286&r2=171287&view=diff
==
--- maven/maven-1/plugins/trunk/clover/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/clover/xdocs/changes.xml Sun May 22 00:55:10 
2005
@@ -25,73 +25,53 @@
 Emmanuel Venisse
   
   
-
+
   
-maven.test.failure.ignore is now correctly reset
-when clover:off is called.
+maven.test.failure.ignoreis now correctly reset when
+clover:offis called.
   
-  
-Fully disable Clover in clover:off so that the Clover
-compiler adapter delegates straight to the default compiler.
-  
-  
-Removed the maven.clover.jar property that was used to 
-override the default Clover jar. This property was not working
-(it requires Ant 1.6) and is no needed anymore as Cenqua has cleanly
-separated the Clover jar from the Clover license. You only need to
-point maven.clover.license.path to your license file.
-  
-  
-Added a quick usage guide in the documentation.
-  
-  
-Fixed issue where clover:report was not calling
-clover:on leading to an error when generating the
-reports.
-  
-  
-Ensure that clover:init, clover:on
-and clover:off can only be called once. For example
-calling clover:on twice in a row will execute it only
-once.
-  
-  
-The clover:*-report goals do not call 
-clover:test anymore. They only generates Clover reports.
-This is now aligned with the clover:report behavior.
-To run the full thing, execute the clover goal or
-add the Clover report to your project's POM.
-  
-  
-Added a maven.clover.multiproject property that should be
-set to true in your master project (if you're using a multiproject 
setup).
-Setting it to true will make the clover goal and the
-maven-clover-plugin report in your POM execute on all
-subprojects (they'll call the new clover:multiproject 
goal).
-  
-  
-New clover:multiproject goal to run Clover on a 
-multiproject setup.
-  
-  
-New clover:merge goal that creates a new Clover
-database by merging several other databases specified using
-the maven.clover.merge.databases property (which
-defaults to **/clover_coverage.db).
-  
-  
-Fixed issue with Clover task and type definitions not using an
-explicit classpath which apparently breaks under Maven 1.1.
-  
-  
-Always generate Clover reports even when there is no coverage data. One
-of the reason is that Clover generates metrics other than coverage 
-percentage, like LOC and NCLOC which are useful in themselves.
+  Fully disable 
Clover in
+clover:offso that the Clover compiler adapter delegates 
straight to the default compiler.
   
-  Upgraded to 
Clover 1.3.6
-  
-Added PDF report generation.
+  Removed the
+maven.clover.jarproperty that was used to override the 
default Clover jar. This property was not working (it requires Ant 1.6) and is 
no needed anymore as Cenqua has cleanly separated the Clover jar from the 
Clover license. You only need to point
+maven.clover.license.pathto your license file.
+  
+  Added a quick usage guide in the 
documentation.
+  Fixed issue where
+clover:reportwas not calling
+clover:onleading to an error when generating the reports.
+  
+  Ensure that
+clover:init,
+clover:onand
+clover:offcan only be called once. For 

Build profile design added to wiki

2005-05-22 Thread Brett Porter
Hi,

I have fleshed out the design. This will be part of the list for next
week, but feedback is welcome.

http://docs.codehaus.org/display/MAVEN/Build+Profiles

I just have some additional material on using different repositories to
add, but will address that tomorrow as I'm off to church for now...

- Brett

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