I found the problem. I am using JDK 1.3.1, which probably called the
ChangeLog plugin tests to fail. I modified the following statement:
assertTrue(listener.getStdout().indexOf(MESSAGE)>-1);
to
assertTrue(listener.getStdout().toString().indexOf(MESSAGE)>-1);
in the testNormalEvent() and testErrorEvent() methods. I have attached the
modified CvsLogListenerTest.java file
Also, I had to modify the project.xml file to include the dependency on
xml-apis and xerces libraries.
After, I made these changes the bootstrap process created all the required
plugins.
regards,
Rajeev
----- Original Message -----
From: "Jefferson K. French" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 19, 2003 11:23 AM
Subject: Re: building maven plugins for 1.0 rc2
> One of my co-workers had the same problem with a build he did from CVS
> a few days ago. We didn't spend too much time figuring out what was
> happening, though, because I gave him what I downloaded on 11/25, and
> all was well.
>
> Maybe you should try checking out the RC1 branch and building it.
>
> Jeff
>
> On Fri, 19 Dec 2003, at 10:15:17 [GMT -0800] Rajeev Kaul wrote:
>
> > I downloaded the latest maven (1.0 rc2) from CVS, yesterday, and built
it using the build-bootstrap.xml file. The build was successful. However,
when I tried to build the plugin using the command
> > shown below, it failed.
>
>
>
> > E:\maven\maven-1.0-rc2>maven -Dgoal=clean,plugin:install
multiproject:goal
>
> > __ __
> > | \/ |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> > |_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT
>
> > BUILD FAILED
> > Goal "multiproject:goal" does not exist in this project.
> > Total time: 4 seconds
> > Finished at: Fri Dec 19 10:09:27 PST 2003
>
> > E:\maven\maven-1.0-rc2>
>
>
>
>
> > The following command also fails:
>
>
>
>
> > E:\maven\maven-1.0-rc2>maven -Dgoal=clean,plugin:install,plugin:deploy
> > __ __
> > | \/ |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> > |_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT
>
> > BUILD FAILED
> > Goal "jar:jar" does not exist in this project.
> > Total time: 7 seconds
> > Finished at: Fri Dec 19 10:05:53 PST 2003
>
>
>
> > Any ideas??
>
>
> > Rajeev Kaul
>
> --
> mailto:[EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8"?>
<project>
<extend>../project.xml</extend>
<pomVersion>3</pomVersion>
<id>maven-changelog-plugin</id>
<name>Maven Changelog Plug-in</name>
<currentVersion>1.4-SNAPSHOT</currentVersion>
<description/>
<shortDescription>Produce SCM changelog reports</shortDescription>
<url>http://maven.apache.org/reference/plugins/changelog/</url>
<issueTrackingUrl>http://jira.codehaus.org/BrowseProject.jspa?id=10313</issueTrackingUrl>
<siteDirectory>/www/maven.apache.org/reference/plugins/changelog/</siteDirectory>
<repository>
<connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven-plugins/changelog/</connection>
<url>http://cvs.apache.org/viewcvs/maven-plugins/changelog/</url>
</repository>
<developers>
<developer>
<name>dIon Gillard</name>
<id>dion</id>
<email>[EMAIL PROTECTED]</email>
<organization>Multitask Consulting</organization>
<roles>
<role>Java Developer</role>
<role>Documentation</role>
</roles>
</developer>
<developer>
<name>Pete Kazmier</name>
<id>kaz</id>
<email>[EMAIL PROTECTED]</email>
<organization/>
<roles>
<role>Documentation</role>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Eric Pugh</name>
<id>epugh</id>
<email>[EMAIL PROTECTED]</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Emmanuel Venisse</name>
<id>evenisse</id>
<email>[EMAIL PROTECTED]</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Jason van Zyl</name>
<id>jvanzyl</id>
<email>[EMAIL PROTECTED]</email>
<organization>Zenplex</organization>
<roles>
<role>Architect</role>
<role>Release Manager</role>
</roles>
</developer>
<developer>
<name>Daniel Rall</name>
<id>dlr</id>
<email>[EMAIL PROTECTED]</email>
<organization>CollabNet, Inc.</organization>
<roles>
<role>Java Developer</role>
<role>Documentation</role>
</roles>
</developer>
</developers>
<dependencies>
<dependency>
<id>ant</id>
<version>1.5.3-1</version>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-jsl</artifactId>
<version>20030211.143151</version>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
</dependency>
<dependency>
<id>commons-logging</id>
<version>1.0.3</version>
</dependency>
<dependency>
<id>junit</id>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>netbeans</groupId>
<artifactId>cvslib</artifactId>
<version>200310240100</version>
</dependency>
<dependency>
<id>regexp</id>
<version>1.2</version>
</dependency>
<!-- Required because of the Developer class -->
<dependency>
<id>maven</id>
<version>1.0-beta-10</version>
</dependency>
<dependency>
<id>xerces</id>
<version>2.4.0</version>
</dependency>
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
</dependency>
</dependencies>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]