Re: question about maven-project-3.0.0.xsd
Hi there There is an issue open about this: http://jira.codehaus.org/browse/MAVEN-1410 -- Dennis Lundberg Marnix van Bochove wrote: Hi, I'm trying to validate my project.xml files against the maven schema at url http://maven.apache.org/xsd/maven-project-3.0.0.xsd. When looking inside this schema I missed the definition of the element artifactId in the project element, so I get a validation error. Maybe this element should be added to the sequence of valid contents for the project element. The element "id" could be made optional, by adding the attribute minOccurs="0". Greetings, Marnix van Bochove - 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: (MNG-363) old code cleanup - cli, messages, etc
old code cleanup - cli, messages, etc - Key: MNG-363 URL: http://jira.codehaus.org/browse/MNG-363 Project: m2 Type: Task Components: maven-core Reporter: Brett Porter Fix For: 2.0-beta-1 there are some lingering things to be cleaned up: - the CLI should be upgraded to a newer commons-cli, or perhaps plexus-cling? - the messages files are out of date. keep whatever is used, but possibly just eliminate until proper internationalisation is done - look through some of the old plugin and lifecycle phase stuff that no longer exists - there may be classes left over. IDEA inspector may help. -- 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] Thu Apr 28 01:07:00 EDT 2005
Distribution: http://www.codehaus.org/~maven/m2/m2-20050428.010700.tar.gz Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050428.010700.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165096 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java
Author: jdcasey Date: Wed Apr 27 21:21:11 2005 New Revision: 165096 URL: http://svn.apache.org/viewcvs?rev=165096&view=rev Log: Corrected goal and plugin configuration injection (from managed info). Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java?rev=165096&r1=165095&r2=165096&view=diff == --- maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java (original) +++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java Wed Apr 27 21:21:11 2005 @@ -18,6 +18,7 @@ import org.apache.maven.model.Dependency; import org.apache.maven.model.DependencyManagement; +import org.apache.maven.model.Goal; import org.apache.maven.model.Model; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginManagement; @@ -89,18 +90,49 @@ { plugin.setVersion( def.getVersion() ); } - -List pluginGoals = plugin.getGoals(); -if( pluginGoals == null || pluginGoals.isEmpty() ) + +Map defaultGoals = new TreeMap(); + +List defGoalList = def.getGoals(); + +if ( defGoalList != null ) { -plugin.setGoals( def.getGoals() ); +for ( Iterator it = defGoalList.iterator(); it.hasNext(); ) +{ +Goal defaultGoal = (Goal) it.next(); + +defaultGoals.put( defaultGoal.getId(), defaultGoal ); +} } - -Xpp3Dom pluginConfiguration = (Xpp3Dom) plugin.getConfiguration(); -if( pluginConfiguration == null ) + +List pluginGoals = plugin.getGoals(); + +if ( pluginGoals != null ) { -plugin.setConfiguration( def.getConfiguration() ); +for ( Iterator it = pluginGoals.iterator(); it.hasNext(); ) +{ +Goal pluginGoal = (Goal) it.next(); + +Goal defaultGoal = (Goal) defaultGoals.get( pluginGoal.getId() ); + +if ( defaultGoal != null ) +{ +Xpp3Dom pluginGoalConfig = (Xpp3Dom) pluginGoal.getConfiguration(); +Xpp3Dom defaultGoalConfig = (Xpp3Dom) defaultGoal.getConfiguration(); + +pluginGoalConfig = Xpp3Dom.mergeXpp3Dom( pluginGoalConfig, defaultGoalConfig ); + +pluginGoal.setConfiguration( pluginGoalConfig ); +} +} } + +Xpp3Dom pluginConfiguration = (Xpp3Dom) plugin.getConfiguration(); +Xpp3Dom defaultConfiguration = (Xpp3Dom) def.getConfiguration(); + +pluginConfiguration = Xpp3Dom.mergeXpp3Dom( pluginConfiguration, defaultConfiguration ); + +plugin.setConfiguration( pluginConfiguration ); } private void injectDependencyDefaults( List dependencies, DependencyManagement dependencyManagement ) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[maven2 build - SUCCESS] Thu Apr 28 00:07:00 EDT 2005
Distribution: http://www.codehaus.org/~maven/m2/m2-20050428.000700.tar.gz Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050428.000700.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
results of synchronize
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/28-Apr-2005_12.00.20' [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 7806 artifacts (Should be 15612 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 620819 bytes read 42 bytes 11604.88 bytes/sec total size is 2530902017 speedup is 4076.44 building file list ... done .index.txt last-sync.txt wrote 1014984 bytes read 2782 bytes 7798.97 bytes/sec total size is 3370507534 speedup is 3311.67 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165093 - /maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/ScpSiteDeployMojo.java
Author: brett Date: Wed Apr 27 21:02:57 2005 New Revision: 165093 URL: http://svn.apache.org/viewcvs?rev=165093&view=rev Log: fix compile error Modified: maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/ScpSiteDeployMojo.java Modified: maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/ScpSiteDeployMojo.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/ScpSiteDeployMojo.java?rev=165093&r1=165092&r2=165093&view=diff == --- maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/ScpSiteDeployMojo.java (original) +++ maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/ScpSiteDeployMojo.java Wed Apr 27 21:02:57 2005 @@ -129,9 +129,7 @@ Repository repository = new Repository( id, url ); //@todo dirty hack to make artifact uploading work -repository.setAuthenticationInfo( WagonUtils.getAuthInfo() ); - -commandExecutor.connect( repository ); +commandExecutor.connect( repository, WagonUtils.getAuthInfo() ); String basedir = repository.getBasedir(); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[maven2 build - FAILED] Wed Apr 27 23:34:31 EDT 2005
Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050427.233431.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165090 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
Author: brett Date: Wed Apr 27 20:31:49 2005 New Revision: 165090 URL: http://svn.apache.org/viewcvs?rev=165090&view=rev Log: fix bug I introduced Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java?rev=165090&r1=165089&r2=165090&view=diff == --- maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java (original) +++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java Wed Apr 27 20:31:49 2005 @@ -312,64 +312,68 @@ Build childBuild = child.getBuild(); Build parentBuild = parent.getBuild(); -if ( childBuild == null ) +if ( parentBuild != null ) { -child.setBuild( new Build() ); -} -// The build has been set but we want to step in here and fill in -// values -// that have not been set by the child. - -if ( childBuild.getDirectory() == null ) -{ -childBuild.setDirectory( parentBuild.getDirectory() ); -} - -if ( childBuild.getSourceDirectory() == null ) -{ -childBuild.setSourceDirectory( parentBuild.getSourceDirectory() ); -} +if ( childBuild == null ) +{ +childBuild = new Build(); +child.setBuild( childBuild ); +} +// The build has been set but we want to step in here and fill in +// values +// that have not been set by the child. + +if ( childBuild.getDirectory() == null ) +{ +childBuild.setDirectory( parentBuild.getDirectory() ); +} + +if ( childBuild.getSourceDirectory() == null ) +{ +childBuild.setSourceDirectory( parentBuild.getSourceDirectory() ); +} + +if ( childBuild.getScriptSourceDirectory() == null ) +{ +childBuild.setScriptSourceDirectory( parentBuild.getScriptSourceDirectory() ); +} + +if ( childBuild.getTestSourceDirectory() == null ) +{ +childBuild.setTestSourceDirectory( parentBuild.getTestSourceDirectory() ); +} + +if ( childBuild.getOutputDirectory() == null ) +{ +childBuild.setOutputDirectory( parentBuild.getOutputDirectory() ); +} + +if ( childBuild.getTestOutputDirectory() == null ) +{ +childBuild.setTestOutputDirectory( parentBuild.getTestOutputDirectory() ); +} + +if ( childBuild.getFinalName() == null ) +{ +childBuild.setFinalName( parentBuild.getFinalName() ); +} + +List resources = childBuild.getResources(); +if ( resources == null || resources.isEmpty() ) +{ +childBuild.setResources( parentBuild.getResources() ); +} + +resources = childBuild.getTestResources(); +if ( resources == null || resources.isEmpty() ) +{ +childBuild.setTestResources( parentBuild.getTestResources() ); +} -if ( childBuild.getScriptSourceDirectory() == null ) -{ -childBuild.setScriptSourceDirectory( parentBuild.getScriptSourceDirectory() ); -} +// Plugins are not aggregated, but management is -if ( childBuild.getTestSourceDirectory() == null ) -{ -childBuild.setTestSourceDirectory( parentBuild.getTestSourceDirectory() ); +assemblePluginManagementInheritance( childBuild, parentBuild ); } - -if ( childBuild.getOutputDirectory() == null ) -{ -childBuild.setOutputDirectory( parentBuild.getOutputDirectory() ); -} - -if ( childBuild.getTestOutputDirectory() == null ) -{ -childBuild.setTestOutputDirectory( parentBuild.getTestOutputDirectory() ); -} - -if ( childBuild.getFinalName() == null ) -{ -childBuild.setFinalName( parentBuild.getFinalName() ); -} - -List resources = childBuild.getResources(); -if ( resources == null || resources.isEmpty() ) -{ -childBuild.setResources( parentBuild.getResources() ); -} - -resources = childBuild.getTestResources(); -if ( resources == null || resources.isEmpty() ) -
[maven2 build - FAILED] Wed Apr 27 23:26:55 EDT 2005
Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050427.232655.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
results of synchronize
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/27-Apr-2005_11.14.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 7806 artifacts (Should be 15612 rewrites including POMs). [INFO] Actual number of artifacts rewritten: 2 (4 including POMs). [WARNING] Warning encountered while rewriting one or more artifacts from source repository to target repository. Copying: ./org/apache/maven/reporting/maven-reporting/2.0-SNAPSHOT/maven-reporting-2.0-20050428.011348-1.pom --> org/apache/maven/reporting/maven-reporting-2.0-20050428.011348-1.pom (with sha1) (with md5) Copying: org/apache/maven/reporting/maven-reporting/2.0-SNAPSHOT/maven-reporting-2.0-SNAPSHOT.version.txt --> org/apache/maven/reporting/maven-reporting-2.0-SNAPSHOT.version.txt (with sha1) (with md5) == building file list ... done last-sync.txt wrote 620819 bytes read 42 bytes 20356.10 bytes/sec total size is 2530902017 speedup is 4076.44 building file list ... done .index.txt checkstyle/checkstyle/ checkstyle/checkstyle-optional/ checkstyle/checkstyle-optional/4.0-beta1/ checkstyle/checkstyle-optional/4.0-beta1/checkstyle-optional-4.0-beta1.jar checkstyle/checkstyle-optional/4.0-beta1/checkstyle-optional-4.0-beta1.jar.md5 checkstyle/checkstyle-optional/4.0-beta1/checkstyle-optional-4.0-beta1.jar.sha1 checkstyle/checkstyle-optional/4.0-beta1/checkstyle-optional-4.0-beta1.pom checkstyle/checkstyle-optional/4.0-beta
[jira] Updated: (MNG-45) Complete lifecycle design, and document for users/developers
[ http://jira.codehaus.org/browse/MNG-45?page=all ] Brett Porter updated MNG-45: Component: documentation Summary: Complete lifecycle design, and document for users/developers (was: Documentation of the lifecyle, and other design docs) > Complete lifecycle design, and document for users/developers > > > Key: MNG-45 > URL: http://jira.codehaus.org/browse/MNG-45 > Project: m2 > Type: Task > Components: documentation, design > Reporter: Jason van Zyl > Assignee: Brett Porter > Priority: Blocker > Fix For: 2.0-alpha-2 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[maven2 build - FAILED] Wed Apr 27 23:06:59 EDT 2005
Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050427.230659.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MNG-295) ./build.properties equivalent
[ http://jira.codehaus.org/browse/MNG-295?page=comments#action_38266 ] Brett Porter commented on MNG-295: -- Michael, you'll find this described under "profiles" also scheduled for alpha-3 > ./build.properties equivalent > - > > Key: MNG-295 > URL: http://jira.codehaus.org/browse/MNG-295 > Project: m2 > Type: Bug > Reporter: Brett Porter > Fix For: 2.0-alpha-3 > > > need a way to be able to quickly override settings in the POM for trying > things out or temporarily applying a setting locally. This might also include > a more consistent mapping of plugin configuration to system properties. -- 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-295) ./build.properties equivalent
[ http://jira.codehaus.org/browse/MNG-295?page=comments#action_38265 ] Michael Hinterseher commented on MNG-295: - What is also missing in my mind are a kind of "distribution channels". Normally you have several builds to do during your release cycle: A local test server, a staging environment, a test environment at customer side and the production environment. All this builds are basically the same but several files have to be customized like configuration files, catalogs, database connections and so on. What I did in former projects was defining a properties file for each channel, which was copied to a kind of build.properties file. This was read before building an all properties were set up. Files which had placeholders were called templates e.g. a file which was finally named abc.properties was stored as abcTemplate.properties. During the build the template was copied into the build dir, renamed and the placeholders were exchanged. This is functionality should become somehow a core m2 feature. It should be in addition to the build.properties which should help in my mind to overwrite these standard properties. > ./build.properties equivalent > - > > Key: MNG-295 > URL: http://jira.codehaus.org/browse/MNG-295 > Project: m2 > Type: Bug > Reporter: Brett Porter > Fix For: 2.0-alpha-3 > > > need a way to be able to quickly override settings in the POM for trying > things out or temporarily applying a setting locally. This might also include > a more consistent mapping of plugin configuration to system properties. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-157) java mojo extractor should search extended classes for annotations
[ http://jira.codehaus.org/browse/MNG-157?page=all ] Brett Porter closed MNG-157: > java mojo extractor should search extended classes for annotations > -- > > Key: MNG-157 > URL: http://jira.codehaus.org/browse/MNG-157 > Project: m2 > Type: Improvement > Components: maven-plugin-tools > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > > example: many of the mojo's have identical parameters in the modello plugin. > They could all be declared on the abstract modello mojo instead. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-287) make repo tool add sha1's to all artifacts, and also add to wagon/artifact deployer
[ http://jira.codehaus.org/browse/MNG-287?page=all ] Brett Porter closed MNG-287: > make repo tool add sha1's to all artifacts, and also add to wagon/artifact > deployer > --- > > Key: MNG-287 > URL: http://jira.codehaus.org/browse/MNG-287 > Project: m2 > Type: Improvement > Components: maven-artifact, repository-tools > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > Time Spent: 2 hours >Remaining: 0 minutes > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-283) move MavenSettings.java code into Settings via modello
[ http://jira.codehaus.org/browse/MNG-283?page=all ] Brett Porter closed MNG-283: > move MavenSettings.java code into Settings via modello > -- > > Key: MNG-283 > URL: http://jira.codehaus.org/browse/MNG-283 > Project: m2 > Type: Bug > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > > everything in the MavenSettings class could operate on the Settings class > itself, except for the default local repository. Move that code to the > MavenCli. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-221) simplify mojo qdox specification
[ http://jira.codehaus.org/browse/MNG-221?page=all ] Brett Porter closed MNG-221: > simplify mojo qdox specification > > > Key: MNG-221 > URL: http://jira.codehaus.org/browse/MNG-221 > Project: m2 > Type: Improvement > Components: maven-plugin-tools > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > > now that these are mapped to fields, the name, type and default value can be > derived from the field definition instead, simplifying the rest. > validator should no longer be necessary. > The other parameter attributes (required, expression) could be specified on > the field themselves. Description can be the javadoc -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-323) handle "+" is groupIds/artifactIds
[ http://jira.codehaus.org/browse/MNG-323?page=all ] Brett Porter closed MNG-323: > handle "+" is groupIds/artifactIds > -- > > Key: MNG-323 > URL: http://jira.codehaus.org/browse/MNG-323 > Project: m2 > Type: Sub-task > Reporter: Dan Diephouse > Assignee: John Casey > > > M2 chokes on this pom because of "+"'s > http://www.ibiblio.org/maven2/stax/stax/1.1.1-dev/stax-1.1.1-dev.pom -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-312) add test artifacts to repository
[ http://jira.codehaus.org/browse/MNG-312?page=all ] Brett Porter closed MNG-312: > add test artifacts to repository > > > Key: MNG-312 > URL: http://jira.codehaus.org/browse/MNG-312 > Project: m2 > Type: Sub-task > Components: repository-tools > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > > -a 'dotted' project to test that logic > -something without an extension > -something with a ".txt" extension > -some classifier examples -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-309) more repoclean enhancements
[ http://jira.codehaus.org/browse/MNG-309?page=all ] Brett Porter closed MNG-309: > more repoclean enhancements > --- > > Key: MNG-309 > URL: http://jira.codehaus.org/browse/MNG-309 > Project: m2 > Type: Bug > Components: repository-tools > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > Time Spent: 2 hours > > we should gather up all the repoclean enhcancements and rerun it with a > --force option to reconvert all the m1 poms again. > So, further enhancements: > [DONE] - a --force option > [DONE] - successfuly convert foo on a > dependency so m1 users can add it to their pom > [DONE] - convert deps with plugin to a plugin element > [DONE] - automatically comment out Sun JARs and warn > - turn on mailing of errors/warnings > Add more as subtasks of this if they are found -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-328) figure out why commons-logging-1.0.4 won't convert via the repoclean process
[ http://jira.codehaus.org/browse/MNG-328?page=all ] Brett Porter closed MNG-328: > figure out why commons-logging-1.0.4 won't convert via the repoclean process > > > Key: MNG-328 > URL: http://jira.codehaus.org/browse/MNG-328 > Project: m2 > Type: Bug > Components: repository-tools > Versions: 2.0-alpha-1 > Reporter: John Casey > Assignee: John Casey > Priority: Critical > Fix For: 2.0-alpha-2 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-329) put all the scripts in CVS
[ http://jira.codehaus.org/browse/MNG-329?page=all ] Brett Porter closed MNG-329: > put all the scripts in CVS > -- > > Key: MNG-329 > URL: http://jira.codehaus.org/browse/MNG-329 > Project: m2 > Type: Sub-task > Components: repository-tools > Reporter: Brett Porter > Assignee: John Casey > Priority: Critical > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-332) when packaging = pom, the repository should store it in the groupID directory
[ http://jira.codehaus.org/browse/MNG-332?page=all ] Brett Porter closed MNG-332: > when packaging = pom, the repository should store it in the groupID directory > - > > Key: MNG-332 > URL: http://jira.codehaus.org/browse/MNG-332 > Project: m2 > Type: Sub-task > Components: repository-tools > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > > need to the repoclean monitor to copy files in either place to the other > place if packaging = pom. Will be cleaned up after the alpha-3 release. > (see MNG-321) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-356) do not include Sun JARs in converted POMs
[ http://jira.codehaus.org/browse/MNG-356?page=all ] Brett Porter closed MNG-356: the resolution to this was actually different to the description - please check that in future. However, I'm happy with what we have - I don't think it is worth the extra effort as alpha-2 will do the necessary hand holding. > do not include Sun JARs in converted POMs > - > > Key: MNG-356 > URL: http://jira.codehaus.org/browse/MNG-356 > Project: m2 > Type: Bug > Components: repository-tools > Versions: 2.0-alpha-2 > Reporter: Brett Porter > Assignee: John Casey > Fix For: 2.0-alpha-2 > > > a list of Sun JARs can be found in the Maven project's home directory under > sun_repo... these are not distributable, so exclude them from the pom > dependency list during conversion to prevent broken transitive dependencies. -- 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]
reporting API
Hi, Emmanuel has done some good work on the reporting API and it is nearly ready. In discussing it, we noted a couple of issues worth discussing. Firstly, are report JARs regular plugins, or should they have the type "maven-report"? We believe they should be one JAR - ie only a maven-plugin type. - On the upside, this means that when you have a goal and a report doing similar things (eg the clover test that fails if a certain coverage % is missed, as well as the generated report), the code is all together and there are just a mojo and report class in the JAR. - On the downside, you are incurring a maven-plugin-api dependency on someone only doing reporting, and a maven-reporting-api dependency on someone only doing a plugin when the JAR provides both. I don't believe this is a big deal. An alternative is to have the reporting mojo in a separate jar that depends on the mojo, overcoming the latter which is probably the only real problem. Thoughts? Now, currently the report manager is a separate entity, used by the site plugin. It resolves the reports on demand, similarly to the plugin manager. If a report is a plugin, should the single plugin manager be used? I think that it probably should, but we can defer the work on this until we are certain. Also, I think we need to introduce a pluginManagement section to so that report plugin configuration can be done in the same way as build plugin configuration. Does everyone agree? Emmanuel, did I miss anything? Cheers, Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165089 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
Author: brett Date: Wed Apr 27 19:13:49 2005 New Revision: 165089 URL: http://svn.apache.org/viewcvs?rev=165089&view=rev Log: clean up the inheritence of build - don't copy build verbatim if missing to ensure you don't get things that aren't intended for inheritence - this ensures plugins are -never- inherited - plugin management inheritence was fixed by John - moved it under build to be clearer Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java?rev=165089&r1=165088&r2=165089&view=diff == --- maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java (original) +++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java Wed Apr 27 19:13:49 2005 @@ -38,8 +38,7 @@ * @author mailto:[EMAIL PROTECTED]">Jason van Zyl * @version $Id: DefaultModelInheritanceAssembler.java,v 1.4 2004/08/23 20:24:54 * jdcasey Exp $ - * @todo generate this with modello to keep it in sync with changes in the - * model. + * @todo generate this with modello to keep it in sync with changes in the model. */ public class DefaultModelInheritanceAssembler implements ModelInheritanceAssembler @@ -166,8 +165,6 @@ } } -// Plugins are not aggregated - // Reports :: aggregate if ( child.getReports() != null && parent.getReports() != null ) { @@ -193,96 +190,77 @@ assembleDependencyManagementInheritance( child, parent ); -assemblePluginManagementInheritance( child, parent ); - } -private void assemblePluginManagementInheritance( Model child, Model parent ) +private void assemblePluginManagementInheritance( Build childBuild, Build parentBuild ) { -Build parentBuild = parent.getBuild(); -Build childBuild = child.getBuild(); +PluginManagement parentPluginMgmt = parentBuild.getPluginManagement(); -if ( childBuild == null ) +PluginManagement childPluginMgmt = childBuild.getPluginManagement(); + +if ( parentPluginMgmt != null ) { -if ( parentBuild != null ) +if ( childPluginMgmt == null ) { -child.setBuild( parentBuild ); +childBuild.setPluginManagement( parentPluginMgmt ); } else { -childBuild = new Build(); -} -} -else -{ -PluginManagement parentPluginMgmt = parentBuild.getPluginManagement(); - -PluginManagement childPluginMgmt = childBuild.getPluginManagement(); +List childPlugins = childPluginMgmt.getPlugins(); -if ( parentPluginMgmt != null ) -{ -if ( childPluginMgmt == null ) +Map mappedChildPlugins = new TreeMap(); +for ( Iterator it = childPlugins.iterator(); it.hasNext(); ) { -childBuild.setPluginManagement( parentPluginMgmt ); +Plugin plugin = (Plugin) it.next(); +mappedChildPlugins.put( constructPluginKey( plugin ), plugin ); } -else + +for ( Iterator it = parentPluginMgmt.getPlugins().iterator(); it.hasNext(); ) { -List childPlugins = childPluginMgmt.getPlugins(); +Plugin plugin = (Plugin) it.next(); -Map mappedChildPlugins = new TreeMap(); -for ( Iterator it = childPlugins.iterator(); it.hasNext(); ) +String pluginKey = constructPluginKey( plugin ); + +if ( !mappedChildPlugins.containsKey( pluginKey ) ) { -Plugin plugin = (Plugin) it.next(); -mappedChildPlugins.put( constructPluginKey( plugin ), plugin ); +childPluginMgmt.addPlugin( plugin ); } - -for ( Iterator it = parentPluginMgmt.getPlugins().iterator(); it.hasNext(); ) +else { -Plugin plugin = (Plugin) it.next(); - -String pluginKey = constructPluginKey( plugin ); - -if ( !mappedChildPlugins.containsKey( pluginKey ) ) +Plugin childPlugin = (Plugin
[jira] Closed: (MNG-357) 'build' section of POM does not appears to be inherited
[ http://jira.codehaus.org/browse/MNG-357?page=all ] Brett Porter closed MNG-357: Resolution: Won't Fix nothing is required according to the original description. A different bug regarding pluginManagement was opened and that has been fixed. > 'build' section of POM does not appears to be inherited > --- > > Key: MNG-357 > URL: http://jira.codehaus.org/browse/MNG-357 > Project: m2 > Type: Bug > Components: maven-core > Versions: 2.0-alpha-1 > Reporter: Peter van de Hoef > Assignee: John Casey > > > It appears that the section is (completely) inherited if it is not > present in the derived POM, but if a section is specified in the > derived POM, everything from the base POM is thrown away and only the > settings of the derived POM are used. > In my parent POM I have a section which specifies the source > directory and some parameters for the java compiler: > >src > > >org.apache.maven.plugins >maven-compiler-plugin >1.0-alpha-2-SNAPSHOT > >1.5 >1.5 > > > > > In a derived POM, the source directory is different, so a new section > is specified: > >module/src > > The overridden source directory is effectuated in this second POM, but it > appears that the java compiler settings have disappeared (it starts e.g. > complaining about JDK 1.4 features like assertions). If I do not specify a > section in the derived POM, the settings of the base POM are > inherited. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MNG-362) inheritance problem
[ http://jira.codehaus.org/browse/MNG-362?page=all ] Brett Porter closed MNG-362: Fix Version: 2.0-alpha-2 Resolution: Fixed this was fixed by John's changes, and I have made some additional changes so that a plugin definition is -never- inherited (only plugin management is) > inheritance problem > -- > > Key: MNG-362 > URL: http://jira.codehaus.org/browse/MNG-362 > Project: m2 > Type: Bug > Versions: 2.0-alpha-1 > Reporter: Peter van de Hoef > Fix For: 2.0-alpha-2 > Attachments: plugin-management-issue.tar.gz > > > I have specified a section in the parent POM > which is not inherited by the child POM. > The plugin in question is the 'maven-compiler-plugin' which is configured for > JDK 1.5 source compatibility. > In the parent POM, this setting is effectuated, but not in the child. When > compiling the child, the compiler complains about JDK 1.4+ features in the > java source. > A simple test case is attached to reproduce the problem. > The parent POM looks like: > > Parent POM > _test > parent > 1.0 > pom > > > child > > > src > > > > org.apache.maven.plugins > maven-compiler-plugin > 1.0-alpha-2-SNAPSHOT > > 1.5 > 1.5 > > > > > > > org.apache.maven.plugins > maven-compiler-plugin > > > > > And the child, which inherits from the parent: > The section is overridden with a different and, > since the of the parent gets lost, it is repeated. > > Child POM > _test > child > 1.0 > pom > > _test > parent > 1.0 > > > > src2 > > > org.apache.maven.plugins > maven-compiler-plugin > > > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[maven2 build - FAILED] Wed Apr 27 22:07:00 EDT 2005
Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050427.220700.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (MNG-360) Move artifact filters from the runtime builder in plexus to maven-artifact
[ http://jira.codehaus.org/browse/MNG-360?page=all ] Brett Porter updated MNG-360: - Fix Version: 2.0-alpha-3 Assign To: Trygve Laugstol > Move artifact filters from the runtime builder in plexus to maven-artifact > -- > > Key: MNG-360 > URL: http://jira.codehaus.org/browse/MNG-360 > Project: m2 > Type: Task > Components: maven-artifact > Reporter: Trygve Laugstol > Assignee: Trygve Laugstol > Fix For: 2.0-alpha-3 > > > In the AbstractBuilder[1] there are a some artifact filters that are > generally usable. Make sure to update the runtime builder when this is done. > http://cvs.plexus.codehaus.org/plexus/plexus-tools/plexus-runtime-builder/src/main/java/org/codehaus/plexus/builder/AbstractBuilder.java?rev=1.24&view=auto -- 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-360) Move artifact filters from the runtime builder in plexus to maven-artifact
[ http://jira.codehaus.org/browse/MNG-360?page=comments#action_38258 ] Brett Porter commented on MNG-360: -- there are already some in the artifact, so you may not need to include them all - check first. > Move artifact filters from the runtime builder in plexus to maven-artifact > -- > > Key: MNG-360 > URL: http://jira.codehaus.org/browse/MNG-360 > Project: m2 > Type: Task > Components: maven-artifact > Reporter: Trygve Laugstol > > > In the AbstractBuilder[1] there are a some artifact filters that are > generally usable. Make sure to update the runtime builder when this is done. > http://cvs.plexus.codehaus.org/plexus/plexus-tools/plexus-runtime-builder/src/main/java/org/codehaus/plexus/builder/AbstractBuilder.java?rev=1.24&view=auto -- 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: (MNG-361) warn on detecting plugins in a project's dependency list
[ http://jira.codehaus.org/browse/MNG-361?page=all ] Brett Porter updated MNG-361: - Fix Version: (was: 2.0-alpha-3) 2.0-alpha-2 as far as it acting as a plugin - definitely not. So if that were the only case, then I'd be all for banning types maven-plugin as a dependency. But I can think of other use cases: - adding a plugin to the classpath, so your mojos can be reused. I don't know if we want to encourage that, but I imagine there is probably a valid use case - aggregating for distribution. So I think we should allow it, and just document that it doesn't do anything WRT the build process. Do you agree? > warn on detecting plugins in a project's dependency list > > > Key: MNG-361 > URL: http://jira.codehaus.org/browse/MNG-361 > Project: m2 > Type: Bug > Components: maven-core > Versions: 2.0-alpha-1 > Reporter: John Casey > Fix For: 2.0-alpha-2 > > > Normally, plugins should not be allowed in the project's list of > dependencies. We need to examine whether this is ever a legal thing to do, > and either warn or provide an error if we detect 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: r165081 - /maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml
Author: brett Date: Wed Apr 27 18:19:44 2005 New Revision: 165081 URL: http://svn.apache.org/viewcvs?rev=165081&view=rev Log: set correct parent, update wagon dependencies so it doesnt break the deploy plugin when used Modified: maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml Modified: maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml?rev=165081&r1=165080&r2=165081&view=diff == --- maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml (original) +++ maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml Wed Apr 27 18:19:44 2005 @@ -3,7 +3,7 @@ maven-plugin-parent org.apache.maven.plugins -2.0-alpha-1 +2.0-SNAPSHOT maven-site-plugin 1.0-SNAPSHOT @@ -23,12 +23,12 @@ org.apache.maven.wagon wagon-provider-api - 1.0-alpha-2 + 1.0-alpha-3-SNAPSHOT org.apache.maven.wagon wagon-ssh - 1.0-alpha-2 + 1.0-alpha-3-SNAPSHOT org.apache.maven.reporting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165080 - in /maven/components/trunk/maven-archetype: ./ maven-archetypes/maven-archetype-marmalade-mojo/
Author: brett Date: Wed Apr 27 18:18:48 2005 New Revision: 165080 URL: http://svn.apache.org/viewcvs?rev=165080&view=rev Log: ignores Modified: maven/components/trunk/maven-archetype/ (props changed) maven/components/trunk/maven-archetype/maven-archetypes/maven-archetype-marmalade-mojo/ (props changed) Propchange: maven/components/trunk/maven-archetype/ -- --- svn:ignore (added) +++ svn:ignore Wed Apr 27 18:18:48 2005 @@ -0,0 +1,3 @@ +*.ipr +*.iml +*.iws Propchange: maven/components/trunk/maven-archetype/maven-archetypes/maven-archetype-marmalade-mojo/ -- --- svn:ignore (added) +++ svn:ignore Wed Apr 27 18:18:48 2005 @@ -0,0 +1,4 @@ +*.ipr +*.iml +*.iws + - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165079 - in /maven/components/trunk/maven-reporting: ./ maven-reporting-api/ maven-reporting-manager/
Author: brett Date: Wed Apr 27 18:17:50 2005 New Revision: 165079 URL: http://svn.apache.org/viewcvs?rev=165079&view=rev Log: ignores Modified: maven/components/trunk/maven-reporting/ (props changed) maven/components/trunk/maven-reporting/maven-reporting-api/ (props changed) maven/components/trunk/maven-reporting/maven-reporting-manager/ (props changed) Propchange: maven/components/trunk/maven-reporting/ -- --- svn:ignore (added) +++ svn:ignore Wed Apr 27 18:17:50 2005 @@ -0,0 +1,4 @@ +target +*.iml +*.iws +*.ipr Propchange: maven/components/trunk/maven-reporting/maven-reporting-api/ -- --- svn:ignore (added) +++ svn:ignore Wed Apr 27 18:17:50 2005 @@ -0,0 +1,5 @@ +target +*.iml +*.iws +*.ipr + Propchange: maven/components/trunk/maven-reporting/maven-reporting-manager/ -- --- svn:ignore (added) +++ svn:ignore Wed Apr 27 18:17:50 2005 @@ -0,0 +1,5 @@ +target +*.iml +*.iws +*.ipr + - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[maven2 build - FAILED] Wed Apr 27 21:07:00 EDT 2005
Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050427.210700.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165077 - /maven/components/trunk/maven-plugins/pom.xml
Author: brett Date: Wed Apr 27 18:03:16 2005 New Revision: 165077 URL: http://svn.apache.org/viewcvs?rev=165077&view=rev Log: put back site, it is working again Modified: maven/components/trunk/maven-plugins/pom.xml Modified: maven/components/trunk/maven-plugins/pom.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/pom.xml?rev=165077&r1=165076&r2=165077&view=diff == --- maven/components/trunk/maven-plugins/pom.xml (original) +++ maven/components/trunk/maven-plugins/pom.xml Wed Apr 27 18:03:16 2005 @@ -79,9 +79,7 @@ maven-jar-plugin maven-plugin-plugin maven-resources-plugin - maven-surefire-plugin maven-war-plugin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165076 - in /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager: DefaultMavenReportManager.java ReportManagerException.java
Author: brett Date: Wed Apr 27 17:53:16 2005 New Revision: 165076 URL: http://svn.apache.org/viewcvs?rev=165076&view=rev Log: add message if version is missing Modified: maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/DefaultMavenReportManager.java maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/ReportManagerException.java Modified: maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/DefaultMavenReportManager.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/DefaultMavenReportManager.java?rev=165076&r1=165075&r2=165076&view=diff == --- maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/DefaultMavenReportManager.java (original) +++ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/DefaultMavenReportManager.java Wed Apr 27 17:53:16 2005 @@ -74,6 +74,11 @@ String version = pluginReport.getVersion(); +if ( version == null ) +{ +throw new ReportManagerException( "The version of " + groupId + ":" + artifactId + " can not be empty" ); +} + try { Artifact pluginArtifact = artifactFactory.createArtifact( pluginReport.getGroupId(), Modified: maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/ReportManagerException.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/ReportManagerException.java?rev=165076&r1=165075&r2=165076&view=diff == --- maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/ReportManagerException.java (original) +++ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/ReportManagerException.java Wed Apr 27 17:53:16 2005 @@ -19,6 +19,11 @@ public class ReportManagerException extends Exception { +public ReportManagerException( String message ) +{ +super( message ); +} + public ReportManagerException( String message, Exception e ) { super( message, e ); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165075 - in /maven/components/trunk: maven-reporting/pom.xml pom.xml
Author: brett Date: Wed Apr 27 17:52:53 2005 New Revision: 165075 URL: http://svn.apache.org/viewcvs?rev=165075&view=rev Log: include reporting modules Modified: maven/components/trunk/maven-reporting/pom.xml maven/components/trunk/pom.xml Modified: maven/components/trunk/maven-reporting/pom.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-reporting/pom.xml?rev=165075&r1=165074&r2=165075&view=diff == --- maven/components/trunk/maven-reporting/pom.xml (original) +++ maven/components/trunk/maven-reporting/pom.xml Wed Apr 27 17:52:53 2005 @@ -11,4 +11,8 @@ Maven Reporting 2.0-SNAPSHOT 2005 + +maven-reporting-api +maven-reporting-manager + Modified: maven/components/trunk/pom.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/pom.xml?rev=165075&r1=165074&r2=165075&view=diff == --- maven/components/trunk/pom.xml (original) +++ maven/components/trunk/pom.xml Wed Apr 27 17:52:53 2005 @@ -106,5 +106,6 @@ maven-core maven-settings maven-script +maven-reporting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165074 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
Author: brett Date: Wed Apr 27 17:42:33 2005 New Revision: 165074 URL: http://svn.apache.org/viewcvs?rev=165074&view=rev Log: fix typo in exclusion list 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=165074&r1=165073&r2=165074&view=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 Wed Apr 27 17:42:33 2005 @@ -733,7 +733,7 @@ artifactFilter = new ExclusionSetFilter( new String[]{"maven-core", "maven-artifact", "maven-model", "maven-settings", "maven-monitor", "maven-plugin-api", "maven-plugin-descriptor", "plexus-container-default", - "maven-project", "plexus-artifact-container", + "maven-project", "plexus-container-artifact", "wagon-provider-api", "classworlds", "maven-plugin"} ); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MPCHECKSTYLE-31) Upgrade to Checkstyle 3.5
[ http://jira.codehaus.org/browse/MPCHECKSTYLE-31?page=all ] Carlos Sanchez closed MPCHECKSTYLE-31: -- Resolution: Won't Fix Upgraded to 4.0-beta1 > Upgrade to Checkstyle 3.5 > - > > Key: MPCHECKSTYLE-31 > URL: http://jira.codehaus.org/browse/MPCHECKSTYLE-31 > Project: maven-checkstyle-plugin > Type: Improvement > Versions: 2.5 > Environment: Windows, Java 1.4 > Reporter: Lars Trieloff > Priority: Minor > Fix For: 3.0 > > Original Estimate: 1 hour > Remaining: 1 hour > > Please update the checkstyle jar to version 3.5, because it adds support for > following checks: > com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck > com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck > com.puppycrawl.tools.checkstyle.checks.coding.ModifiedControlVariableCheck > All you need to do i to update the project.xml and add checkstyle-3.5.jar and > checkstyle-optional-3.5.jar to the central repository. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (MPCHECKSTYLE-32) Update to CheckStyle 4.0-beta
[ http://jira.codehaus.org/browse/MPCHECKSTYLE-32?page=all ] Carlos Sanchez closed MPCHECKSTYLE-32: -- Fix Version: 2.6 Resolution: Fixed Assign To: Carlos Sanchez > Update to CheckStyle 4.0-beta > - > > Key: MPCHECKSTYLE-32 > URL: http://jira.codehaus.org/browse/MPCHECKSTYLE-32 > Project: maven-checkstyle-plugin > Type: New Feature > Versions: 2.6 > Reporter: Archimedes Trajano > Assignee: Carlos Sanchez > Fix For: 2.6 > > > To allow support for JDK5.0 constructs. -- 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: r165073 - in /maven/maven-1/plugins/trunk/checkstyle: project.xml src/plugin-resources/sun_checks.xml xdocs/changes.xml
Author: carlos Date: Wed Apr 27 17:32:27 2005 New Revision: 165073 URL: http://svn.apache.org/viewcvs?rev=165073&view=rev Log: Upgraded to checkstyle 4.0beta1 Modified: maven/maven-1/plugins/trunk/checkstyle/project.xml maven/maven-1/plugins/trunk/checkstyle/src/plugin-resources/sun_checks.xml maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml Modified: maven/maven-1/plugins/trunk/checkstyle/project.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/checkstyle/project.xml?rev=165073&r1=165072&r2=165073&view=diff == --- maven/maven-1/plugins/trunk/checkstyle/project.xml (original) +++ maven/maven-1/plugins/trunk/checkstyle/project.xml Wed Apr 27 17:32:27 2005 @@ -23,7 +23,7 @@ 3 maven-checkstyle-plugin Maven Checkstyle Plugin - 2.5 + 3.0-SNAPSHOT Produce Checkstyle report http://maven.apache.org/reference/plugins/checkstyle/ @@ -118,6 +118,16 @@ +1 + + Carlos Sanchez + carlos + [EMAIL PROTECTED] + + +Developer + + +1 + @@ -129,7 +139,7 @@ antlr antlr - 2.7.2 + 2.7.5 root @@ -137,7 +147,7 @@ checkstyle checkstyle - 3.4 + 4.0-beta1 root @@ -145,7 +155,7 @@ checkstyle checkstyle-optional - 3.4 + 4.0-beta1 root @@ -161,7 +171,7 @@ commons-beanutils commons-beanutils - 1.6.1 + 1.7.0 root Modified: maven/maven-1/plugins/trunk/checkstyle/src/plugin-resources/sun_checks.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/checkstyle/src/plugin-resources/sun_checks.xml?rev=165073&r1=165072&r2=165073&view=diff == --- maven/maven-1/plugins/trunk/checkstyle/src/plugin-resources/sun_checks.xml (original) +++ maven/maven-1/plugins/trunk/checkstyle/src/plugin-resources/sun_checks.xml Wed Apr 27 17:32:27 2005 @@ -18,8 +18,8 @@ --> http://www.puppycrawl.com/dtds/configuration_1_1.dtd";> +"-//Puppy Crawl//DTD Check Configuration 1.2//EN" +"http://www.puppycrawl.com/dtds/configuration_1_2.dtd";> - - + + + @@ -100,8 +100,7 @@ - - + @@ -126,6 +125,7 @@ + Modified: maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml?rev=165073&r1=165072&r2=165073&view=diff == --- maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml Wed Apr 27 17:32:27 2005 @@ -25,6 +25,9 @@ Emmanuel Venisse + + Upgraded to checkstyle 4.0beta1 + Added new maven.checkstyle.suppressions.fileproperty. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[maven2 build - SUCCESS] Wed Apr 27 20:07:00 EDT 2005
Distribution: http://www.codehaus.org/~maven/m2/m2-20050427.200700.tar.gz Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050427.200700.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
results of synchronize
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/27-Apr-2005_08.01.08' [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 7804 artifacts (Should be 15608 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 activesoap/jars/ activesoap/jars/jaxp-api-1.3.jar checkstyle/jars/ checkstyle/jars/checkstyle-4.0-beta1.jar checkstyle/jars/checkstyle-optional-4.0-beta1.jar last-sync.txt xmlrpc/jars/ xmlrpc/jars/xmlrpc-2.0-beta-applet.jar xmlrpc/jars/xmlrpc-2.0-beta.jar wrote 1480238 bytes read 122 bytes 29314.06 bytes/sec total size is 2530902017 speedup is 1709.65 building file list ... done .index.txt activesoap/ activesoap/jaxp-api/ activesoap/jaxp-api/1.3/ activesoap/jaxp-api/1.3/jaxp-api-1.3.jar activesoap/jaxp-api/1.3/jaxp-api-1.3.jar.md5 activesoap/jaxp-api/1.3/jaxp-api-1.3.jar.sha1 activesoap/jaxp-api/1.3/jaxp-api-1.3.pom activesoap/jaxp-api/1.3/jaxp-api-1.3.pom.md5 activesoap/jaxp-api/1.3/jaxp-api-1.3.pom.sha1 last-sync.txt xmlrpc/xmlrpc/ xmlrpc/xmlrpc/2.0-beta/ xmlrpc/xmlrpc/2.0-beta/xmlrpc-2.0-beta-applet.jar xmlrpc/xmlrpc/2.0-beta/xmlrpc-2.0-beta-applet.jar.md5 xmlrpc/xmlrpc/2.0-beta/xmlrpc-2.0-beta-applet.jar.sha1 xmlrpc/xmlrpc/2.0-beta/xmlrpc-2.0-beta.jar xmlrpc/xmlrpc/2.0-beta/xmlrpc-2.0-beta.jar.md5 xmlrpc/xmlrpc/2.0-beta/xmlrpc-2.0-beta.jar.sha1 xmlrpc/xmlrpc/2.
[jira] Reopened: (MPECLIPSE-62) maven.eclipse.conclasspath is ignored when junit test src is not present
[ http://jira.codehaus.org/browse/MPECLIPSE-62?page=all ] Dan Tran reopened MPECLIPSE-62: --- see my last comment > maven.eclipse.conclasspath is ignored when junit test src is not present > - > > Key: MPECLIPSE-62 > URL: http://jira.codehaus.org/browse/MPECLIPSE-62 > Project: maven-eclipse-plugin > Type: Bug > Versions: 1.9 > Environment: XP, jdk 1.4.2 > Reporter: Dan Tran > Assignee: David Eric Pugh > > > Tracing thru the jelly code and tested it myself, maven-eclipse-plugin > completely ignore the processing of maven.eclipse.conclasspath when the > ${unitTestSourcesPresent} is not true. > the code is in src/plugin-resources/templates/classpath.jelly > is it a 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] Commented: (MPECLIPSE-62) maven.eclipse.conclasspath is ignored when junit test src is not present
[ http://jira.codehaus.org/browse/MPECLIPSE-62?page=comments#action_38249 ] Dan Tran commented on MPECLIPSE-62: --- Can I reopen this? I have to document this work around in my comp, and everyone just seems to forget about this and confusions keep coming back. Would be hard to fix the jelly code right? > maven.eclipse.conclasspath is ignored when junit test src is not present > - > > Key: MPECLIPSE-62 > URL: http://jira.codehaus.org/browse/MPECLIPSE-62 > Project: maven-eclipse-plugin > Type: Bug > Versions: 1.9 > Environment: XP, jdk 1.4.2 > Reporter: Dan Tran > Assignee: David Eric Pugh > > > Tracing thru the jelly code and tested it myself, maven-eclipse-plugin > completely ignore the processing of maven.eclipse.conclasspath when the > ${unitTestSourcesPresent} is not true. > the code is in src/plugin-resources/templates/classpath.jelly > is it a 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: r165071 - /maven/components/trunk/maven-plugins /maven/components/trunk/maven-plugins/maven-site-plugin /maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia /maven/components/trunk/maven-reporting /maven/components/trunk/maven-reporting/maven-reporting-api /maven/components/trunk/maven-reporting/maven-reporting-api/src /maven/components/trunk/maven-reporting/maven-reporting-api/src/main /maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java /maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org /maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache /maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven /maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting /maven/components/trunk/maven-reporting/maven-reporting-manager /maven/components/trunk/maven-reporting/maven-reporting-manager/src /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/resources /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/resources/META-INF /maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/resources/META-INF/plexus
Author: evenisse Date: Wed Apr 27 17:03:26 2005 New Revision: 165071 URL: http://svn.apache.org/viewcvs?rev=165071&view=rev Log: Initial version of reporting integration Added: maven/components/trunk/maven-reporting/ maven/components/trunk/maven-reporting/maven-reporting-api/ maven/components/trunk/maven-reporting/maven-reporting-api/pom.xml maven/components/trunk/maven-reporting/maven-reporting-api/src/ maven/components/trunk/maven-reporting/maven-reporting-api/src/main/ maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/ maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/ maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/ maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/ maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/ maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/AbstractMavenReportRenderer.java maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReport.java maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReportConfiguration.java maven/components/trunk/maven-reporting/maven-reporting-api/src/main/java/org/apache/maven/reporting/MavenReportException.java maven/components/trunk/maven-reporting/maven-reporting-manager/ maven/components/trunk/maven-reporting/maven-reporting-manager/pom.xml maven/components/trunk/maven-reporting/maven-reporting-manager/src/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/DefaultMavenReportManager.java maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/MavenReportManager.java maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/ReportManagerException.java maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/java/org/apache/maven/reporting/manager/ReportNotFoundException.java maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/resources/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/resources/META-INF/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/resources/META-INF/plexus/ maven/components/trunk/maven-reporting/maven-reporting-manager/src/main/resources/META-INF/plexus/components.xml maven/components/trunk/maven-reporting/pom.xml Modified: maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java maven/components/trunk/maven-plugins/pom.xml Modified: maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml?rev=165071&r1=165070&r2=165071&view=diff == --- maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml (original) +++ maven/components/trunk/maven-plugins/maven-site-plugin/pom.xml Wed Apr 27 17:03:26 2005 @@ -30,12 +30,10 @@ wagon-ssh 1.0-alpha-2 - Modified: maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java?rev=165071&r1=165070&r2=165071&view=diff == --- maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java (original) +++ maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java Wed Apr 27 17:03:26 2005 @@ -1,13 +1,19 @@ package org.apache.maven.doxia
[jira] Created: (MPSCM-50) Support starting and ending revision in diff bean/tag
Support starting and ending revision in diff bean/tag - Key: MPSCM-50 URL: http://jira.codehaus.org/browse/MPSCM-50 Project: maven-scm-plugin Type: Improvement Reporter: jay gitterman Priority: Minor Fix For: 1.5 Attachments: patch.txt I would like to do a scm:diff against a particular revision. Since support for this already exists in the scm library, I have created a patch to expose it through the ScmDiffBean (attached as a patch to scm-1.5-branch). This allows you to script the following: -- 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]
question about maven-project-3.0.0.xsd
Hi, I'm trying to validate my project.xml files against the maven schema at url http://maven.apache.org/xsd/maven-project-3.0.0.xsd. When looking inside this schema I missed the definition of the element artifactId in the project element, so I get a validation error. Maybe this element should be added to the sequence of valid contents for the project element. The element "id" could be made optional, by adding the attribute minOccurs="0". Greetings, Marnix van Bochove - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (MNG-362) inheritance problem
inheritance problem -- Key: MNG-362 URL: http://jira.codehaus.org/browse/MNG-362 Project: m2 Type: Bug Versions: 2.0-alpha-1 Reporter: Peter van de Hoef Attachments: plugin-management-issue.tar.gz I have specified a section in the parent POM which is not inherited by the child POM. The plugin in question is the 'maven-compiler-plugin' which is configured for JDK 1.5 source compatibility. In the parent POM, this setting is effectuated, but not in the child. When compiling the child, the compiler complains about JDK 1.4+ features in the java source. A simple test case is attached to reproduce the problem. The parent POM looks like: Parent POM _test parent 1.0 pom child src org.apache.maven.plugins maven-compiler-plugin 1.0-alpha-2-SNAPSHOT 1.5 1.5 org.apache.maven.plugins maven-compiler-plugin And the child, which inherits from the parent: The section is overridden with a different and, since the of the parent gets lost, it is repeated. Child POM _test child 1.0 pom _test parent 1.0 src2 org.apache.maven.plugins maven-compiler-plugin -- 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
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/27-Apr-2005_04.03.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 7801 artifacts (Should be 15602 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 mevenide/plugins/ mevenide/plugins/maven-eclipse-plugin-plugin-0.3.3.jar wrote 652180 bytes read 364 bytes 2351.51 bytes/sec total size is 2530042894 speedup is 3877.20 building file list ... done .index.txt last-sync.txt wrote 1013549 bytes read 2782 bytes 1237.16 bytes/sec total size is 3369386137 speedup is 3315.24 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[maven2 build - SUCCESS] Wed Apr 27 14:07:00 EDT 2005
Distribution: http://www.codehaus.org/~maven/m2/m2-20050427.140700.tar.gz Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050427.140700.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r165018 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java
Author: jdcasey Date: Wed Apr 27 10:58:59 2005 New Revision: 165018 URL: http://svn.apache.org/viewcvs?rev=165018&view=rev Log: Cleaning up imports. Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java?rev=165018&r1=165017&r2=165018&view=diff == --- maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java (original) +++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java Wed Apr 27 10:58:59 2005 @@ -18,13 +18,11 @@ import org.apache.maven.model.Dependency; import org.apache.maven.model.DependencyManagement; -import org.apache.maven.model.Goal; import org.apache.maven.model.Model; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginManagement; import org.codehaus.plexus.util.xml.Xpp3Dom; -import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MNG-357) 'build' section of POM does not appears to be inherited
[ http://jira.codehaus.org/browse/MNG-357?page=comments#action_38234 ] John Casey commented on MNG-357: I've committed the fix, but currently don't have a test case in which to verify my code changes (though they are pretty simple). If someone has the time/motivation to build from trunk, and test the inheritance and injection scenarios above, I'd really appreciate it. Otherwise, I'll get to testing this when things calm down a bit. > 'build' section of POM does not appears to be inherited > --- > > Key: MNG-357 > URL: http://jira.codehaus.org/browse/MNG-357 > Project: m2 > Type: Bug > Components: maven-core > Versions: 2.0-alpha-1 > Reporter: Peter van de Hoef > Assignee: John Casey > > > It appears that the section is (completely) inherited if it is not > present in the derived POM, but if a section is specified in the > derived POM, everything from the base POM is thrown away and only the > settings of the derived POM are used. > In my parent POM I have a section which specifies the source > directory and some parameters for the java compiler: > >src > > >org.apache.maven.plugins >maven-compiler-plugin >1.0-alpha-2-SNAPSHOT > >1.5 >1.5 > > > > > In a derived POM, the source directory is different, so a new section > is specified: > >module/src > > The overridden source directory is effectuated in this second POM, but it > appears that the java compiler settings have disappeared (it starts e.g. > complaining about JDK 1.4 features like assertions). If I do not specify a > section in the derived POM, the settings of the base POM are > inherited. -- 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: r165016 - /maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java /maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java
Author: jdcasey Date: Wed Apr 27 10:37:50 2005 New Revision: 165016 URL: http://svn.apache.org/viewcvs?rev=165016&view=rev Log: Fixing per MNG-357. Inheritance/injection of pluginManagement did not follow the same conventions intended and established by that of dependencyManagement. This fix makes the two more consistent, and allows for more local control over plugin configuration. Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java?rev=165016&r1=165015&r2=165016&view=diff == --- maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java (original) +++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java Wed Apr 27 10:37:50 2005 @@ -239,13 +239,16 @@ for ( Iterator it = parentPluginMgmt.getPlugins().iterator(); it.hasNext(); ) { Plugin plugin = (Plugin) it.next(); -if ( !mappedChildPlugins.containsKey( constructPluginKey( plugin ) ) ) + +String pluginKey = constructPluginKey( plugin ); + +if ( !mappedChildPlugins.containsKey( pluginKey ) ) { childPluginMgmt.addPlugin( plugin ); } else { -Plugin childPlugin = (Plugin) mappedChildPlugins.get( constructPluginKey( plugin ) ); +Plugin childPlugin = (Plugin) mappedChildPlugins.get( pluginKey ); if ( childPlugin.getVersion() == null ) { @@ -275,6 +278,10 @@ childGoal.setConfiguration( Xpp3Dom.mergeXpp3Dom( childDom, parentDom ) ); } } + +Xpp3Dom childConfig = (Xpp3Dom) childPlugin.getConfiguration(); +Xpp3Dom parentConfig = (Xpp3Dom) plugin.getConfiguration(); +childPlugin.setConfiguration( Xpp3Dom.mergeXpp3Dom( childConfig, parentConfig ) ); } } } Modified: maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java?rev=165016&r1=165015&r2=165016&view=diff == --- maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java (original) +++ maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java Wed Apr 27 10:37:50 2005 @@ -91,46 +91,18 @@ { plugin.setVersion( def.getVersion() ); } - -Map goalMap = new TreeMap(); - + List pluginGoals = plugin.getGoals(); -if ( pluginGoals != null ) +if( pluginGoals == null || pluginGoals.isEmpty() ) { -for ( Iterator it = pluginGoals.iterator(); it.hasNext(); ) -{ -Goal goal = (Goal) it.next(); - -goalMap.put( goal.getId(), goal ); -} +plugin.setGoals( def.getGoals() ); } - -List defGoals = def.getGoals(); -if ( defGoals != null ) + +Xpp3Dom pluginConfiguration = (Xpp3Dom) plugin.getConfiguration(); +if( pluginConfiguration == null ) { -for ( Iterator it = defGoals.iterator(); it.hasNext(); ) -{ -Goal defaultGoal = (Goal) it.next(); - -Goal localGoal = (Goal) goalMap.get( defaultGoal.getId() ); -if ( localGoal == null ) -{ -goalMap.put( defaultGoal.getId(), defaultGoal ); -} -else -{ -Xpp3Dom goalConfiguration = (Xpp3Dom) localGoal.getConfiguration(); -Xpp3Dom defaultGoalConfiguration =
[jira] Commented: (MNG-357) 'build' section of POM does not appears to be inherited
[ http://jira.codehaus.org/browse/MNG-357?page=comments#action_38233 ] John Casey commented on MNG-357: >From an email I sent to the users@ list regarding plugin configuration, local >overrides, and the pluginManagement section: I'm looking at: - org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler - org.apache.maven.project.injection.DefaultModelDefaultsInjector and here's what I see: - Combination of inherited sections (both parent and child have stuff defined): -- Everything is merged, with locally specified elements overriding ancestor-specified elements in the event of a tie. NOTE: There was a problem with the of a plugin not being merged. I'm fixing this as we speak, although it's not going to be in alpha-1 obviously... :) - Combination of local POM's with [inherited] section: -- HOW IT WORKS: elements (both on and on ) are combined, with ties going to the local configuration (if the elements collide, the local specification wins). The list of goals is accumulated, with the previous note applying to collisions of goals. That is, if the section specifies some goals and their configuration for a given plugin, and the section specifies some goals, the goal definitions from the section are merged into the one from the plugin specification itself. NOTE-TO-SELF: Now that I look at this, it might not be a Good Thing(tm). For instance, how would I suppress a goal that was declared in but allow other goals from that plugin to run? How would I suppress plugin configuration declared similarly? HOW I'M FIXING IT TO WORK: Any or element specified within a plugin in a local POM will negate the usage of the corresponding element in the section for that plugin. This allows users to specify local overrides without having to deal with the accumulation of common settings which are wrong for the local case but which are not overridden in the local POM. It also makes the override mechanism more consistent with . > 'build' section of POM does not appears to be inherited > --- > > Key: MNG-357 > URL: http://jira.codehaus.org/browse/MNG-357 > Project: m2 > Type: Bug > Components: maven-core > Versions: 2.0-alpha-1 > Reporter: Peter van de Hoef > Assignee: John Casey > > > It appears that the section is (completely) inherited if it is not > present in the derived POM, but if a section is specified in the > derived POM, everything from the base POM is thrown away and only the > settings of the derived POM are used. > In my parent POM I have a section which specifies the source > directory and some parameters for the java compiler: > >src > > >org.apache.maven.plugins >maven-compiler-plugin >1.0-alpha-2-SNAPSHOT > >1.5 >1.5 > > > > > In a derived POM, the source directory is different, so a new section > is specified: > >module/src > > The overridden source directory is effectuated in this second POM, but it > appears that the java compiler settings have disappeared (it starts e.g. > complaining about JDK 1.4 features like assertions). If I do not specify a > section in the derived POM, the settings of the base POM are > inherited. -- 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: (MNG-357) 'build' section of POM does not appears to be inherited
[ http://jira.codehaus.org/browse/MNG-357?page=all ] John Casey reopened MNG-357: There appears to be a bug in the handling of pluginManagement inheritance and also in the merging of pluginManagement-based data with the local-POM's plugin specification. I'm reopening this in order to track the fix... > 'build' section of POM does not appears to be inherited > --- > > Key: MNG-357 > URL: http://jira.codehaus.org/browse/MNG-357 > Project: m2 > Type: Bug > Components: maven-core > Versions: 2.0-alpha-1 > Reporter: Peter van de Hoef > > > It appears that the section is (completely) inherited if it is not > present in the derived POM, but if a section is specified in the > derived POM, everything from the base POM is thrown away and only the > settings of the derived POM are used. > In my parent POM I have a section which specifies the source > directory and some parameters for the java compiler: > >src > > >org.apache.maven.plugins >maven-compiler-plugin >1.0-alpha-2-SNAPSHOT > >1.5 >1.5 > > > > > In a derived POM, the source directory is different, so a new section > is specified: > >module/src > > The overridden source directory is effectuated in this second POM, but it > appears that the java compiler settings have disappeared (it starts e.g. > complaining about JDK 1.4 features like assertions). If I do not specify a > section in the derived POM, the settings of the base POM are > inherited. -- 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: (MAVENUPLOAD-370) http://kent.dl.sourceforge.net/sourceforge/jena/Jena-2.2.zip
[ http://jira.codehaus.org/browse/MAVENUPLOAD-370?page=comments#action_38231 ] Carlos Sanchez commented on MAVENUPLOAD-370: Please read http://maven.apache.org/reference/repository-upload.html > http://kent.dl.sourceforge.net/sourceforge/jena/Jena-2.2.zip > > > Key: MAVENUPLOAD-370 > URL: http://jira.codehaus.org/browse/MAVENUPLOAD-370 > Project: maven-upload-requests > Type: Task > Reporter: alex soto > > > http://kent.dl.sourceforge.net/sourceforge/jena/Jena-2.2.zip > jena is a semantic web framework for java. I think semantics web is an > emerging technology and so useful in many projects, so i think that would be > great that could be in maven repository. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (MNG-361) warn on detecting plugins in a project's dependency list
warn on detecting plugins in a project's dependency list Key: MNG-361 URL: http://jira.codehaus.org/browse/MNG-361 Project: m2 Type: Bug Components: maven-core Versions: 2.0-alpha-1 Reporter: John Casey Fix For: 2.0-alpha-3 Normally, plugins should not be allowed in the project's list of dependencies. We need to examine whether this is ever a legal thing to do, and either warn or provide an error if we detect 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]
results of synchronize
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/27-Apr-2005_12.02.48' [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 7801 artifacts (Should be 15602 rewrites including POMs). [INFO] Actual number of artifacts rewritten: 2 (4 including POMs). [WARNING] Warning encountered while rewriting one or more artifacts from source repository to target repository. building file list ... done activesoap/jars/ activesoap/jars/jaxb-xalan-1.5.jar activesoap/jars/jaxb-xercesImpl-1.5.jar last-sync.txt wrote 10942595 bytes read 74 bytes 21647.22 bytes/sec total size is 2530042975 speedup is 231.21 building file list ... done .index.txt activesoap/ activesoap/jaxb-xalan/ activesoap/jaxb-xalan/1.5/ activesoap/jaxb-xalan/1.5/jaxb-xalan-1.5.jar activesoap/jaxb-xalan/1.5/jaxb-xalan-1.5.jar.md5 activesoap/jaxb-xalan/1.5/jaxb-xalan-1.5.jar.sha1 activesoap/jaxb-xalan/1.5/jaxb-xalan-1.5.pom activesoap/jaxb-xalan/1.5/jaxb-xalan-1.5.pom.md5 activesoap/jaxb-xalan/1.5/jaxb-xalan-1.5.pom.sha1 activesoap/jaxb-xercesImpl/ activesoap/jaxb-xercesImpl/1.5/ activesoap/jaxb-xercesImpl/1.5/jaxb-xercesImpl-1.5.jar activesoap/jaxb-xercesImpl/1.5/jaxb-xercesImpl-1.5.jar.md5 activesoap/jaxb-xercesImpl/1.5/jaxb-xercesImpl-1.5.jar.sha1 activesoap/jaxb-xercesImpl/1.5/jaxb-xercesImpl-1.5.pom activesoap/jaxb-xercesImpl/1.5/jaxb-xercesImpl-1.5.pom.md5 activesoap/jaxb-xercesImpl/1.5/jaxb-xercesImpl-1.5.pom.sha1 last-sync.txt org/codehaus/modello/modello-plugin-jpox/1.0-alpha-2-SNAPSHOT/ org/
[maven2 build - SUCCESS] Wed Apr 27 12:07:00 EDT 2005
Distribution: http://www.codehaus.org/~maven/m2/m2-20050427.120700.tar.gz Log: http://www.codehaus.org/~maven/m2-build-logs/m2-build-log-20050427.120700.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r164990 - /maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator /maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/jelly /maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java /maven/components/trunk/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources
Author: jdcasey Date: Wed Apr 27 08:11:28 2005 New Revision: 164990 URL: http://svn.apache.org/viewcvs?rev=164990&view=rev Log: Modifying the mojo generators to handle alias, and other missing elements where appropriate. Changed the resources mojos to be as trim as I can, and added @required to the field-level annotations (this might be a good thing to do for all plexus components, dunno if it's there already)...finally, trimmed up the annotation handling in the JavaMojoDescriptorExtractor to push as many annotation fields as possible into the endangered area, and started pulling as much info from the field, other companion annotations on the field, etc. as I can...I think the annotations are there, now. They need to be cleaned up after converting all the core plugins to use field-level annotations, then we're set. Modified: maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/BeanGenerator.java maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/jelly/JellyHarnessGenerator.java maven/components/trunk/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java maven/components/trunk/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java maven/components/trunk/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/TestResourcesMojo.java Modified: maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/BeanGenerator.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/BeanGenerator.java?rev=164990&r1=164989&r2=164990&view=diff == --- maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/BeanGenerator.java (original) +++ maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/BeanGenerator.java Wed Apr 27 08:11:28 2005 @@ -33,6 +33,9 @@ import java.util.Set; /** + * [JC] Is this class defunct now? I can't find o.a.m.plugin.BeanPluginAdapter in the codebase... + * I'm not going to edit this class to account for aliases, deprecation, etc. until I know. + * * @todo use the descriptions in the descriptor for the javadoc pushed into the * source code. */ Modified: maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java?rev=164990&r1=164989&r2=164990&view=diff == --- maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java (original) +++ maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java Wed Apr 27 08:11:28 2005 @@ -181,6 +181,11 @@ w.startElement( "parameter" ); element( w, "name", parameter.getName() ); + +if( parameter.getAlias() != null ) +{ +element( w, "alias", parameter.getAlias() ); +} element( w, "type", parameter.getType() ); Modified: maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java?rev=164990&r1=164989&r2=164990&view=diff == --- maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java (original) +++ maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java Wed Apr 27 08:11:28 2005 @@ -19,6 +19,7 @@ import org.apache.maven.plugi
[jira] Created: (MPJAVADOC-56) other doclets cannot use standard doclet parameters
other doclets cannot use standard doclet parameters --- Key: MPJAVADOC-56 URL: http://jira.codehaus.org/browse/MPJAVADOC-56 Project: maven-javadoc-plugin Type: Bug Versions: 1.7 Environment: ydoc Reporter: Kenneth Leider Assigned to: Arnaud HERITIER I am using ydoc, an extension to the standard doclet. A new check in the javadoc plugin prevents the use of the standard doclet parameters 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: (MPWAR-30) [PATCH] Option to pack project classes inside a JAR into WEB-INF/lib
[ http://jira.codehaus.org/browse/MPWAR-30?page=comments#action_38219 ] Felipe Leme commented on MPWAR-30: -- I was going to mark this as "Won't Fix" because it kind of goes against Maven way of doing thing (in other words, there should be a JAR project, a WAR project and a multi-project in this case), besides the fact of the jar goal being called twice. But then I realized there are 3 votes for this issue. So, what should we do, keep it open, discuss the solution again or mark it as 'Won't Fix'? -- Felipe > [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]
results of synchronize
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/27-Apr-2005_08.03.45' [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 7799 artifacts (Should be 15598 rewrites including POMs). [INFO] Actual number of artifacts rewritten: 8 (16 including POMs). [WARNING] Warning encountered while rewriting one or more artifacts from source repository to target repository. building file list ... done activecluster/poms/ activecluster/poms/activecluster-1.1-SNAPSHOT.pom activesoap/jars/ activesoap/jars/activesoap-1.0-SNAPSHOT.jar activesoap/jars/jaxb-api-1.5.jar activesoap/jars/jaxb-impl-1.5.jar activesoap/jars/jaxb-libs-1.5.jar activesoap/jars/jaxb-xjc-1.5.jar activesoap/jars/relaxngDatatype-1.5.jar activesoap/jars/xercesImpl-1.5.jar activesoap/jars/xsdlib-1.5.jar activesoap/poms/ activesoap/poms/activesoap-1.0-SNAPSHOT.pom last-sync.txt wrote 9564283 bytes read 916 bytes 92417.38 bytes/sec total size is 2519722410 speedup is 263.43 building file list ... done .index.txt activesoap/ 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 activesoap/activesoap/1.0-SNAPSHOT/activesoap-1.0-SNAPSHOT.pom.md5 activesoap/activesoap/1.0-SNAPSHOT/activesoap-1.0-SNAPSHOT.pom.sha1 activesoap/jaxb-api/ activesoap/jaxb-api/1.5/ activesoap/jaxb-api/1.5/jaxb-api-1.5.jar act
[jira] Created: (MAVENUPLOAD-370) http://kent.dl.sourceforge.net/sourceforge/jena/Jena-2.2.zip
http://kent.dl.sourceforge.net/sourceforge/jena/Jena-2.2.zip Key: MAVENUPLOAD-370 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-370 Project: maven-upload-requests Type: Task Reporter: alex soto http://kent.dl.sourceforge.net/sourceforge/jena/Jena-2.2.zip jena is a semantic web framework for java. I think semantics web is an emerging technology and so useful in many projects, so i think that would be great that could be in maven repository. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (MNG-360) Move artifact filters from the runtime builder in plexus to maven-artifact
Move artifact filters from the runtime builder in plexus to maven-artifact -- Key: MNG-360 URL: http://jira.codehaus.org/browse/MNG-360 Project: m2 Type: Task Components: maven-artifact Reporter: Trygve Laugstol In the AbstractBuilder[1] there are a some artifact filters that are generally usable. Make sure to update the runtime builder when this is done. http://cvs.plexus.codehaus.org/plexus/plexus-tools/plexus-runtime-builder/src/main/java/org/codehaus/plexus/builder/AbstractBuilder.java?rev=1.24&view=auto -- 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: (MPJCOVERAGE-28) Instrumentation fails on windows due to command line arg length.
Instrumentation fails on windows due to command line arg length. Key: MPJCOVERAGE-28 URL: http://jira.codehaus.org/browse/MPJCOVERAGE-28 Project: maven-jcoverage-plugin Type: Bug Versions: 1.0.9 Environment: Windows XP Professional Version 2002, SP 2, Java 1.4.1, Maven 1.02, Pentium IV 2.26 GHZ, 1 GB Ram Reporter: Achim Westermann Assigned to: Emmanuel Venisse When starting with a clean project jcoverage fails when compiling the test classes to it's maven.jcoverage.dir with tons of "cannot resolve symbol" errors. The underlying error has already happend before. Instrumentation failed: [instrument] [ERROR] java.io.IOException: CreateProcess: C:\j2sdk1.4.1\jre\bin\java.exe -classpath "C:\Dokumente und Einstellungen\westermann\.maven\repository\jcoverage\jars\jcoverage-1.0.5.jar;C:\Dokumente und Einstellungen\westermann\.maven\repository\bcel\jars\bcel-5.1.jar;C:\Dokumente und Einstellungen\westermann\.maven\repository\urbanophile\jars\java-getopt-1.0.9.jar;C:\Dokumente und Einstellungen\westermann\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Dokumente und Einstellungen\westermann\.maven\repository\oro\jars\oro-2.0.7.jar;C:\Dokumente und Einstellungen\westermann\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Dokumente und Einstellungen\westermann\.maven\repository\xerces\jars\xercesImpl-2.6.2.jar;C:\Dokumente und Einstellungen\westermann\.maven\repository\xerces\jars\xmlParserAPIs-2.2.1.jar" com.jcoverage.coverage.Instrument -d C:\build\jcoverage\classes -basedir C:\build\classes org\opencms\workplace\CmsWorkplace.class org\opencms\main\CmsRuntimeException.class org\opencms\file\TestSiblings$1.class com\opencms\workplace\CmsRepla? This leads to the fact that the classes required by the test sources which should be the instrumented ones are not in maven.jcoverage.dir thus missing from jcoverage classpath. Occurrance: Only on Windows, not on RH Linux 7.3. Assumption: On Windows the maximum command line length is exceeded. I have experienced similar behaviour in build-systems with makefile before. Look at the trainling '?' -> The argument seems to have been truncated. The error hits back to the current process at the process creation for the instrumentation task. Suggestion: A) Perhaps use files for the arguments and a new -file argument to the com.jcoverage.coverage.Instrument class. Or lay open the underlying fork argument of the ANT javac task: Without forking this would not happen. The fallback could be possible memory problems. B) Fail the goal immediately when instrumentation fails. Errors that result are hard to find. Thanks for jcoverage, Achim -- 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: (MPXDOC-128) Internationalized Websites
[ http://jira.codehaus.org/browse/MPXDOC-128?page=comments#action_38206 ] Daniel Frey commented on MPXDOC-128: Ok, a simple adaptation resolved the issue with the model. Adapting project.xml of the plugin and replace maven maven-model 1.1 jar with maven maven-model 1.1-SNAPSHOT jar works fine. Daniel Frey > Internationalized Websites > -- > > Key: MPXDOC-128 > URL: http://jira.codehaus.org/browse/MPXDOC-128 > Project: maven-xdoc-plugin > Type: Improvement > Versions: 1.9 > Environment: All > Reporter: Daniel Frey > Assignee: Arnaud HERITIER > Attachments: Default language.jpg, French site.jpg, dummy.zip, > maven-xdoc-plugin-1.9-SNAPSHOT.zip > > Original Estimate: 16 hours > Remaining: 16 hours > > Documentation generated by maven xdocs plugin does not support > internationalization. The main scope therefore is restricted to developers. > However, end user documentation is as well a very suitable scope for mavens > web site. I therefore would appreciate an internationalizable xdocs plugin. I > consider this an important feature, as it opens maven to new people. -- 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: (MPXDOC-128) Internationalized Websites
[ http://jira.codehaus.org/browse/MPXDOC-128?page=comments#action_38205 ] Daniel Frey commented on MPXDOC-128: Hello Vincent, When installing the plugin I have come across a small problem I just want to feedback here. The snapshot zip contains a directory with the plugin, which in turn has to be jared to be deployed correctly. It would be perfect to have a jar/zip with the plugin structure inside (no folder). Thanks, Daniel Frey > Internationalized Websites > -- > > Key: MPXDOC-128 > URL: http://jira.codehaus.org/browse/MPXDOC-128 > Project: maven-xdoc-plugin > Type: Improvement > Versions: 1.9 > Environment: All > Reporter: Daniel Frey > Assignee: Arnaud HERITIER > Attachments: Default language.jpg, French site.jpg, dummy.zip, > maven-xdoc-plugin-1.9-SNAPSHOT.zip > > Original Estimate: 16 hours > Remaining: 16 hours > > Documentation generated by maven xdocs plugin does not support > internationalization. The main scope therefore is restricted to developers. > However, end user documentation is as well a very suitable scope for mavens > web site. I therefore would appreciate an internationalizable xdocs plugin. I > consider this an important feature, as it opens maven to new people. -- 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: (MPXDOC-128) Internationalized Websites
[ http://jira.codehaus.org/browse/MPXDOC-128?page=comments#action_38204 ] Daniel Frey commented on MPXDOC-128: Hello Vincent, Thank for your great work! Good job! Now I would like to test it. I have tried to install the maven-xdoc-plugin-1.9 snapshot using maven 1.0.2. I deleted the old plugin in the plugins directory within maven installation directory. Running maven site, everything works fine so far: plugin maven-xdoc-plugin-1.8 is cached (dynatag dep) but no longer present Cache invalidated due to out of date plugins But then I get the following error: Attempting to download commons-jelly-1.0-beta-4.jar. 159K downloaded Attempting to download maven-model-1.1.jar. WARNING: Failed to download maven-model-1.1.jar. Attempting to download commons-jelly-tags-fmt-1.0.jar. 21K downloaded BUILD FAILED File.. C:\Dokumente und Einstellungen\Daniel Frey\.maven\cache\maven-site-plugin-1.5.2\plugin.jelly Element... attainGoal Line.. 40 Column 42 The build cannot continue because of the following unsatisfied dependency: maven-model-1.1.jar It seems that this 1.9-SNAPSHOT is relying on a maven-model release not available. How can I resolve this issue? Thanks, Daniel Frey > Internationalized Websites > -- > > Key: MPXDOC-128 > URL: http://jira.codehaus.org/browse/MPXDOC-128 > Project: maven-xdoc-plugin > Type: Improvement > Versions: 1.9 > Environment: All > Reporter: Daniel Frey > Assignee: Arnaud HERITIER > Attachments: Default language.jpg, French site.jpg, dummy.zip, > maven-xdoc-plugin-1.9-SNAPSHOT.zip > > Original Estimate: 16 hours > Remaining: 16 hours > > Documentation generated by maven xdocs plugin does not support > internationalization. The main scope therefore is restricted to developers. > However, end user documentation is as well a very suitable scope for mavens > web site. I therefore would appreciate an internationalizable xdocs plugin. I > consider this an important feature, as it opens maven to new people. -- 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]