cvs commit: maven-plugins/ear/src/plugin-test/src/application/META-INF MANIFEST.MF
dion2004/03/15 02:49:02 Modified:ear/src/plugin-test/src/application/META-INF MANIFEST.MF Log: *** keyword substitution change *** Revision ChangesPath 1.2 +1 -1 maven-plugins/ear/src/plugin-test/src/application/META-INF/MANIFEST.MF Index: MANIFEST.MF === RCS file: /home/cvs/maven-plugins/ear/src/plugin-test/src/application/META-INF/MANIFEST.MF,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MANIFEST.MF 22 Sep 2003 01:21:48 - 1.1 +++ MANIFEST.MF 15 Mar 2004 10:49:02 - 1.2 @@ -1 +1 @@ -mung: beans +mung: beans - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/ear/src/plugin-test/src/resources - New directory
dion2004/03/15 02:53:50 maven-plugins/ear/src/plugin-test/src/resources - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/ear/src/plugin-test/src/resources resource.txt
dion2004/03/15 02:54:10 Modified:ear/xdocs changes.xml ear project.xml plugin.properties plugin.jelly ear/src/plugin-test maven.xml project.xml Added: ear/src/plugin-test/src/resources resource.txt Log: - Check to make sure maven.ear.src exists before using it. - Allow resources in the pom for EAR projects - remove debug echos - add a test for resources in the pom Revision ChangesPath 1.16 +6 -0 maven-plugins/ear/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/ear/xdocs/changes.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- changes.xml 7 Mar 2004 00:25:18 - 1.15 +++ changes.xml 15 Mar 2004 10:54:10 - 1.16 @@ -24,6 +24,12 @@ author email=[EMAIL PROTECTED]Nathan Coast/author /properties body +release version=1.5 date=in CVS + action dev=dion type=fix +Check to make sure maven.ear.src exists before using it. + /action + action dev=dion type=updateAllow resources in EAR projects/action +/release release version=1.4 date=2004-03-07 action dev=dion type=fix issue=MPEAR-14Introduced ear.module property to mark jars as being java client modules/action action dev=dion type=updateAdded to the plugin tests a check to make sure the ear includes the jars marked by ear.bundle and ear.module and that ear.module generates a java module in the generated application.xml/action 1.24 +2 -2 maven-plugins/ear/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/ear/project.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- project.xml 7 Mar 2004 00:25:18 - 1.23 +++ project.xml 15 Mar 2004 10:54:10 - 1.24 @@ -23,7 +23,7 @@ pomVersion3/pomVersion idmaven-ear-plugin/id nameMaven EAR Plugin/name - currentVersion1.4/currentVersion + currentVersion1.5-SNAPSHOT/currentVersion descriptionEar Plugin for Maven/description shortDescriptionEar Plugin for Maven/shortDescription urlhttp://maven.apache.org/reference/plugins/ear//url @@ -46,7 +46,7 @@ version id1.2/id name1.2/name - tagHEAD/tag + tagMAVEN_EAR_1_2/tag /version /versions developers 1.6 +1 -0 maven-plugins/ear/plugin.properties Index: plugin.properties === RCS file: /home/cvs/maven-plugins/ear/plugin.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- plugin.properties 4 Mar 2004 18:04:27 - 1.5 +++ plugin.properties 15 Mar 2004 10:54:10 - 1.6 @@ -30,3 +30,4 @@ maven.ear.appxml.generate=false maven.ear.displayname=${pom.id} maven.ear.appxml.version=1.3 +maven.ear.resources=${maven.build.dir}/ear \ No newline at end of file 1.18 +15 -4 maven-plugins/ear/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/ear/plugin.jelly,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- plugin.jelly 4 Mar 2004 18:04:27 - 1.17 +++ plugin.jelly 15 Mar 2004 10:54:10 - 1.18 @@ -21,10 +21,11 @@ project xmlns:j=jelly:core xmlns:ant=jelly:ant + xmlns:artifact=artifact xmlns:license=license + xmlns:maven=jelly:maven xmlns:util=jelly:util xmlns:x=jelly:xml - xmlns:artifact=artifact !--==-- @@ -63,9 +64,12 @@ ant:ear destfile=${maven.build.dir}/${maven.final.name}.ear appxml=${maven.ear.appxml} - fileset dir=${maven.ear.src} casesensitive=false -excludes=**/META-INF/application.xml/ - + !-- include files from maven.ear.src if available -- + util:available file=${maven.ear.src} +fileset dir=${maven.ear.src} casesensitive=false + excludes=**/META-INF/application.xml/ + /util:available + !-- include marked dependencies -- j:forEach var=lib items=${pom.artifacts} j:set var=dep value=${lib.dependency}/ @@ -111,6 +115,13 @@ value=${pom.organization.name} / /ant:section /ant:manifest + + j:if test=${!pom.build.resources.isEmpty()} +mkdir dir=${maven.ear.resources}/ +maven:copy-resources resources=${pom.build.resources} todir=${maven.ear.resources}/ +fileset dir=${maven.ear.resources} / + /j:if +
cvs commit: maven-plugins/ear/xdocs faq.fml navigation.xml properties.xml
dion2004/03/15 03:08:55 Modified:ear/xdocs navigation.xml properties.xml Added: ear/xdocs faq.fml Log: - Document maven.ear.src property - Document maven.ear.resources property - Add FAQ on including resources in an EAR - Add FAQ to navigation - Add FAQ to project reports Revision ChangesPath 1.6 +1 -0 maven-plugins/ear/xdocs/navigation.xml Index: navigation.xml === RCS file: /home/cvs/maven-plugins/ear/xdocs/navigation.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- navigation.xml9 Mar 2004 03:05:17 - 1.5 +++ navigation.xml15 Mar 2004 11:08:55 - 1.6 @@ -29,6 +29,7 @@ menu name=Overview item name=Goals href=/goals.html/ item name=Properties href=/properties.html/ + item name=FAQs href=/faq.html/ /menu menu name=Downloads item name=EAR Plugin 1.3 href=http://www.ibiblio.org/maven/maven/plugins/maven-ear-plugin-1.3.jar/ 1.11 +22 -2 maven-plugins/ear/xdocs/properties.xml Index: properties.xml === RCS file: /home/cvs/maven-plugins/ear/xdocs/properties.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- properties.xml4 Mar 2004 18:04:28 - 1.10 +++ properties.xml15 Mar 2004 11:08:55 - 1.11 @@ -35,7 +35,7 @@ Location of the manifest file to be used within the ear file. /td td -src/application/META-INF/MANIFEST.MF +${maven.src.dir}/application/META-INF/MANIFEST.MF /td /tr tr @@ -46,7 +46,7 @@ to be used within the ear file. /td td -src/application/META-INF/application.xml +${maven.src.dir}/application/META-INF/application.xml /td /tr tr @@ -79,6 +79,26 @@ /td td ${pom.id} + /td +/tr +tr + tdmaven.ear.resources/td + tdYes/td + td +Directory that resources are copied to during the build + /td + td +${maven.build.dir}/ear + /td +/tr +tr + tdmaven.ear.src/td + tdYes/td + td +Single directory for extra files to include in the EAR + /td + td +${maven.src.dir}/application /td /tr /table 1.1 maven-plugins/ear/xdocs/faq.fml Index: faq.fml === ?xml version=1.0 encoding=ISO-8859-1? !-- /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ -- faqs title=Frequently Asked Questions part id=Resources titleResources/title faq id=IncludingResources questionHow do I include other files in my EAR?/question answer pThere are two ways to include other resources in the EAR file/p ol li Using the a href=properties.htmlcodemaven.ear.src/code/a property, you can specify an entire directory to include, or /li li Alternatively, you can use the a href=http://maven.apache.org/reference/project-descriptor.html#resources;resources element/a of the codeproject.xml/code to specify resource across various directory, just as you would for a jar or war project. /li /ol /answer /faq /part /faqs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/ear project.xml
dion2004/03/15 03:09:09 Modified:ear project.xml Log: - Document maven.ear.src property - Document maven.ear.resources property - Add FAQ on including resources in an EAR - Add FAQ to navigation - Add FAQ to project reports Revision ChangesPath 1.25 +1 -1 maven-plugins/ear/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/ear/project.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- project.xml 15 Mar 2004 10:54:10 - 1.24 +++ project.xml 15 Mar 2004 11:09:09 - 1.25 @@ -98,7 +98,7 @@ reportmaven-changelog-plugin/report reportmaven-file-activity-plugin/report reportmaven-developer-activity-plugin/report -reportmaven-file-activity-plugin/report +reportmaven-faq-plugin/report reportmaven-license-plugin/report reportmaven-linkcheck-plugin/report /reports - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/plugin plugin.jelly
dion2004/03/15 03:47:05 Modified:plugin/xdocs changes.xml plugin plugin.jelly Log: - Add optional msg attribute to assertFileExists and assertEquals tags Revision ChangesPath 1.15 +3 -0 maven-plugins/plugin/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/plugin/xdocs/changes.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- changes.xml 8 Mar 2004 22:26:11 - 1.14 +++ changes.xml 15 Mar 2004 11:47:05 - 1.15 @@ -25,6 +25,9 @@ /properties body release version=1.3-SNAPSHOT date=in CVS + action dev=dion type=update +Add optional msg attribute to assertFileExists and assertEquals tags + /action action dev=brett type=fix issue=MPPLUGIN-12 Don't uninstall incorrect plugins when running plugin:download /action 1.33 +6 -2 maven-plugins/plugin/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/plugin/plugin.jelly,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- plugin.jelly 8 Mar 2004 22:26:11 - 1.32 +++ plugin.jelly 15 Mar 2004 11:47:05 - 1.33 @@ -277,14 +277,18 @@ define:taglib uri=assert define:tag name=assertFileExists !-- @file : Full file path -- + !-- @msg : optional message to be displayed -- u:file var=fileAsFile name=${file}/ j:if test=${!(fileAsFile.exists())} -ant:fail${file} does not exist/ant:fail +ant:fail${file} does not exist.${msg}/ant:fail /j:if /define:tag define:tag name=assertEquals + !-- @expected : the expected value -- + !-- @actual: the actual value -- + !-- @msg : optional message to be displayed -- j:if test=${not(expected.equals(value))} -ant:failExpected [${expected}] but got [${value}]/ant:fail +ant:failExpected [${expected}] but got [${value}].${msg}/ant:fail /j:if /define:tag /define:taglib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/ear/src/plugin-test project.properties maven.xml
dion2004/03/15 03:51:29 Modified:ear/src/plugin-test project.properties maven.xml Log: - Add a test for the license being included in the EAR - Add a property so that the license is included in the test project - Use the assert tags from the plugin plugin Revision ChangesPath 1.4 +3 -0 maven-plugins/ear/src/plugin-test/project.properties Index: project.properties === RCS file: /home/cvs/maven-plugins/ear/src/plugin-test/project.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- project.properties4 Mar 2004 18:04:27 - 1.3 +++ project.properties15 Mar 2004 11:51:29 - 1.4 @@ -17,3 +17,6 @@ maven.deployable.component=${maven.final.name}.ear maven.j2ee.ear.appxml=${maven.conf.dir}/application.xml maven.ear.appxml.generate=true +# note the override below is needed, as the ear plugin redefines the licenseFile in +# it's own project.properties, and running plugin:test would otherwise fail +maven.license.licenseFile=${basedir}/LICENSE.txt \ No newline at end of file 1.7 +20 -27maven-plugins/ear/src/plugin-test/maven.xml Index: maven.xml === RCS file: /home/cvs/maven-plugins/ear/src/plugin-test/maven.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- maven.xml 15 Mar 2004 10:54:10 - 1.6 +++ maven.xml 15 Mar 2004 11:51:29 - 1.7 @@ -15,7 +15,11 @@ * limitations under the License. */ -- -project xmlns:j=jelly:core xmlns:u=jelly:util xmlns:x=jelly:xml xmlns:j2ee=j2ee +project xmlns:j=jelly:core + xmlns:u=jelly:util + xmlns:x=jelly:xml + xmlns:assert=assert + xmlns:j2ee=j2ee goal name=testPlugin prereqs=test-ear attainGoal name=clean/ @@ -25,12 +29,7 @@ attainGoal name=ear/ !-- tests that the ear is generated -- -j:set var=expectedFile - value=${maven.build.dir}/test-maven-ear-plugin-1.0-SNAPSHOT.ear/ -u:file var=file name=${expectedFile} / -j:if test=${!(file.exists())} - fail${expectedFile} not generated/fail -/j:if +assert:assertFileExists file=${maven.build.dir}/test-maven-ear-plugin-1.0-SNAPSHOT.ear/ !-- unzip the ear and look for the jars -- j:set var=earFile @@ -38,18 +37,14 @@ j:set var=unzipDir value= ${maven.build.dir}/eartest/ mkdir dir=${unzipDir}/ unzip src=${earFile} dest=${unzipDir}/ + !-- check for commons-logging -- -j:set var=expectedFile value=${unzipDir}/commons-logging-1.0.3.jar/ -u:file var=file name=${expectedFile} / -j:if test=${!(file.exists())} - fail${expectedFile} not bundled/fail -/j:if +assert:assertFileExists file=${unzipDir}/commons-logging-1.0.3.jar + msg=commons logging was not bundled/ + !-- check for commons-collections -- -j:set var=expectedFile value=${unzipDir}/commons-collections-2.1.jar/ -u:file var=file name=${expectedFile} / -j:if test=${!(file.exists())} - fail${expectedFile} not bundled/fail -/j:if +assert:assertFileExists file=${unzipDir}/commons-collections-2.1.jar + msg=commons collections was not bundled/ !-- check application.xml got a java module in it -- u:file var=appXml name=${unzipDir}/META-INF/application.xml/ @@ -59,18 +54,16 @@ x:parse var=applicationDoc xml=${appXml.toURL()} SAXReader=${saxReader} / x:set var=firstJavaModule select=string($applicationDoc/application/module/java)/ -j:if test=${firstJavaModule != 'commons-collections-2.1.jar'} - fail -commons-collections-2.1.jar not bundled as a java module found '${firstJavaModule}' instead - /fail -/j:if +assert:assertEquals + expected=commons-collections-2.1.jar + value=${firstJavaModule} + msg=commons collections was not the first java module/ !-- check for resources -- -j:set var=expectedFile value=${unzipDir}/resource.txt/ -u:file var=file name=${expectedFile} / -j:if test=${!(file.exists())} - fail${expectedFile} not bundled as a resource/fail -/j:if +assert:assertFileExists file=${unzipDir}/resource.txt/ + +!-- check for the LICENSE -- +assert:assertFileExists file=${unzipDir}/META-INF/LICENSE.txt/ /goal /project - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
plugin plugin's assert tag library
Hey Vincent, thanks for adding those assert tags to the plugin plugin for testing. I'd been meaning to do it, but never got around to it :-) I just did a small amount of work on the ear plugin, and it makes writing plugin tests a whole load easier, thanks. -- dIon Gillard, Multitask Consulting
RE: plugin plugin's assert tag library
I'm glad they were useful! :-) Thanks -Vincent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 13:00 To: [EMAIL PROTECTED] Subject: plugin plugin's assert tag library Hey Vincent, thanks for adding those assert tags to the plugin plugin for testing. I'd been meaning to do it, but never got around to it :-) I just did a small amount of work on the ear plugin, and it makes writing plugin tests a whole load easier, thanks. -- dIon Gillard, Multitask Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (MPPMD-7) Errors when executing maven pmd:cpd-report
Message: A new issue has been created in JIRA. - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPPMD-7 Here is an overview of the issue: - Key: MPPMD-7 Summary: Errors when executing maven pmd:cpd-report Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-pmd-plugin Assignee: Jason van Zyl Reporter: Kristof Van Cleemput Created: Mon, 15 Mar 2004 9:53 AM Updated: Mon, 15 Mar 2004 9:53 AM Description: * Errors when executing maven pmd:cpd-report After doing a maven clean I do maven pmd:cpd-report but I get errors because the target and after that generated-xdocs don't exist. * There should be similar tag for cpd or the pmd should do it also (reportmaven-pmd-plugin/report) - JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (MAVEN-1200) maven clean doesn't clean the maven.build.dest directory
Message: A new issue has been created in JIRA. - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1200 Here is an overview of the issue: - Key: MAVEN-1200 Summary: maven clean doesn't clean the maven.build.dest directory Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Components: core Versions: 1.0-rc2 Assignee: Reporter: Kristof Van Cleemput Created: Mon, 15 Mar 2004 10:04 AM Updated: Mon, 15 Mar 2004 10:04 AM Description: When doing a maven clean the maven.build.dest dir isn't cleaned. This can cause a lot of errors: * When refactoring, the new and old files are both in the maven.build.dest. * When changing the resources the old resources are still in the maven.build.dest. * In some cases you get exceptions because some classes aren't recompilled when they should. * When having multiprojects like the maven plugins the building process is often broken because one of these errors. - JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [proposal] Modification of reactor tag to support lifecycle interception points
On Mon, 2004-03-15 at 07:54, Vincent Massol wrote: Hi committers, On our project, we need some finer control of what happens during the lifecycle of the reactor tag. We are about to make some change to it. Of course, we'd like to commit back these changes. I'm just testing the waters here to see if you'd be happy with those changes. We are proposing to support the following usage: reactor [...] beforeProject[...]/beforeProject onFailure exceptionVar=exception[...]/onFailure afterProject[...]/afterProject /reactor The beforeProject, onFailure and afterProject tags are optional of course and allow implementing some custom logic using Jelly. The nested logic will be executed in the project's context and thus the usual ${pom} and other properties are available. Ok to commit this when we have it working? +1 You are going to commit it to HEAD I assume? We're just in the middle of playing around with the rc2 release atm. Thanks -Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven-components/maven-plugins reorg
Emmanuel, I'm going to shuffle around the plugins to match: http://cvs.codehaus.org/viewcvs.cgi/plexus/plexus-component-factories/bsh/src/java/org/codehaus/plexus/component/factory/bsh/BshComponentFactory.java?rev=1.2root=codehausview=auto And move the plugins over to the single plugin.xml descriptor. I shouldn't be long. I'm just going to reimport the whole lot. -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-components/maven-model maven.mdo
jvanzyl 2004/03/15 11:05:39 Modified:maven-model maven.mdo Log: o adding some comments Revision ChangesPath 1.22 +7 -0 maven-components/maven-model/maven.mdo Index: maven.mdo === RCS file: /home/cvs/maven-components/maven-model/maven.mdo,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- maven.mdo 10 Mar 2004 23:23:02 - 1.21 +++ maven.mdo 15 Mar 2004 19:05:39 - 1.22 @@ -328,6 +328,7 @@ target. /description typeString/type + commentThis should be moved out of the build section. Vestigal for use with Gump./comment /field field namesourceDirectory/name @@ -588,6 +589,12 @@ typeString/type /field /fields + comment +We could probably have a specific element for a dev mailing list for +things like CI, and maybe even a specific element for the user and scm +mailing lists. Then leave the more lose structure for any other type +of mailing list. + /comment /class class nameOrganization/name - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-components/maven-core/src/java/org/apache/maven/plugin/descriptor - New directory
jvanzyl 2004/03/15 11:26:20 maven-components/maven-core/src/java/org/apache/maven/plugin/descriptor - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-components/maven-core/src/java/org/apache/maven plexus.xml
jvanzyl 2004/03/15 11:28:17 Modified:maven-core/src/java/org/apache/maven plexus.xml Log: o add configuration for the MavenPluginDiscoverer Revision ChangesPath 1.4 +6 -0 maven-components/maven-core/src/java/org/apache/maven/plexus.xml Index: plexus.xml === RCS file: /home/cvs/maven-components/maven-core/src/java/org/apache/maven/plexus.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- plexus.xml15 Feb 2004 08:17:09 - 1.3 +++ plexus.xml15 Mar 2004 19:28:16 - 1.4 @@ -1,5 +1,11 @@ configuration + component-discoverer-manager implementation=org.codehaus.plexus.component.discovery.DefaultComponentDiscovererManager +component-discoverers + component-discoverer implementation=org.apache.maven.plugin.plexus.discovery.MavenPluginDiscoverer/ +/component-discoverers + /component-discoverer-manager + resources jar-repository${maven.home}/plugins/plexus/jar-repository /resources - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-components/maven-core/src/test/org/apache/maven/plugin PluginConfiguratorTest.java PluginDescriptorBuilderTest.java
jvanzyl 2004/03/15 11:30:34 Modified:maven-core bootstrap.sh maven-core/src/java/org/apache/maven/plugin DefaultPluginManagerManager.java PluginManager.java maven-core/src/java/org/apache/maven/plugin/plexus PlexusPluginManager.java PluginConfigurator.java maven-core/src/test/org/apache/maven/plugin PluginDescriptorBuilderTest.java Added: maven-core/src/java/org/apache/maven/plugin/descriptor GoalDescriptor.java PluginDescriptor.java PluginDescriptorBuilder.java maven-core/src/test/org/apache/maven/plugin PluginConfiguratorTest.java Removed: maven-core/src/java/org/apache/maven/plugin PluginDescriptor.java PluginDescriptorBuilder.java Log: o we are now using a single plugin.xml descriptor along with a customized plexus component discoverer made specifically for finding Maven plugins. Revision ChangesPath 1.6 +2 -1 maven-components/maven-core/bootstrap.sh Index: bootstrap.sh === RCS file: /home/cvs/maven-components/maven-core/bootstrap.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- bootstrap.sh 11 Mar 2004 20:30:39 - 1.5 +++ bootstrap.sh 15 Mar 2004 19:30:33 - 1.6 @@ -23,7 +23,8 @@ cp src/bin/* ${DIST}/bin libs=`cat bootstrap.deps` -cp src/xsd/* ${DIST} + +cp ../maven-model/maven.xsd ${DIST} for i in $libs do 1.11 +9 -3 maven-components/maven-core/src/java/org/apache/maven/plugin/DefaultPluginManagerManager.java Index: DefaultPluginManagerManager.java === RCS file: /home/cvs/maven-components/maven-core/src/java/org/apache/maven/plugin/DefaultPluginManagerManager.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- DefaultPluginManagerManager.java 12 Mar 2004 22:40:33 - 1.10 +++ DefaultPluginManagerManager.java 15 Mar 2004 19:30:33 - 1.11 @@ -57,6 +57,9 @@ */ import org.apache.maven.GoalException; +import org.apache.maven.plugin.descriptor.GoalDescriptor; +import org.apache.maven.plugin.descriptor.PluginDescriptor; +import org.apache.maven.plugin.descriptor.PluginDescriptorBuilder; import org.apache.maven.project.MavenProject; import org.apache.maven.project.MavenProjectBuilder; import org.apache.maven.verifier.DependencyVerifier; @@ -171,9 +174,9 @@ } } -private PluginDescriptor.GoalDescriptor getGoalDescriptor( String name ) +private GoalDescriptor getGoalDescriptor( String name ) { -return (PluginDescriptor.GoalDescriptor) goalDescriptorsKeyedByName.get( name ); +return (GoalDescriptor) goalDescriptorsKeyedByName.get( name ); } public void contextualize( Context context ) @@ -206,7 +209,7 @@ for ( Iterator j = goals.iterator(); j.hasNext(); ) { -PluginDescriptor.GoalDescriptor goalDescriptor = (PluginDescriptor.GoalDescriptor) j.next(); +GoalDescriptor goalDescriptor = (GoalDescriptor) j.next(); if ( goalDescriptor.getPrereqs() != null ) { @@ -226,6 +229,9 @@ } } } + +// These will have already been found by plexus, so we just need to grab them +// and process them. public List findPlugins( ClassLoader classLoader ) { 1.6 +3 -2 maven-components/maven-core/src/java/org/apache/maven/plugin/PluginManager.java Index: PluginManager.java === RCS file: /home/cvs/maven-components/maven-core/src/java/org/apache/maven/plugin/PluginManager.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- PluginManager.java15 Feb 2004 21:43:19 - 1.5 +++ PluginManager.java15 Mar 2004 19:30:33 - 1.6 @@ -1,6 +1,7 @@ package org.apache.maven.plugin; import org.apache.maven.GoalException; +import org.apache.maven.plugin.descriptor.GoalDescriptor; import org.apache.maven.project.MavenProject; import org.codehaus.classworlds.ClassRealm; @@ -17,7 +18,7 @@ { static String ROLE = PluginManager.class.getName(); -void attainGoal( String pluginId, PluginDescriptor.GoalDescriptor gd, MavenProject project ) +void attainGoal( String pluginId, GoalDescriptor gd, MavenProject project ) throws GoalException, Exception; List getGoals(); 1.1
cvs commit: maven-components/maven-plugins - Imported sources
jvanzyl 2004/03/15 11:32:24 Log: o source directories aligned with the new agreed upon layout o plugins now use a single plugin.xml descriptor Status: Vendor Tag: APACHE Release Tags: INIT N maven-components/maven-plugins/maven-compiler-plugin/.cvsignore N maven-components/maven-plugins/maven-compiler-plugin/project.xml N maven-components/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilerPlugin.java N maven-components/maven-plugins/maven-compiler-plugin/src/main/resources/META-INF/maven/plugin.xml N maven-components/maven-plugins/maven-jar-plugin/.cvsignore N maven-components/maven-plugins/maven-jar-plugin/project.xml N maven-components/maven-plugins/maven-jar-plugin/src/main/java/org/apache/maven/plugin/JarPlugin.java N maven-components/maven-plugins/maven-jar-plugin/src/main/resources/META-INF/maven/plugin.xml N maven-components/maven-plugins/maven-surefire-plugin/.cvsignore N maven-components/maven-plugins/maven-surefire-plugin/project.xml N maven-components/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java N maven-components/maven-plugins/maven-surefire-plugin/src/main/resources/META-INF/maven/plugin.xml N maven-components/maven-plugins/maven-resources-plugin/.cvsignore N maven-components/maven-plugins/maven-resources-plugin/project.xml N maven-components/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/ResourcesPlugin.java N maven-components/maven-plugins/maven-resources-plugin/src/main/resources/META-INF/maven/plugin.xml N maven-components/maven-plugins/maven-scm-plugin/.cvsignore N maven-components/maven-plugins/maven-scm-plugin/project.xml N maven-components/maven-plugins/maven-scm-plugin/src/main/java/org/apache/maven/plugin/ScmPlugin.java N maven-components/maven-plugins/maven-scm-plugin/src/main/resources/META-INF/maven/plugin.xml N maven-components/maven-plugins/maven-hello-plugin/.cvsignore N maven-components/maven-plugins/maven-hello-plugin/project.xml N maven-components/maven-plugins/maven-hello-plugin/src/main/java/org/apache/maven/plugin/HelloWorldPlugin.java N maven-components/maven-plugins/maven-hello-plugin/src/main/resources/META-INF/maven/plugin.xml No conflicts created by this import - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-components/maven-plugins reorg
On Mon, 2004-03-15 at 13:56, Jason van Zyl wrote: Emmanuel, I'm going to shuffle around the plugins to match: http://cvs.codehaus.org/viewcvs.cgi/plexus/plexus-component-factories/bsh/src/java/org/codehaus/plexus/component/factory/bsh/BshComponentFactory.java?rev=1.2root=codehausview=auto And move the plugins over to the single plugin.xml descriptor. I shouldn't be long. I'm just going to reimport the whole lot. All done. -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [proposal] Modification of reactor tag to support lifecycleinterception points
- Original Message - From: Jason van Zyl [EMAIL PROTECTED] To: Maven Developers List [EMAIL PROTECTED] Sent: Monday, March 15, 2004 4:30 PM Subject: Re: [proposal] Modification of reactor tag to support lifecycleinterception points On Mon, 2004-03-15 at 07:54, Vincent Massol wrote: Hi committers, On our project, we need some finer control of what happens during the lifecycle of the reactor tag. We are about to make some change to it. Of course, we'd like to commit back these changes. I'm just testing the waters here to see if you'd be happy with those changes. We are proposing to support the following usage: reactor [...] beforeProject[...]/beforeProject onFailure exceptionVar=exception[...]/onFailure afterProject[...]/afterProject /reactor The beforeProject, onFailure and afterProject tags are optional of course and allow implementing some custom logic using Jelly. The nested logic will be executed in the project's context and thus the usual ${pom} and other properties are available. Ok to commit this when we have it working? +1 +1 too, after rc2 release. You are going to commit it to HEAD I assume? We're just in the middle of playing around with the rc2 release atm. Thanks -Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - 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: (MAVEN-1201) Unable to run two multiproject goals back to back
Message: A new issue has been created in JIRA. - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1201 Here is an overview of the issue: - Key: MAVEN-1201 Summary: Unable to run two multiproject goals back to back Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Versions: 1.0-rc1 Assignee: Reporter: Erik Husby Created: Mon, 15 Mar 2004 5:01 PM Updated: Mon, 15 Mar 2004 5:01 PM Environment: Windows XP, Java 1.4.2-b28 Description: I have a simple multiproject MP with two subproject A and B. As simple a project as you can put together. If I run maven multiproject:deploy-snapshot multiproject:site I get the error message BUILD FAILED File.. file:/C:/Documents and Settings/MHusby/.maven/plugins/maven-multiproject-plugin-1.1/ Element... maven:reactor Line.. 69 Column 7 Unable to obtain goal [site] -- file:/C:/Documents and Settings/MHusby/.maven/plugins/maven-site-plugin-1.3/:22:42: attainGoal Goal [xdoc:register-reports] has no action definition. Total time: 16 seconds Finished at: Mon Mar 15 16:40:26 EST 2004 The MP project.xml includes: !-- For now restrict reports -- reports reportmaven-junit-report-plugin/report /reports The subprojects A and B project.xml extend the parent project.xml The same failure occurs if the MP projec.xml does not restrict the set of reports. A complete trace follows: Z:\IdeaProjects\MPmaven -X multiproject:deploy-snapshot multiproject:site __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT [DEBUG] Adding reference: maven.dependency.classpath - [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.dependency.classpath - [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.dependency.classpath - C:\Documents and Settings\MHusby\.maven\repository\maven\jars\maven-1.0-beta-10.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-io\jars\commons-io-20030203.000550.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-net\jars\commons-net-1.0.0.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-httpclient\jars\commons-httpclient-2.0-beta1.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-lang\jars\commons-lang-1.0.1.jar;C:\Documents and Settings\MHusby\.maven\repository\jsch\jars\jsch-0.1.5.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-20030902.160215.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-velocity-20030303.205659.jar;C:\Documents and Settings\MHusby\.maven\repository\velocity\jars\velocity-1.4-dev.jar [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.dependency.classpath - C:\Documents and Settings\MHusby\.maven\repository\dom4j\jars\dom4j-1.4-dev-8.jar;C:\Documents and Settings\MHusby\.maven\repository\xml-apis\jars\xml-apis-1.0.b2.jar;C:\Documents and Settings\MHusby\.maven\repository\maven\jars\maven.jar;C:\Documents and Settings\MHusby\.maven\repository\isorelax\jars\isorelax-20030108.jar;C:\Documents and Settings\MHusby\.maven\repository\thaiopensource\jars\jing-20030619.jar;C:\Documents and Settings\MHusby\.maven\repository\xerces\jars\xerces-2.4.0.jar [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.dependency.classpath - C:\Documents and Settings\MHusby\.maven\repository\ant\jars\ant-1.5.3-1.jar;C:\Documents and Settings\MHusby\.maven\repository\dom4j\jars\dom4j-1.4-dev-8.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-grant\jars\commons-grant-1.0-beta-4.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-20030902.160215.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-jsl-20030211.143151.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-log-20030211.142821.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-velocity-20030303.205659.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-xml-20030211.142705.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-logging\jars\commons-logging-1.0.3.jar;C:\Documents and Settings\MHusby\.maven\repository\maven\jars\maven-1.0-beta-10.jar;C:\Documents and Settings\MHusby\.maven\repository\velocity\jars\velocity-1.4-dev.jar;C:\Documents and Settings\MHusby\.maven\repository\velocity-dvsl\jars\velocity-dvsl-0.45.jar;C:\Documents and Settings\MHusby\.maven\repository\xml-apis\jars\xml-apis-1.0.b2.jar [DEBUG]
[jira] Closed: (MAVEN-1201) Unable to run two multiproject goals back to back
Message: The following issue has been closed. - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1201 Here is an overview of the issue: - Key: MAVEN-1201 Summary: Unable to run two multiproject goals back to back Type: Bug Status: Closed Priority: Major Resolution: DUPLICATE Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Fix Fors: 1.0-rc2 Versions: 1.0-rc1 Assignee: Reporter: Erik Husby Created: Mon, 15 Mar 2004 5:01 PM Updated: Mon, 15 Mar 2004 5:05 PM Environment: Windows XP, Java 1.4.2-b28 Description: I have a simple multiproject MP with two subproject A and B. As simple a project as you can put together. If I run maven multiproject:deploy-snapshot multiproject:site I get the error message BUILD FAILED File.. file:/C:/Documents and Settings/MHusby/.maven/plugins/maven-multiproject-plugin-1.1/ Element... maven:reactor Line.. 69 Column 7 Unable to obtain goal [site] -- file:/C:/Documents and Settings/MHusby/.maven/plugins/maven-site-plugin-1.3/:22:42: attainGoal Goal [xdoc:register-reports] has no action definition. Total time: 16 seconds Finished at: Mon Mar 15 16:40:26 EST 2004 The MP project.xml includes: !-- For now restrict reports -- reports reportmaven-junit-report-plugin/report /reports The subprojects A and B project.xml extend the parent project.xml The same failure occurs if the MP projec.xml does not restrict the set of reports. A complete trace follows: Z:\IdeaProjects\MPmaven -X multiproject:deploy-snapshot multiproject:site __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT [DEBUG] Adding reference: maven.dependency.classpath - [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.dependency.classpath - [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.dependency.classpath - C:\Documents and Settings\MHusby\.maven\repository\maven\jars\maven-1.0-beta-10.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-io\jars\commons-io-20030203.000550.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-net\jars\commons-net-1.0.0.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-httpclient\jars\commons-httpclient-2.0-beta1.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-lang\jars\commons-lang-1.0.1.jar;C:\Documents and Settings\MHusby\.maven\repository\jsch\jars\jsch-0.1.5.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-20030902.160215.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-velocity-20030303.205659.jar;C:\Documents and Settings\MHusby\.maven\repository\velocity\jars\velocity-1.4-dev.jar [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.dependency.classpath - C:\Documents and Settings\MHusby\.maven\repository\dom4j\jars\dom4j-1.4-dev-8.jar;C:\Documents and Settings\MHusby\.maven\repository\xml-apis\jars\xml-apis-1.0.b2.jar;C:\Documents and Settings\MHusby\.maven\repository\maven\jars\maven.jar;C:\Documents and Settings\MHusby\.maven\repository\isorelax\jars\isorelax-20030108.jar;C:\Documents and Settings\MHusby\.maven\repository\thaiopensource\jars\jing-20030619.jar;C:\Documents and Settings\MHusby\.maven\repository\xerces\jars\xerces-2.4.0.jar [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.dependency.classpath - C:\Documents and Settings\MHusby\.maven\repository\ant\jars\ant-1.5.3-1.jar;C:\Documents and Settings\MHusby\.maven\repository\dom4j\jars\dom4j-1.4-dev-8.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-grant\jars\commons-grant-1.0-beta-4.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-20030902.160215.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-jsl-20030211.143151.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-log-20030211.142821.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-velocity-20030303.205659.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-jelly\jars\commons-jelly-tags-xml-20030211.142705.jar;C:\Documents and Settings\MHusby\.maven\repository\commons-logging\jars\commons-logging-1.0.3.jar;C:\Documents and Settings\MHusby\.maven\repository\maven\jars\maven-1.0-beta-10.jar;C:\Documents and Settings\MHusby\.maven\repository\velocity\jars\velocity-1.4-dev.jar;C:\Documents and Settings\MHusby\.maven\repository\velocity-dvsl\jars\velocity-dvsl-0.45.jar;C:\Documents and
[jira] Commented: (MAVEN-1199) REGRESSION: maven cactus:report fails under RC2
The following comment has been added to this issue: Author: Brett Porter Created: Mon, 15 Mar 2004 5:48 PM Body: darn thing is environment specific - can't replicate it on my windows box. - View this comment: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1199page=comments#action_17602 - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1199 Here is an overview of the issue: - Key: MAVEN-1199 Summary: REGRESSION: maven cactus:report fails under RC2 Type: Bug Status: Open Priority: Blocker Original Estimate: 2 days Time Spent: Unknown Remaining: 2 days Project: maven Components: plugin manager Fix Fors: 1.0-rc2 Versions: 1.0-rc2 Assignee: Brett Porter Reporter: Brett Porter Created: Mon, 15 Mar 2004 12:11 AM Updated: Mon, 15 Mar 2004 5:48 PM Due: Fri, 19 Mar 2004 12:00 AM Description: probably related to the classloader issues experience in checkstyle. BUILD FAILED org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395) at org.apache.maven.jelly.MavenJellyContext.init(MavenJellyContext.java:59) at org.apache.maven.jelly.MavenJellyContext.createChildContext(MavenJellyContext.java:99) at org.apache.commons.jelly.JellyContext.newJellyContext(JellyContext.java:346) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:113) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:99) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:527) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265) at org.apache.maven.cli.App.doMain(App.java:466) at org.apache.maven.cli.App.main(App.java:1117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525) ... 24 more Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412) ... 25 more File.. file:/home/cruise/.maven/plugins/cactus-maven-1.5-rc1/plugin.jelly Element... doc:jsl Line.. 757 Column 27 org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log Total time: 27 seconds Finished at: Mon Mar 15 16:01:16 EST 2004 - JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL
[jira] Updated: (MAVEN-1199) REGRESSION: maven cactus:report fails under RC2
The following issue has been updated: Updater: Brett Porter (mailto:[EMAIL PROTECTED]) Date: Mon, 15 Mar 2004 5:49 PM Changes: environment changed from - For a full history of the issue, see: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1199page=history - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1199 Here is an overview of the issue: - Key: MAVEN-1199 Summary: REGRESSION: maven cactus:report fails under RC2 Type: Bug Status: Open Priority: Blocker Original Estimate: 2 days Time Spent: Unknown Remaining: 2 days Project: maven Components: plugin manager Fix Fors: 1.0-rc2 Versions: 1.0-rc2 Assignee: Brett Porter Reporter: Brett Porter Created: Mon, 15 Mar 2004 12:11 AM Updated: Mon, 15 Mar 2004 5:49 PM Due: Fri, 19 Mar 2004 12:00 AM Environment: Linux Redhat 7.3, JDK 1.4.2_02 non-standard plugins installed: cactus-1.5-rc1, cdit-build-1.3.3, jaxb-1.0.0, installer-1.0.0 Description: probably related to the classloader issues experience in checkstyle. BUILD FAILED org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395) at org.apache.maven.jelly.MavenJellyContext.init(MavenJellyContext.java:59) at org.apache.maven.jelly.MavenJellyContext.createChildContext(MavenJellyContext.java:99) at org.apache.commons.jelly.JellyContext.newJellyContext(JellyContext.java:346) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:113) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:99) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:527) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265) at org.apache.maven.cli.App.doMain(App.java:466) at org.apache.maven.cli.App.main(App.java:1117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525) ... 24 more Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412) ... 25 more File.. file:/home/cruise/.maven/plugins/cactus-maven-1.5-rc1/plugin.jelly Element... doc:jsl Line.. 757 Column 27 org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log Total time: 27 seconds Finished at: Mon Mar 15 16:01:16 EST 2004 - JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see:
[jira] Created: (MPANT-11) Change plugin tests to user assert tags
Message: A new issue has been created in JIRA. - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPANT-11 Here is an overview of the issue: - Key: MPANT-11 Summary: Change plugin tests to user assert tags Type: Improvement Status: Unassigned Priority: Trivial Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-ant-plugin Assignee: Reporter: dion gillard Created: Mon, 15 Mar 2004 6:03 PM Updated: Mon, 15 Mar 2004 6:03 PM Description: See attachment - JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (MPANT-11) Change plugin tests to user assert tags
The following issue has been updated: Updater: dion gillard (mailto:[EMAIL PROTECTED]) Date: Mon, 15 Mar 2004 6:05 PM Changes: Attachment changed to ant-test.txt - For a full history of the issue, see: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPANT-11page=history - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPANT-11 Here is an overview of the issue: - Key: MPANT-11 Summary: Change plugin tests to user assert tags Type: Improvement Status: Unassigned Priority: Trivial Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-ant-plugin Assignee: Reporter: dion gillard Created: Mon, 15 Mar 2004 6:03 PM Updated: Mon, 15 Mar 2004 6:05 PM Description: See attachment - JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (MPLINKCHECK-10) allo 303 and 304 http status to be validated
Message: A new issue has been created in JIRA. - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPLINKCHECK-10 Here is an overview of the issue: - Key: MPLINKCHECK-10 Summary: allo 303 and 304 http status to be validated Type: Improvement Status: Open Priority: Major Original Estimate: 10 minutes Time Spent: Unknown Remaining: 10 minutes Project: maven-linkcheck-plugin Assignee: Ben Walding Reporter: Kees Jongenburger Created: Mon, 15 Mar 2004 6:55 PM Updated: Mon, 15 Mar 2004 6:55 PM Environment: maven rc2 Description: The linkchecker flows MOVED_TEMPORARILY moved links but sikps MOVED_PERMANENTLY while there are as valid as MOVED_TEMPORARILY example: http://www.mmbase.org/license resolution: add import org.apache.commons.httpclient.HttpStatus; to the class imports in HTTPLinkValidator at row 108 change the code to if (gm.getStatusCode() == HttpStatus.SC_MOVED_TEMPORARILY || gm.getStatusCode() == HttpStatus.SC_MOVED_PERMANENTLY) (and a small cleanup ) row 121 if (gm.getStatusCode() == HttpStatus.SC_OK) - JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-components/maven-core/src/java/org/apache/maven/plugin/plexus/discovery MavenPluginDiscoverer.java
jvanzyl 2004/03/15 15:54:51 Added: maven-core/src/java/org/apache/maven/plugin/plexus/discovery MavenPluginDiscoverer.java Log: o maven plugin discoverer which is an extension of the standard plexus component discoverer. Revision ChangesPath 1.1 maven-components/maven-core/src/java/org/apache/maven/plugin/plexus/discovery/MavenPluginDiscoverer.java Index: MavenPluginDiscoverer.java === package org.apache.maven.plugin.plexus.discovery; import org.apache.maven.plugin.descriptor.PluginDescriptorBuilder; import org.apache.maven.plugin.descriptor.PluginDescriptor; import org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer; import org.codehaus.plexus.configuration.PlexusConfiguration; import java.util.ArrayList; import java.util.List; /** * * * @author a href=mailto:[EMAIL PROTECTED]Jason van Zyl/a * * @version $Id: MavenPluginDiscoverer.java,v 1.1 2004/03/15 23:54:51 jvanzyl Exp $ */ public class MavenPluginDiscoverer extends AbstractComponentDiscoverer { private PluginDescriptorBuilder builder; public MavenPluginDiscoverer() { builder = new PluginDescriptorBuilder(); } public String getComponentDescriptorLocation() { return META-INF/maven/plugin.xml; } // -- // plugin // implementationorg.apache.maven.plugin.AntlrPlugin/implementation // idantlr/id // goals // goal // nameantlr/name // configuration // outputDirectory#maven.build.dest/outputDirectory // resources#project.build.resources/resources // /configuration // /goal // /goals // /plugin // -- public List createComponentDescriptors( PlexusConfiguration componentDescriptorConfiguration ) throws Exception { List componentDescriptors = new ArrayList(); PluginDescriptor pluginDescriptor = builder.build( componentDescriptorConfiguration ); componentDescriptors.add( pluginDescriptor ); return componentDescriptors; } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-components/maven-plugins/maven-surefire-plugin/src/main/resources/META-INF/maven plugin.xml
jvanzyl 2004/03/15 16:32:22 Modified:maven-plugins/maven-surefire-plugin/src/main/resources/META-INF/maven plugin.xml Log: o make sure standard resources are copied over too before testing. Revision ChangesPath 1.2 +1 -0 maven-components/maven-plugins/maven-surefire-plugin/src/main/resources/META-INF/maven/plugin.xml Index: plugin.xml === RCS file: /home/cvs/maven-components/maven-plugins/maven-surefire-plugin/src/main/resources/META-INF/maven/plugin.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- plugin.xml15 Mar 2004 19:32:22 - 1.1 +++ plugin.xml16 Mar 2004 00:32:22 - 1.2 @@ -62,6 +62,7 @@ nametest/name prereqs prereqtest:compile/prereq +prereqresources/prereq prereqtest:resources/prereq /prereqs configuration - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (MAVENUPLOAD-83) Castor 0.9.5.3
Message: A new issue has been created in JIRA. - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVENUPLOAD-83 Here is an overview of the issue: - Key: MAVENUPLOAD-83 Summary: Castor 0.9.5.3 Type: Task Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-upload-requests Assignee: Jason van Zyl Reporter: Paul Spencer Created: Mon, 15 Mar 2004 11:52 PM Updated: Mon, 15 Mar 2004 11:52 PM Description: Please upload Castor v0.9.5.3 to ibiblio. The jar is located at ftp://ftp.exolab.org/pub/castor/castor_0.9.5.3/castor-0.9.5.3.jar Castor's home pages is http://www.castor.org/ Thank you, Paul Spencer - JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]