svn commit: r165265 - /maven/components/trunk/maven-plugins/maven-assembly-plugin/pom.xml

2005-04-29 Thread brett
Author: brett
Date: Thu Apr 28 23:02:57 2005
New Revision: 165265

URL: http://svn.apache.org/viewcvs?rev=165265view=rev
Log:
update for the times

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

Modified: maven/components/trunk/maven-plugins/maven-assembly-plugin/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-assembly-plugin/pom.xml?rev=165265r1=165264r2=165265view=diff
==
--- maven/components/trunk/maven-plugins/maven-assembly-plugin/pom.xml 
(original)
+++ maven/components/trunk/maven-plugins/maven-assembly-plugin/pom.xml Thu Apr 
28 23:02:57 2005
@@ -25,7 +25,7 @@
 plugins
   plugin
 artifactIdmaven-modello-plugin/artifactId
-version1.0-alpha-1/version
+version1.0-alpha-2-SNAPSHOT/version
 configuration
   modelsrc/main/mdo/descriptor.mdo/model
   version1.0.0/version



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



svn commit: r165266 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java

2005-04-29 Thread brett
Author: brett
Date: Thu Apr 28 23:06:14 2005
New Revision: 165266

URL: http://svn.apache.org/viewcvs?rev=165266view=rev
Log:
don't fail if there is a default value and the parameter is set to required.
Reformat according to intelliJ settings.

Modified:

maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java

Modified: 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java?rev=165266r1=165265r2=165266view=diff
==
--- 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
 (original)
+++ 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
 Thu Apr 28 23:06:14 2005
@@ -228,8 +228,8 @@
 if ( StringUtils.isEmpty( pluginConfig.getVersion() ) )
 {
 // The model/project builder should have validated this 
already
-String message = The maven plugin with groupId: ' + 
groupId + ' and artifactId: ' + artifactId
-+ ' which was configured for use in this project does 
not have a version associated with it.;
+String message = The maven plugin with groupId: ' + 
groupId + ' and artifactId: ' + artifactId +
+' which was configured for use in this project does 
not have a version associated with it.;
 throw new IllegalStateException( message );
 }
 else
@@ -247,14 +247,13 @@
 }
 catch ( ArtifactEnabledContainerException e )
 {
-throw new PluginManagerException(
-  Error occurred in the 
artifact container attempting to download plugin 
-  + groupId + : + 
artifactId, e );
+throw new PluginManagerException( Error occurred in the 
artifact container attempting to download plugin  +
+  groupId + : + artifactId, 
e );
 }
 catch ( ArtifactResolutionException e )
 {
-if ( groupId.equals( e.getGroupId() )  artifactId.equals( 
e.getArtifactId() )
- version.equals( e.getVersion() )  
maven-plugin.equals( e.getType() ) )
+if ( groupId.equals( e.getGroupId() )  artifactId.equals( 
e.getArtifactId() ) 
+version.equals( e.getVersion() )  maven-plugin.equals( 
e.getType() ) )
 {
 throw new PluginNotFoundException( groupId, artifactId, 
version, e );
 }
@@ -265,8 +264,8 @@
 }
 catch ( ComponentLookupException e )
 {
-throw new PluginManagerException( Internal configuration 
error while retrieving  + groupId + :
-+ artifactId, e );
+throw new PluginManagerException( Internal configuration 
error while retrieving  + groupId + : +
+  artifactId, e );
 }
 }
 }
@@ -285,8 +284,10 @@
 
 MavenMetadataSource metadataSource = new MavenMetadataSource( 
artifactResolver, mavenProjectBuilder );
 
-( (ArtifactEnabledContainer) container ).addComponent( 
pluginArtifact, artifactResolver, session
-.getPluginRepositories(), session.getLocalRepository(), 
metadataSource, artifactFilter );
+( (ArtifactEnabledContainer) container ).addComponent( 
pluginArtifact, artifactResolver,
+   
session.getPluginRepositories(),
+   
session.getLocalRepository(), metadataSource,
+   
artifactFilter );
 }
 finally
 {
@@ -333,8 +334,8 @@
 artifactResolver = (ArtifactResolver) container.lookup( 
ArtifactResolver.ROLE );
 mavenProjectBuilder = (MavenProjectBuilder) container.lookup( 
MavenProjectBuilder.ROLE );
 
-resolveTransitiveDependencies( session, artifactResolver, 
mavenProjectBuilder, mojoDescriptor
-.getRequiresDependencyResolution() );
+resolveTransitiveDependencies( session, artifactResolver, 
mavenProjectBuilder,
+   
mojoDescriptor.getRequiresDependencyResolution() );
 downloadDependencies( session, artifactResolver );
 }
 catch ( ComponentLookupException e )
@@ -396,23 +397,23 @@
 
 ExpressionEvaluator 

[maven2 build - SUCCESS] Fri Apr 29 02:07:00 EDT 2005

2005-04-29 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050429.020700.tar.gz

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

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



svn commit: r165269 - in /maven/components/trunk/maven-artifact-ant: pom.xml sample.build.xml src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java src/main/java/org/apache/maven/artifact/ant/CustomWagonManager.java src/main/resources/META-INF/plexus/components.xml

2005-04-29 Thread brett
Author: brett
Date: Thu Apr 28 23:49:53 2005
New Revision: 165269

URL: http://svn.apache.org/viewcvs?rev=165269view=rev
Log:
playground for the SCM wagon

Added:

maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/CustomWagonManager.java
   (with props)
Modified:
maven/components/trunk/maven-artifact-ant/pom.xml
maven/components/trunk/maven-artifact-ant/sample.build.xml

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

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

Modified: maven/components/trunk/maven-artifact-ant/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/pom.xml?rev=165269r1=165268r2=165269view=diff
==
--- maven/components/trunk/maven-artifact-ant/pom.xml (original)
+++ maven/components/trunk/maven-artifact-ant/pom.xml Thu Apr 28 23:49:53 2005
@@ -46,6 +46,12 @@
   version1.0-alpha-3-SNAPSHOT/version
   scoperuntime/scope
 /dependency
+dependency
+  groupIdorg.apache.maven.wagon/groupId
+  artifactIdwagon-scm/artifactId
+  version1.0-alpha-3-SNAPSHOT/version
+  !-- temporarily compile time scoperuntime/scope --
+/dependency
   /dependencies
   build
 plugins

Modified: maven/components/trunk/maven-artifact-ant/sample.build.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/sample.build.xml?rev=165269r1=165268r2=165269view=diff
==
--- maven/components/trunk/maven-artifact-ant/sample.build.xml (original)
+++ maven/components/trunk/maven-artifact-ant/sample.build.xml Thu Apr 28 
23:49:53 2005
@@ -37,5 +37,55 @@
   pom refid=maven.project/
 /artifact:deploy
   /target
+
+  target name=test-scm
+mkdir dir=target /
+
+pathconvert targetos=unix property=repo.path.unix
+  map from=c: to=/
+  path
+pathelement location=${basedir}/target/deployment-repo-scm /
+  /path
+/pathconvert
+
+property name=scm.url value=file://${repo.path.unix} /
+
+delete dir=${repo.path.unix} /
+
+exec executable=svnadmin failonerror=true
+  arg line=create ${repo.path.unix} /
+/exec
+
+artifact:localRepository id=local.repository 
location=${basedir}/target/local-repo layout=default/
+
+artifact:remoteRepository id=deploy.repository url=scm:svn:${scm.url} 
layout=default/
+
+artifact:dependencies pathId=dependency.classpath
+  dependency groupId=org.apache.maven.wagon 
artifactId=wagon-provider-test version=1.0-alpha-2/
+  dependency groupId=org.codehaus.modello artifactId=modello-core 
version=1.0-alpha-2-SNAPSHOT/
+  localRepository refid=local.repository/
+/artifact:dependencies
+
+exec executable=svn dir=${basedir}/target/local-repo 
failonerror=true
+  arg line=import -m 'import' ${scm.url} /
+/exec
+
+delete dir=${basedir}/target/local-repo-scm /
+
+artifact:localRepository id=local.repository.scm 
location=${basedir}/target/local-repo-scm layout=default/
+
+artifact:dependencies pathId=dependency.classpath
+  dependency groupId=org.apache.maven.wagon 
artifactId=wagon-provider-test version=1.0-alpha-2/
+  dependency groupId=org.codehaus.modello artifactId=modello-core 
version=1.0-alpha-2-SNAPSHOT/
+  localRepository refid=local.repository.scm/
+  remoteRepository refid=deploy.repository/
+/artifact:dependencies
+
+artifact:deploy file=target/maven-artifact-ant-2.0-SNAPSHOT.jar
+  localRepository refid=local.repository.scm/
+  remoteRepository refid=deploy.repository /
+  pom refid=maven.project/
+/artifact:deploy
+  /target
 /project
 

Modified: 
maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java?rev=165269r1=165268r2=165269view=diff
==
--- 
maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java
 (original)
+++ 
maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java
 Thu Apr 28 23:49:53 2005
@@ -42,6 +42,10 @@
 {
 ArtifactRepositoryLayout repositoryLayout = (ArtifactRepositoryLayout) 
lookup( ArtifactRepositoryLayout.ROLE,

repository.getLayout() );
+
+CustomWagonManager manager = (CustomWagonManager) lookup( 
WagonManager.ROLE );
+manager.setLocalRepository( repository.getLocation() );
+
 return new ArtifactRepository( local, file:// + 

Re: [jira] Commented: (MPXDOC-128) Internationalized Websites

2005-04-29 Thread Valerie Nyre
Hello again.


Sorry about my last complaint - 
your quick replies are revitalizing


I don't wnat to make too much noise, but there is one uncertainty... 



Maven 2 and I18N :

Will Maven2 follow the same approach as suggested in MPXDOC-128 (using
the FMT-Taglibrary...)? 

This implies changes in jelly script of all xdocs-dependent plugins...
Is this planned or even in the works ? 




Thanks again

Valerie Nyre






Arnaud HERITIER wrote:
 
 I'll try to publish a SNAPSHOT with the multi-locales xdoc plugin this WE.
 
 Arnaud
 
 On 4/28/05, Vincent Siveton [EMAIL PROTECTED] wrote:
  Hi again,
 
   1.
   Will Maven 2 follow an approach to I18N - will MPXDOC-128 be the solution 
   ?


 
  AFAIK M2 will provide i18n directly in the POM.
  The site plugin will generate the website and the reports in different
  languages.
 

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



Re: reporting API

2005-04-29 Thread Arnaud HERITIER
 
  Emmanuel, did I miss anything?
 
 We still need to define the process for internaltionalize report.

Yes it's an important feature that we must provide as soon as possible.

It's too complicated to add it after (see actual mails on MPXDOC-128)

Arnaud

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



I18N was : Re: reporting API

2005-04-29 Thread Nicolas Chalumeau
Hi all

As I am a french guy I want to have more information about what is
planned about it.

On 4/29/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
  
   Emmanuel, did I miss anything?
 
  We still need to define the process for internaltionalize report.
 
 Yes it's an important feature that we must provide as soon as possible.
 
 It's too complicated to add it after (see actual mails on MPXDOC-128)

MPXDOC-128 seems to be a good solution for me for the xdoc part. As I
know m2 support other doc format (apt...) it could be to implement a
same thing in there.

An other thing,  the error related to exception are in english. I18N
could be good in it too (as most of my coworker don't have a good
english level they don't known what happen even if the message was
explicite).

I see a problem in this kind of stuff : it is the synchronisation
between the differante translation but it is more a doc writer person
problems. It don't know how it will or not be possible to warn him for
untranslated doc/file or not in the same version

Nicolas,

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


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



results of synchronize

2005-04-29 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
mypath: /home/projects/maven/repository-tools/repoclean/repoclean.sh
Setting mydir based on mypath...
mydir: /home/projects/maven/repository-tools/repoclean
[INFO] Creating reports directory: 
'/home/projects/maven/repository-staging/to-ibiblio/reports/repoclean/29-Apr-2005_04.02.53'
[INFO] Source repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven'
[INFO] Target repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven2'
[INFO] Discovering artifacts.
[WARNING] Cannot parse version from artifact path: 'activemq/jars/xmltypes.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[xmltypes]'
[WARNING] Cannot parse version from artifact path: 
'avalon-repository/propertiess/repository.properties'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[repository]'
[WARNING] Cannot parse version from artifact path: 'crossdb/jars/crossdb.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[crossdb]'
[WARNING] Cannot parse version from artifact path: 
'drools/distributions/distributions.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[distributions]'
[WARNING] Cannot parse version from artifact path: 'javacc/jars/JavaCC.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[JavaCC]'
[WARNING] Cannot parse version from artifact path: 'jdring/jars/jdring.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[jdring]'
[WARNING] Cannot parse version from artifact path: 'maven/jars/maven.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[maven]'
[WARNING] Cannot parse version from artifact path: 'picocontainer/poms/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.01.000alpha.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.02.000beta.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'tomcat/jars/tomcat3.2.1.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[tomcat3.2.1]'
[WARNING] Cannot parse version from artifact path: 'trygvis/1/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 'xdoclet-plugins/poms/xx'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[INFO] Rewriting POMs and artifact files.
[INFO] Rewriting up to 7842 artifacts (Should be 15684 rewrites including POMs).
[INFO] Actual number of artifacts rewritten: 1 (2 including POMs).
[WARNING] Warning encountered while rewriting one or more artifacts from source 
repository to target repository.
Copying:

./org/apache/maven/wagon/wagon/1.0-alpha-3-SNAPSHOT/wagon-1.0-alpha-3-20050429.051847-9.pom
  -- org/apache/maven/wagon/wagon-1.0-alpha-3-20050429.051847-9.pom
  (with sha1)
  (with md5)
==
Copying:

./org/apache/maven/wagon/wagon-providers/1.0-alpha-3-SNAPSHOT/wagon-providers-1.0-alpha-3-20050429.051847-5.pom
  -- 
org/apache/maven/wagon/wagon-providers-1.0-alpha-3-20050429.051847-5.pom
  (with sha1)
  (with md5)
==
building file list ... done
activesoap/jars/
activesoap/jars/activesoap-1.0-SNAPSHOT.jar
last-sync.txt
wrote 633705 bytes  read 670 bytes  10485.54 bytes/sec
total size is 2533344453  speedup is 3993.45
building file list ... done
.index.txt
activesoap/activesoap/1.0-SNAPSHOT/activesoap-1.0-SNAPSHOT.jar
activesoap/activesoap/1.0-SNAPSHOT/activesoap-1.0-SNAPSHOT.jar.md5
activesoap/activesoap/1.0-SNAPSHOT/activesoap-1.0-SNAPSHOT.jar.sha1
activesoap/activesoap/1.0-SNAPSHOT/activesoap-1.0-SNAPSHOT.pom

[jira] Created: (MAVEN-1600) Bootstrap : ArtifactDownloader doesn't use proxy settings

2005-04-29 Thread Arnaud HERITIER (JIRA)
Bootstrap : ArtifactDownloader doesn't use proxy settings
-

 Key: MAVEN-1600
 URL: http://jira.codehaus.org/browse/MAVEN-1600
 Project: maven
Type: Bug
  Components: core  
Versions: 1.1-beta-1
 Environment: Maven 1.1 Trunk
Reporter: Arnaud HERITIER
 Fix For: 1.1-beta-1


Proxy settings in BootstrapTask aren't passed to the ArtifactDownloader.

-- 
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] Updated: (MAVEN-1600) Bootstrap : ArtifactDownloader doesn't use proxy settings

2005-04-29 Thread Arnaud HERITIER (JIRA)
 [ http://jira.codehaus.org/browse/MAVEN-1600?page=all ]

Arnaud HERITIER updated MAVEN-1600:
---

Attachment: MAVEN-1600.patch

Fix for this problem

 Bootstrap : ArtifactDownloader doesn't use proxy settings
 -

  Key: MAVEN-1600
  URL: http://jira.codehaus.org/browse/MAVEN-1600
  Project: maven
 Type: Bug
   Components: core
 Versions: 1.1-beta-1
  Environment: Maven 1.1 Trunk
 Reporter: Arnaud HERITIER
  Fix For: 1.1-beta-1
  Attachments: MAVEN-1600.patch


 Proxy settings in BootstrapTask aren't passed to the ArtifactDownloader.

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


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



[jira] Reopened: (MPDASHBOARD-22) Add Total to dashboard report

2005-04-29 Thread Morten Kristiansen (JIRA)
 [ http://jira.codehaus.org/browse/MPDASHBOARD-22?page=all ]
 
Morten Kristiansen reopened MPDASHBOARD-22:
---


If you replace this text in the modified dashboard.jsl section i posted, we 
will get '0' instead of 'NaN' for % columns:

x:expr select=sum(//[EMAIL 
PROTECTED]'${aggregatorName.value}'][not(text()='-') and not(contains(text(), 
'%'))][text()])/

 Add Total to dashboard report
 ---

  Key: MPDASHBOARD-22
  URL: http://jira.codehaus.org/browse/MPDASHBOARD-22
  Project: maven-dashboard-plugin
 Type: New Feature
 Versions: 1.7
 Reporter: Morten Kristiansen
 Assignee: Vincent Massol
 Priority: Trivial
  Fix For: 1.8
  Attachments: dashboard-total.png


 Modify jsl to include a Total row at bottom of table. See attached image. 
 My code isn't 100%, but as you see it will calculate values correct even if 
 there are some - rows. For rows like xx %, NaN will show up.
 Jsl code is quite straight forward (could propably be re-written; my xpath 
 knowledge isn't _that_ good):
 tr
   tdbTotal/b/td
   x:forEach var=aggregatorName select=project[1]/aggregator/@name
   td
 b
   x:expr select=sum(//[EMAIL 
 PROTECTED]'${aggregatorName.value}'][not(text()='-')][text()])/
 /b
   /td
   /x:forEach
 /tr
 Or do you want a scm diff on this?

-- 
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: (MPDASHBOARD-22) Add Total to dashboard report

2005-04-29 Thread Vincent Massol (JIRA)
 [ 
http://jira.codehaus.org/browse/MPDASHBOARD-22?page=comments#action_38320 ]
 
Vincent Massol commented on MPDASHBOARD-22:
---

Thanks Morten. Actually, I prerfer NaN over 0 as it's not a number! ;-)

That said, the best would really be N/A instead of NaN.


 Add Total to dashboard report
 ---

  Key: MPDASHBOARD-22
  URL: http://jira.codehaus.org/browse/MPDASHBOARD-22
  Project: maven-dashboard-plugin
 Type: New Feature
 Versions: 1.7
 Reporter: Morten Kristiansen
 Assignee: Vincent Massol
 Priority: Trivial
  Fix For: 1.8
  Attachments: dashboard-total.png


 Modify jsl to include a Total row at bottom of table. See attached image. 
 My code isn't 100%, but as you see it will calculate values correct even if 
 there are some - rows. For rows like xx %, NaN will show up.
 Jsl code is quite straight forward (could propably be re-written; my xpath 
 knowledge isn't _that_ good):
 tr
   tdbTotal/b/td
   x:forEach var=aggregatorName select=project[1]/aggregator/@name
   td
 b
   x:expr select=sum(//[EMAIL 
 PROTECTED]'${aggregatorName.value}'][not(text()='-')][text()])/
 /b
   /td
   /x:forEach
 /tr
 Or do you want a scm diff on this?

-- 
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: (MAVEN-1601) XSLT transformations fail with JDK 1.5

2005-04-29 Thread Guy Rixon (JIRA)
XSLT transformations fail with JDK 1.5
--

 Key: MAVEN-1601
 URL: http://jira.codehaus.org/browse/MAVEN-1601
 Project: maven
Type: Bug
Versions: 1.0.2
 Environment: Sun JDK 1.5.0_02. Windows XP SP2
Reporter: Guy Rixon


I work with projects that invoke XSLT from maven.xml. To make these work with 
Sun JDK 1.4.x, I have to set, inside maven.xml, the system property that 
specifies the XSLT transformer-factory class from Xalan: this works. To work 
with Sun JDK 1.5.x, I have to set the property to point to a different class, 
not in the org.apache tree, since Sun ship a different XSLT implementation. 
When I do this, Maven fails due to a dependency on a class in Xalan.

I can work round this by putting the Xalan jar into my Maven installation (i.e. 
in %MAVEN_HOME$\lib), but my co-workers don't want to modify their copies of 
Maven.

Can Maven please be made independent of the XSLT/JAXP implementation? 

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

2005-04-29 Thread trygvis
Author: trygvis
Date: Fri Apr 29 04:30:03 2005
New Revision: 165295

URL: http://svn.apache.org/viewcvs?rev=165295view=rev
Log:
o Making sure that non-existing source roots aren't scanned for sources.

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=165295r1=165294r2=165295view=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
 Fri Apr 29 04:30:03 2005
@@ -189,6 +189,11 @@
 
 File rootFile = new File( sourceRoot );
 
+if ( !rootFile.isDirectory() )
+{
+continue;
+}
+
 try
 {
 staleSources.addAll( scanner.getIncludedSources( rootFile, 
outDir ) );



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



[jira] Commented: (MPDASHBOARD-22) Add Total to dashboard report

2005-04-29 Thread Morten Kristiansen (JIRA)
 [ 
http://jira.codehaus.org/browse/MPDASHBOARD-22?page=comments#action_38322 ]
 
Morten Kristiansen commented on MPDASHBOARD-22:
---

I see your point. What we could do is to use the old x:expr select.. but 
store the select with a x:set var=theTotal select=.. and use j:if.. to 
set theTotal to N/A if theTotal is NaN.

 Add Total to dashboard report
 ---

  Key: MPDASHBOARD-22
  URL: http://jira.codehaus.org/browse/MPDASHBOARD-22
  Project: maven-dashboard-plugin
 Type: New Feature
 Versions: 1.7
 Reporter: Morten Kristiansen
 Assignee: Vincent Massol
 Priority: Trivial
  Fix For: 1.8
  Attachments: dashboard-total.png


 Modify jsl to include a Total row at bottom of table. See attached image. 
 My code isn't 100%, but as you see it will calculate values correct even if 
 there are some - rows. For rows like xx %, NaN will show up.
 Jsl code is quite straight forward (could propably be re-written; my xpath 
 knowledge isn't _that_ good):
 tr
   tdbTotal/b/td
   x:forEach var=aggregatorName select=project[1]/aggregator/@name
   td
 b
   x:expr select=sum(//[EMAIL 
 PROTECTED]'${aggregatorName.value}'][not(text()='-')][text()])/
 /b
   /td
   /x:forEach
 /tr
 Or do you want a scm diff on this?

-- 
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] Fri Apr 29 08:07:00 EDT 2005

2005-04-29 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050429.080700.tar.gz

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

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



Re: I18N was : Re: reporting API

2005-04-29 Thread Emmanuel Venisse
 Hi all

 As I am a french guy I want to have more information about what is
 planned about it.

It's planned between alpha-2 and final release.


 On 4/29/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
   
Emmanuel, did I miss anything?
  
   We still need to define the process for internaltionalize report.
 
  Yes it's an important feature that we must provide as soon as possible.
 
  It's too complicated to add it after (see actual mails on MPXDOC-128)

 MPXDOC-128 seems to be a good solution for me for the xdoc part. As I
 know m2 support other doc format (apt...) it could be to implement a
 same thing in there.

 An other thing,  the error related to exception are in english. I18N
 could be good in it too (as most of my coworker don't have a good
 english level they don't known what happen even if the message was
 explicite).

All messages in m2 will be i18n. Brett, do you have planned it?


 I see a problem in this kind of stuff : it is the synchronisation
 between the differante translation but it is more a doc writer person
 problems. It don't know how it will or not be possible to warn him for
 untranslated doc/file or not in the same version

Yes, it's a writer person problem. It isn't possible to know if docs are in
the same version or not.
For untranslated doc, I think it will be possible to warn if a doc is
missing, but I'm not sure it's a good idea because translator doesn't write
doc with the same speed than authors. We can perhaps use a parameter that
check it.

Emmanuel


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



Re: reporting API

2005-04-29 Thread Arnaud HERITIER
On 4/29/05, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Emmanuel, did I miss anything?
  
   We still need to define the process for internaltionalize report.
 
  Yes it's an important feature that we must provide as soon as possible.
 
 It's planned before the final release.

It's the more important ;-)

Arnaud

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



Re: I18N was : Re: reporting API

2005-04-29 Thread Nicolas Chalumeau
Thanks for the responce Emmanuel

On 4/29/05, Emmanuel Venisse [EMAIL PROTECTED] wrote:
  Hi all
 
  As I am a french guy I want to have more information about what is
  planned about it.
 
 It's planned between alpha-2 and final release.
 

Cool

 
  On 4/29/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:

 Emmanuel, did I miss anything?
   
We still need to define the process for internaltionalize report.
  
   Yes it's an important feature that we must provide as soon as possible.
  
   It's too complicated to add it after (see actual mails on MPXDOC-128)
 
  MPXDOC-128 seems to be a good solution for me for the xdoc part. As I
  know m2 support other doc format (apt...) it could be to implement a
  same thing in there.
 
  An other thing,  the error related to exception are in english. I18N
  could be good in it too (as most of my coworker don't have a good
  english level they don't known what happen even if the message was
  explicite).
 
 All messages in m2 will be i18n. Brett, do you have planned it?
 

Let me know the issue number to follow its evolution if it is the case
: I am curious to see how you will implement this (common-resource ?
).

Nicolas

 
  I see a problem in this kind of stuff : it is the synchronisation
  between the differante translation but it is more a doc writer person
  problems. It don't know how it will or not be possible to warn him for
  untranslated doc/file or not in the same version
 
 Yes, it's a writer person problem. It isn't possible to know if docs are in
 the same version or not.
 For untranslated doc, I think it will be possible to warn if a doc is
 missing, but I'm not sure it's a good idea because translator doesn't write
 doc with the same speed than authors. We can perhaps use a parameter that
 check it.
 
 Emmanuel
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



[jira] Commented: (MPDASHBOARD-23) Dashboard history

2005-04-29 Thread Vincent Massol (JIRA)
 [ 
http://jira.codehaus.org/browse/MPDASHBOARD-23?page=comments#action_38327 ]
 
Vincent Massol commented on MPDASHBOARD-23:
---

Hi Morten,

That's very cool. Actually I know that Philippe Kernevez (and some other guys 
from Octo Technology) have also created a dashboard history plugin. You're both 
using an XML file to store history data. However, whereas you've providing a 
report per aggregator, their version is currently generating a report per 
aggregator and per project. I think both kinds of reports are useful.

That said, I do believe it would be better to keep the history reporting 
separate from the main dashboard plugin. I guess we could check-in this 
dashboard-history plugin into the Maven SVN but I'd prefer not to do that right 
now. The reason is that each plugin that is checked in need a Maven committer 
to support and I'm currently already supporting too many plugins... ;-). Here's 
what I propose:

I put you in contact with Philippe Kernevez and you both create a 
dashboard-history plugin on the SF project for Maven projects 
(http://sourceforge.net/projects/maven-plugins). It's easy to become a 
developer of this project whereas it's much harder to become an Apache 
committer.

What do you think?

Thanks
-Vincent

 Dashboard history
 -

  Key: MPDASHBOARD-23
  URL: http://jira.codehaus.org/browse/MPDASHBOARD-23
  Project: maven-dashboard-plugin
 Type: New Feature
 Versions: 1.7
 Reporter: Morten Kristiansen
 Priority: Trivial



 We have created functionallity for dashboard history graphs. As for now, this 
 is implemented in a maven-dashboard-ext-plugin, which only have a postGoal to 
 dashboard:xdocs which:
 - Collects data from dashboard-report.xml file and adds it to a history xml 
 file.
 - Images are plotted (using JFreeChart, JCommon and DOM4J).
 - XML files are added to generated-xdocs with links to plotted images
 - Additional code in dashboard.jsl creates links to plotted images page on 
 aggregator labels.
 I'm currently working on a sample project so you can have a look at it. The 
 question is; can it be bundled with the current Dashboard plugin with 
 reference to JFreeChart etc (licenses and so on...)?

-- 
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: I18N was : Re: reporting API

2005-04-29 Thread Emmanuel Venisse
   An other thing,  the error related to exception are in english. I18N
   could be good in it too (as most of my coworker don't have a good
   english level they don't known what happen even if the message was
   explicite).
  
  All messages in m2 will be i18n. Brett, do you have planned it?
  
 
 Let me know the issue number to follow its evolution if it is the case
 : I am curious to see how you will implement this (common-resource ?
 ).

http://jira.codehaus.org/browse/MNG-330


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



RE: VSS SCM Support

2005-04-29 Thread Poppe, Troy

That'd be me! lowers head

I started implementing a couple of the VSS commands, but my workload increased 
to
the point that I couldn't contribute the time to finishing it, and the state 
that
it is in just isn't up to par.

I'd be happy to contribute some more time to trying to get that plug-in 
finished,
it would be a great asset to my work, let alone the whole community of 
developers
suffering with, er using, VSS.

Let me look at my code base at this point, and see what I can contribute to the
sandbox, and see if there's some way to get it at least PARTLY functional.

Sorry for dropping the ball folks.

T

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 28, 2005 8:03 PM
To: Maven Developers List
Subject: Re: VSS SCM Support


Somebody (not a Maven committer) was working on it, but they seem to have
discontinued the effort. I could try and get in touch with them to see if they
have anything to start with.

All SCM implementations would be done in the Maven SCM subproject, eg:
http://svn.apache.org/viewcvs.cgi/maven/scm/trunk/maven-scm-providers/

We'd certainly appreciate the help if someone would like to implement a VSS one.
It could then be incorporated into the Maven 1.x plugin, Maven 2 and Continuum.

As far as accessing SVN - it was down for about 45 minutes, up to about 20
minutes before I received this mail, so I assume that was the problem. Should 
all
be fine now.

- Brett

Bryce Fischer wrote:

I was curious what the status of VSS support is?

I'd be willing to chip in if someone could point me to an example or 
current source of VSS support.

Incidentally, I seem to be unable to access the SVN repository for 
Maven: http://svn.apache.org/repos/asf/maven/maven-1/core/trunk

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


  



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



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



[jira] Created: (MPSCM-51) maven scm:checkout not checking out files from subversion to the right package on Linux

2005-04-29 Thread Raja Ravipati (JIRA)
maven scm:checkout not checking out files from subversion to the right package 
on Linux
---

 Key: MPSCM-51
 URL: http://jira.codehaus.org/browse/MPSCM-51
 Project: maven-scm-plugin
Type: Bug
Versions: 1.5
 Environment: Suse Linux 9.2
Reporter: Raja Ravipati


Assume a subversion trunk having packages A, B and C
running maven -Dmaven.scm.url=http://xxx/yyy/trunk 
-Dmaven.scm.checkout.dir=/cruise/checkout/MY_PROJECT creates a folder
trunk under MY_PROJECT and adds A, B and C to trunk.
When run on windows A, B and C are added directly under MY_PROJECT

-- 
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: (MPSCM-51) maven scm:checkout not checking out files from subversion to the right package on Linux

2005-04-29 Thread Raja Ravipati (JIRA)
 [ http://jira.codehaus.org/browse/MPSCM-51?page=comments#action_38337 ]
 
Raja Ravipati commented on MPSCM-51:


adding two forward slashes to the end of the url fixes this issue

 maven scm:checkout not checking out files from subversion to the right 
 package on Linux
 ---

  Key: MPSCM-51
  URL: http://jira.codehaus.org/browse/MPSCM-51
  Project: maven-scm-plugin
 Type: Bug
 Versions: 1.5
  Environment: Suse Linux 9.2
 Reporter: Raja Ravipati



 Assume a subversion trunk having packages A, B and C
 running maven -Dmaven.scm.url=http://xxx/yyy/trunk 
 -Dmaven.scm.checkout.dir=/cruise/checkout/MY_PROJECT creates a folder
 trunk under MY_PROJECT and adds A, B and C to trunk.
 When run on windows A, B and C are added directly under MY_PROJECT

-- 
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-04-29 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
mypath: /home/projects/maven/repository-tools/repoclean/repoclean.sh
Setting mydir based on mypath...
mydir: /home/projects/maven/repository-tools/repoclean
[INFO] Creating reports directory: 
'/home/projects/maven/repository-staging/to-ibiblio/reports/repoclean/29-Apr-2005_04.01.52'
[INFO] Source repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven'
[INFO] Target repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven2'
[INFO] Discovering artifacts.
[WARNING] Cannot parse version from artifact path: 'activemq/jars/xmltypes.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[xmltypes]'
[WARNING] Cannot parse version from artifact path: 
'avalon-repository/propertiess/repository.properties'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[repository]'
[WARNING] Cannot parse version from artifact path: 'crossdb/jars/crossdb.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[crossdb]'
[WARNING] Cannot parse version from artifact path: 
'drools/distributions/distributions.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[distributions]'
[WARNING] Cannot parse version from artifact path: 'javacc/jars/JavaCC.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[JavaCC]'
[WARNING] Cannot parse version from artifact path: 'jdring/jars/jdring.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[jdring]'
[WARNING] Cannot parse version from artifact path: 'maven/jars/maven.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[maven]'
[WARNING] Cannot parse version from artifact path: 'picocontainer/poms/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.01.000alpha.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.02.000beta.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'tomcat/jars/tomcat3.2.1.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[tomcat3.2.1]'
[WARNING] Cannot parse version from artifact path: 'trygvis/1/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 'xdoclet-plugins/poms/xx'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[INFO] Rewriting POMs and artifact files.
[INFO] Rewriting up to 7845 artifacts (Should be 15690 rewrites including POMs).
[INFO] Actual number of artifacts rewritten: 3 (6 including POMs).
[WARNING] Warning encountered while rewriting one or more artifacts from source 
repository to target repository.
building file list ... done
boo/distributions/
last-sync.txt
wrote 622865 bytes  read 42 bytes  3001.96 bytes/sec
total size is 2533345573  speedup is 4066.97
building file list ... done
.index.txt
boo/boo/
boo/boo/0.5.3.1544/
boo/boo/0.5.3.1544/boo-0.5.3.1544-bin.zip
boo/boo/0.5.3.1544/boo-0.5.3.1544-bin.zip.md5
boo/boo/0.5.3.1544/boo-0.5.3.1544-bin.zip.sha1
boo/boo/0.5.3.1544/boo-0.5.3.1544-src.zip
boo/boo/0.5.3.1544/boo-0.5.3.1544-src.zip.md5
boo/boo/0.5.3.1544/boo-0.5.3.1544-src.zip.sha1
boo/boo/0.5.3.1544/boo-0.5.3.1544.pom
boo/boo/0.5.3.1544/boo-0.5.3.1544.pom.md5
boo/boo/0.5.3.1544/boo-0.5.3.1544.pom.sha1
boo/boo/0.5.3.1544/boo-0.5.3.1544.tar.gz
boo/boo/0.5.3.1544/boo-0.5.3.1544.tar.gz.md5
boo/boo/0.5.3.1544/boo-0.5.3.1544.tar.gz.sha1
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-20050429.173910-2.jar
org/apache/maven/plugins/maven-plexus-plugin/1.0-SNAPSHOT/maven-plexus-plugin-1.0-20050429.173910-2.jar.md5

[jira] Commented: (MPWAR-30) [PATCH] Option to pack project classes inside a JAR into WEB-INF/lib

2005-04-29 Thread fabrizio giustina (JIRA)
 [ http://jira.codehaus.org/browse/MPWAR-30?page=comments#action_38343 ]
 
fabrizio giustina commented on MPWAR-30:


Hi Felipe,
the jar:jar goal can be added as a prereqs for a specific goal, only used when 
maven.war.usesJar is set. Since jar will only be called if this property is set 
it will not executed if the project doesn't have any java file.

This is the goal using a prereqs:

j:choose
  j:when test=${!usesJar}
util:available file=${maven.build.dest}
ant:copy todir=${webapp.build.classes}
ant:fileset dir=${maven.build.dest}
includes=${maven.war.classes.includes}
excludes=${maven.war.classes.excludes}
/ant:fileset
/ant:copy
/util:available
  /j:when
  j:otherwise
attainGoal name=war:webapp-using-jar/
  /j:otherwise
/j:choose
  /goal

  goal name=war:webapp-using-jar 
prereqs=war:war-resources,test:test,jar:jar
description=Internal goal called when maven.war.usesJar is set
ant:copy todir=${webapp.build.lib} 
file=${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar/
  /goal

 [PATCH] Option to pack project classes inside a JAR into WEB-INF/lib
 

  Key: MPWAR-30
  URL: http://jira.codehaus.org/browse/MPWAR-30
  Project: maven-war-plugin
 Type: New Feature
 Versions: 1.7
 Reporter: Felipe Leme
 Assignee: Felipe Leme
  Attachments: maven_war_usesJar.patch

 Original Estimate: 1 hour
 Remaining: 1 hour

 The way the plugin works now, the project classes are packed under 
 WEB-INF/classes. It would be nice if the plugin used the project's JAR 
 instead, packing it under WEB-INF/lib. That feature would be really useful 
 when the war is a secondary package for the project (for instance, when the 
 main artifact is a JAR containg a taglib).
 I'm providing a patch for this change - if there is interest in applying it, 
 I can write some test cases too.

-- 
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] Updated: (MPHIBERNATE-14) Support Hibernate 3.0

2005-04-29 Thread Anthony Vito (JIRA)
 [ http://jira.codehaus.org/browse/MPHIBERNATE-14?page=all ]

Anthony Vito updated MPHIBERNATE-14:


Attachment: version2and3comat.diff

This patch provides full seamless compatibility between both 2.x and 3.x 
versions of Hibernate. After this patch the plugin no longer has a hibernate 
dependency. The user of the plugin chooses the version that will be supported 
by placing the hibernate dependency in their project.xml file. The plugin 
detects the hibernate version and acts accordingly. It also fails imediately if 
hibernate is not found as a dependency. The one extra class I created, 
HibernateVersions, is a reflective bridge to detect the correct classes and 
deal with the minor API changes between the versions. After adjusting the 
dependencies of the simpleTest it passed fine. I also added a new test 
simplev3Test, just a copy with everything updated to use version 3.0.1. It 
passes just fine also.(JTA is needed locally) The codeGeneration test always 
failed for me, even before I began working. I excluded it from the reactor in 
the plugin-test directory. I believe the codeGeneration in 2.X will work just 
fine. I think the test is not set up correctly. -Anthony Vito

 Support Hibernate 3.0
 -

  Key: MPHIBERNATE-14
  URL: http://jira.codehaus.org/browse/MPHIBERNATE-14
  Project: maven-hibernate-plugin
 Type: Improvement
 Versions: 1.3
  Environment: N/A
 Reporter: Mark Hobson
  Attachments: hibernate3support.diff, version2and3comat.diff


 In Hibernate 3.0, currently alpha, the class structure has changed from 
 net.sf.hibernate to org.hibernate.  This means that when using this plugin 
 the user has to change the dialect class in hibernate.cfg.xml or 
 hibernate.properties before  after a hibernate:schema-export.
 To upgrade this plugin to support 3.0 is very straightforward - just change 
 the dependency, reorganise the imports  fix line 178 of SchemaBeanBase to 
 support the new API method Configuration.addJar(File).  There's also the 3.0 
 DTD's to add support for, but nothing major to get things working.
 Obviously these changes will break 2.1 users, so is it worth maintaining 
 parallel releases for both 2.1 and 3.0 Hibernate users?

-- 
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: r165364 - /maven/components/trunk/maven-plugins/maven-plugin-plugin/pom.xml

2005-04-29 Thread jdcasey
Author: jdcasey
Date: Fri Apr 29 17:05:36 2005
New Revision: 165364

URL: http://svn.apache.org/viewcvs?rev=165364view=rev
Log:
Commenting out marmalade support until I get it converted to the new mojo api.

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

Modified: maven/components/trunk/maven-plugins/maven-plugin-plugin/pom.xml
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-plugin-plugin/pom.xml?rev=165364r1=165363r2=165364view=diff
==
--- maven/components/trunk/maven-plugins/maven-plugin-plugin/pom.xml (original)
+++ maven/components/trunk/maven-plugins/maven-plugin-plugin/pom.xml Fri Apr 29 
17:05:36 2005
@@ -22,11 +22,11 @@
   version2.0-SNAPSHOT/version
   scoperuntime/scope
 /dependency
-dependency
+!-- dependency
   groupIdorg.apache.maven/groupId
   artifactIdmaven-plugin-tools-marmalade/artifactId
   version2.0-SNAPSHOT/version
   scoperuntime/scope
-/dependency
+/dependency --
   /dependencies
 /model



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



[maven2 build - SUCCESS] Fri Apr 29 20:07:00 EDT 2005

2005-04-29 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050429.200700.tar.gz

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

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



results of synchronize

2005-04-29 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
mypath: /home/projects/maven/repository-tools/repoclean/repoclean.sh
Setting mydir based on mypath...
mydir: /home/projects/maven/repository-tools/repoclean
[INFO] Creating reports directory: 
'/home/projects/maven/repository-staging/to-ibiblio/reports/repoclean/29-Apr-2005_08.00.36'
[INFO] Source repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven'
[INFO] Target repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven2'
[INFO] Discovering artifacts.
[WARNING] Cannot parse version from artifact path: 'activemq/jars/xmltypes.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[xmltypes]'
[WARNING] Cannot parse version from artifact path: 
'avalon-repository/propertiess/repository.properties'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[repository]'
[WARNING] Cannot parse version from artifact path: 'crossdb/jars/crossdb.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[crossdb]'
[WARNING] Cannot parse version from artifact path: 
'drools/distributions/distributions.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[distributions]'
[WARNING] Cannot parse version from artifact path: 'javacc/jars/JavaCC.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[JavaCC]'
[WARNING] Cannot parse version from artifact path: 'jdring/jars/jdring.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[jdring]'
[WARNING] Cannot parse version from artifact path: 'maven/jars/maven.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[maven]'
[WARNING] Cannot parse version from artifact path: 'picocontainer/poms/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.01.000alpha.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.02.000beta.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'tomcat/jars/tomcat3.2.1.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[tomcat3.2.1]'
[WARNING] Cannot parse version from artifact path: 'trygvis/1/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 'xdoclet-plugins/poms/xx'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[INFO] Rewriting POMs and artifact files.
[INFO] Rewriting up to 7846 artifacts (Should be 15692 rewrites including POMs).
[INFO] Actual number of artifacts rewritten: 1 (2 including POMs).
[WARNING] Warning encountered while rewriting one or more artifacts from source 
repository to target repository.
building file list ... done
last-sync.txt
lingo/
lingo/jars/
lingo/jars/lingo-1.0-SNAPSHOT.jar
lingo/poms/
lingo/poms/lingo-1.0-SNAPSHOT.pom
wrote 673301 bytes  read 74 bytes  8364.91 bytes/sec
total size is 2533395826  speedup is 3762.24
building file list ... done
./
.index.txt
last-sync.txt
lingo/
lingo/lingo/
lingo/lingo/1.0-SNAPSHOT/
lingo/lingo/1.0-SNAPSHOT/lingo-1.0-SNAPSHOT.jar
lingo/lingo/1.0-SNAPSHOT/lingo-1.0-SNAPSHOT.jar.md5
lingo/lingo/1.0-SNAPSHOT/lingo-1.0-SNAPSHOT.jar.sha1
lingo/lingo/1.0-SNAPSHOT/lingo-1.0-SNAPSHOT.pom
lingo/lingo/1.0-SNAPSHOT/lingo-1.0-SNAPSHOT.pom.md5
lingo/lingo/1.0-SNAPSHOT/lingo-1.0-SNAPSHOT.pom.sha1
wrote 1074666 bytes  read 2890 bytes  4842.95 bytes/sec
total size is 3385615624  speedup is 3141.94

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



results of synchronize

2005-04-29 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
mypath: /home/projects/maven/repository-tools/repoclean/repoclean.sh
Setting mydir based on mypath...
mydir: /home/projects/maven/repository-tools/repoclean
[INFO] Creating reports directory: 
'/home/projects/maven/repository-staging/to-ibiblio/reports/repoclean/29-Apr-2005_09.04.31'
[INFO] Source repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven'
[INFO] Target repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven2'
[INFO] Discovering artifacts.
[WARNING] Cannot parse version from artifact path: 'activemq/jars/xmltypes.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[xmltypes]'
[WARNING] Cannot parse version from artifact path: 
'avalon-repository/propertiess/repository.properties'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[repository]'
[WARNING] Cannot parse version from artifact path: 'crossdb/jars/crossdb.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[crossdb]'
[WARNING] Cannot parse version from artifact path: 
'drools/distributions/distributions.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[distributions]'
[WARNING] Cannot parse version from artifact path: 'javacc/jars/JavaCC.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[JavaCC]'
[WARNING] Cannot parse version from artifact path: 'jdring/jars/jdring.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[jdring]'
[WARNING] Cannot parse version from artifact path: 'maven/jars/maven.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[maven]'
[WARNING] Cannot parse version from artifact path: 'picocontainer/poms/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.01.000alpha.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.02.000beta.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'tomcat/jars/tomcat3.2.1.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[tomcat3.2.1]'
[WARNING] Cannot parse version from artifact path: 'trygvis/1/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 'xdoclet-plugins/poms/xx'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[INFO] Rewriting POMs and artifact files.
[INFO] Rewriting up to 7846 artifacts (Should be 15692 rewrites including POMs).
[INFO] Actual number of artifacts rewritten: 0 (0 including POMs).
[WARNING] Warning encountered while rewriting one or more artifacts from source 
repository to target repository.
building file list ... done
last-sync.txt
velocity/poms/
velocity/poms/velocity-1.4.pom
wrote 624768 bytes  read 94 bytes  18652.60 bytes/sec
total size is 2533395853  speedup is 4054.33
building file list ... done
.index.txt
last-sync.txt
wrote 1021571 bytes  read 2794 bytes  13217.61 bytes/sec
total size is 3385615624  speedup is 3305.09

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



results of synchronize

2005-04-29 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
mypath: /home/projects/maven/repository-tools/repoclean/repoclean.sh
Setting mydir based on mypath...
mydir: /home/projects/maven/repository-tools/repoclean
[INFO] Creating reports directory: 
'/home/projects/maven/repository-staging/to-ibiblio/reports/repoclean/29-Apr-2005_09.28.57'
[INFO] Source repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven'
[INFO] Target repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven2'
[INFO] Discovering artifacts.
[WARNING] Cannot parse version from artifact path: 'activemq/jars/xmltypes.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[xmltypes]'
[WARNING] Cannot parse version from artifact path: 
'avalon-repository/propertiess/repository.properties'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[repository]'
[WARNING] Cannot parse version from artifact path: 'crossdb/jars/crossdb.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[crossdb]'
[WARNING] Cannot parse version from artifact path: 
'drools/distributions/distributions.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[distributions]'
[WARNING] Cannot parse version from artifact path: 'javacc/jars/JavaCC.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[JavaCC]'
[WARNING] Cannot parse version from artifact path: 'jdring/jars/jdring.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[jdring]'
[WARNING] Cannot parse version from artifact path: 'maven/jars/maven.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[maven]'
[WARNING] Cannot parse version from artifact path: 'picocontainer/poms/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.01.000alpha.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.02.000beta.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'tomcat/jars/tomcat3.2.1.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[tomcat3.2.1]'
[WARNING] Cannot parse version from artifact path: 'trygvis/1/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 'xdoclet-plugins/poms/xx'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[INFO] Rewriting POMs and artifact files.
[INFO] Rewriting up to 7846 artifacts (Should be 15692 rewrites including POMs).
[INFO] Actual number of artifacts rewritten: 1 (2 including POMs).
[WARNING] Warning encountered while rewriting one or more artifacts from source 
repository to target repository.
building file list ... done
last-sync.txt
wrote 622964 bytes  read 42 bytes  25428.82 bytes/sec
total size is 2533395853  speedup is 4066.41
building file list ... done
.index.txt
last-sync.txt
velocity/velocity/1.4/
velocity/velocity/1.4/velocity-1.4.jar
velocity/velocity/1.4/velocity-1.4.jar.md5
velocity/velocity/1.4/velocity-1.4.jar.sha1
velocity/velocity/1.4/velocity-1.4.pom
velocity/velocity/1.4/velocity-1.4.pom.md5
velocity/velocity/1.4/velocity-1.4.pom.sha1
wrote 1024956 bytes  read 6040 bytes  9961.31 bytes/sec
total size is 3385614540  speedup is 3283.83

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



[jira] Created: (MPJIRA-11) Enable retrieving component-specific issues

2005-04-29 Thread Arik Kfir (JIRA)
Enable retrieving component-specific issues
---

 Key: MPJIRA-11
 URL: http://jira.codehaus.org/browse/MPJIRA-11
 Project: maven-jira-plugin
Type: Improvement
Reporter: Arik Kfir
 Assigned to: Emmanuel Venisse 
 Attachments: jira-component.patch

Many projects are divided into smaller components (managed in Maven via 
multiproject). Usually, the same structure is reflected in the project's JIRA - 
meaning a big project with each smaller project mapped to a JIRA *component*. 

If we add the JIRA report for such projects (that are part of a larger 
project), all subprojects will show all JIRA issues for the project, instead of 
the issues relevant to that specific component.

Therefor, it would be useful to specify for the JIRA plugin to only query 
issues for a specific component, based on a plugin property. Then, each 
subproject will specify that property in its project.properties file, thus 
reflecting the true JIRA structure in the JIRA report.

Attached to this issue is a patch I've made that makes it possible.

-- 
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: r165378 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution /maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin /maven/components/trunk/maven-core/src/site/apt /maven/components/trunk/maven-core/src/test/java/org/apache/maven/plugin /maven/components/trunk/maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor

2005-04-29 Thread jdcasey
Author: jdcasey
Date: Fri Apr 29 20:50:47 2005
New Revision: 165378

URL: http://svn.apache.org/viewcvs?rev=165378view=rev
Log:
Removed the need for MavenMojoDescriptor (collapsed to just 
MojoDescriptor)...also partially setup the possibility for container-injected 
configurations, provided we enhance as described in 
getting-to-container-configured-mojos.apt.

Added:

maven/components/trunk/maven-core/src/site/apt/getting-to-container-configured-mojos.apt
   (with props)
Removed:

maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/MavenMojoDescriptor.java
Modified:

maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java

maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginDiscoverer.java

maven/components/trunk/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

maven/components/trunk/maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

maven/components/trunk/maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

Modified: 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java?rev=165378r1=165377r2=165378view=diff
==
--- 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
 (original)
+++ 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
 Fri Apr 29 20:50:47 2005
@@ -20,12 +20,11 @@
 import org.apache.maven.artifact.repository.ArtifactRepository;
 import org.apache.maven.monitor.event.EventDispatcher;
 import org.apache.maven.monitor.logging.Log;
-import org.apache.maven.plugin.PluginManager;
 import org.apache.maven.project.MavenProject;
 import org.apache.maven.settings.Settings;
 import org.codehaus.plexus.PlexusContainer;
 import 
org.codehaus.plexus.component.repository.exception.ComponentLookupException;
-import org.codehaus.plexus.util.dag.DAG;
+import org.codehaus.plexus.context.Context;
 
 import java.util.List;
 
@@ -56,7 +55,7 @@
 this.project = project;
 
 this.container = container;
-
+
 this.settings = settings;
 
 this.localRepository = localRepository;
@@ -66,6 +65,24 @@
 this.log = log;
 
 this.goals = goals;
+
+// TODO: Go back to this when we get the container ready to configure 
mojos...
+// NOTE: [jc] This is a possible way to add project, etc. to the 
container context to allow container-injected 
+// mojo configuration.
+//initializeContainerContext();
+}
+
+private void initializeContainerContext()
+{
+Context context = container.getContext();
+
+context.put( project, project );
+context.put( settings, settings );
+context.put( basedir, project.getBasedir().getAbsolutePath() );
+context.put( localRepository, localRepository );
+
+// TODO: remove this alias...change to ${project.build.finalName}
+context.put( maven.final.name, project.getBuild().getFinalName() );
 }
 
 public PlexusContainer getContainer()

Modified: 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
URL: 
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java?rev=165378r1=165377r2=165378view=diff
==
--- 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
 (original)
+++ 
maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
 Fri Apr 29 20:50:47 2005
@@ -72,9 +72,6 @@
 extends AbstractLogEnabled
 implements PluginManager, ComponentDiscoveryListener, Initializable, 
Contextualizable
 {
-// TODO: share with type handler
-static String MAVEN_PLUGIN = maven-plugin;
-
 protected Map mojoDescriptors;
 
 protected Map pluginDescriptors;
@@ -148,9 +145,7 @@
 
 for ( Iterator it = 
mavenPluginDescriptor.getMavenMojoDescriptors().iterator(); it.hasNext(); )
 {
-MavenMojoDescriptor mavenMojoDescriptor = (MavenMojoDescriptor) 
it.next();
-
-MojoDescriptor mojoDescriptor = 
mavenMojoDescriptor.getMojoDescriptor();
+MojoDescriptor mojoDescriptor = (MojoDescriptor) it.next();
 
 mojoDescriptors.put( mojoDescriptor.getId(), mojoDescriptor );
 }
@@ -241,7 +236,7 @@
 try
 {
  

results of synchronize

2005-04-29 Thread maven
Syncing Apache Software Foundation
Syncing Codehaus
Syncing Maven Plugins @ SourceForge
Syncing Mortbay Consulting
Syncing Open Symphony
Syncing OS Java
mypath: /home/projects/maven/repository-tools/repoclean/repoclean.sh
Setting mydir based on mypath...
mydir: /home/projects/maven/repository-tools/repoclean
[INFO] Creating reports directory: 
'/home/projects/maven/repository-staging/to-ibiblio/reports/repoclean/30-Apr-2005_12.00.26'
[INFO] Source repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven'
[INFO] Target repository is at: 
'/home/projects/maven/repository-staging/to-ibiblio/maven2'
[INFO] Discovering artifacts.
[WARNING] Cannot parse version from artifact path: 'activemq/jars/xmltypes.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[xmltypes]'
[WARNING] Cannot parse version from artifact path: 
'avalon-repository/propertiess/repository.properties'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[repository]'
[WARNING] Cannot parse version from artifact path: 'crossdb/jars/crossdb.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[crossdb]'
[WARNING] Cannot parse version from artifact path: 
'drools/distributions/distributions.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[distributions]'
[WARNING] Cannot parse version from artifact path: 'javacc/jars/JavaCC.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[JavaCC]'
[WARNING] Cannot parse version from artifact path: 'jdring/jars/jdring.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[jdring]'
[WARNING] Cannot parse version from artifact path: 'maven/jars/maven.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[maven]'
[WARNING] Cannot parse version from artifact path: 'picocontainer/poms/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.01.000alpha.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.tar.gz'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/distributions/prevayler2.02.000beta.zip'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.01.000alpha.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.01.000alpha]'
[WARNING] Cannot parse version from artifact path: 
'prevayler/jars/prevayler2.02.000beta.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[prevayler2.02.000beta]'
[WARNING] Cannot parse version from artifact path: 
'tomcat/jars/tomcat3.2.1.jar'.
[INFO] artifact-version-classifier-extension remaining tokens is: 
'[tomcat3.2.1]'
[WARNING] Cannot parse version from artifact path: 'trygvis/1/foo'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[WARNING] Cannot parse version from artifact path: 'xdoclet-plugins/poms/xx'.
[INFO] artifact-version-classifier-extension remaining tokens is: '[]'
[INFO] Rewriting POMs and artifact files.
[INFO] Rewriting up to 7846 artifacts (Should be 15692 rewrites including POMs).
[INFO] Actual number of artifacts rewritten: 0 (0 including POMs).
[WARNING] Warning encountered while rewriting one or more artifacts from source 
repository to target repository.
building file list ... done
last-sync.txt
wrote 622964 bytes  read 42 bytes  14000.13 bytes/sec
total size is 2533395853  speedup is 4066.41
building file list ... done
.index.txt
last-sync.txt
wrote 1021560 bytes  read 2794 bytes  6007.94 bytes/sec
total size is 3385614540  speedup is 3305.12

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



[maven2 build - SUCCESS] Sat Apr 30 00:07:00 EDT 2005

2005-04-29 Thread jvanzyl
Distribution:
http://www.codehaus.org/~maven/m2/m2-20050430.000700.tar.gz

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

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