You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by emerson cargnin <ec...@gmail.com> on 2005/09/23 12:16:52 UTC

error in maven 1.1 beta 2

I' having the following error when trying to run the site goal (the
following stack-trace was from building the subproject directly,
althought i have the same error for the multiproject):

     [echo] Generating the Change Log...
maven-changelog-plugin:report:
    [echo] Generating the changelog report
SCM Working Directory: C:\workspace\com.yell.java
SCM Command Line[0]: svn
SCM Command Line[1]: log
SCM Command Line[2]: -v
SCM Command Line[3]: "-r{2005-09-24}:{2005-08-24}"
ChangeSet between 2005-08-24 and 2005-09-24: 0 entries

BUILD FAILED
File...... C:\Documents and Settings\EmersonC\.maven\cache\maven-changelog-plug
n-1.8.2\plugin.jelly
Element... changelog:changelog
Line...... 108
Column.... -1
java.lang.NullPointerException
Total time   : 2 minutes 5 seconds
Finished at  : 23 September 2005 11:11:09 BST

I have the following common project.xml for every sub-projects:

<?xml version="1.0" encoding="UTF-8"?>
<project>
	<pomVersion>3</pomVersion>
	<groupId>com.yell</groupId>
	<currentVersion>1.0</currentVersion>
	<organization>
		<name>Yell.com</name>
		<url>http://yell.com</url>
		<logo>http://www.yell.com/img/yellcom_logo_w.gif</logo>
	</organization>
	<inceptionYear>2005</inceptionYear>

	<issueTrackingUrl>
		http://trackrecord/cgi-win/itemview.dll
	</issueTrackingUrl>
	<!-- siteAddress>http://192.168.190.130/yellProject</siteAddress> -->
	<siteDirectory>
		C:\Tomcat_5.0\webapps\ROOT\yellProject\${pom.groupId}/${pom.artifactId}
	</siteDirectory>
	<!-- distributionDirectory>C:\Tomcat_5.0\webapps\ROOT\yellProject</distributionDirectory>
-->
	<repository>
		<connection>
			scm:svn:http://thames/svn/yelldotcom/trunk/modules/${pom.artifactId}
		</connection>
		<developerConnection>
			scm:svn:http://thames/svn/yelldotcom/trunk/modules/${pom.artifactId}
		</developerConnection>
		<url>http://thames/svn/yelldotcom/</url>
	</repository>
	<build>
		<sourceDirectory>src</sourceDirectory>
		<unitTestSourceDirectory>src</unitTestSourceDirectory>
		<unitTest>
			<includes>
				<include>**/*Test.java</include>
				<include>**/*TestCase.java</include>
			</includes>
		</unitTest>
	</build>
	<reports>
		<report>maven-findbugs-plugin</report>
		<report>maven-jdepend-plugin</report>
		<report>maven-checkstyle-plugin</report>
		<report>maven-changes-plugin</report>
		<report>maven-changelog-plugin</report>
		<report>maven-file-activity-plugin</report>
		<report>maven-developer-activity-plugin</report>
		<report>maven-javadoc-plugin</report>
		<report>maven-jxr-plugin</report>
		<report>maven-junit-report-plugin</report>
		<report>maven-tasklist-plugin</report>
		<report>maven-pmd-plugin</report>
		<report>maven-simian-plugin</report>
		<report>maven-faq-plugin</report>
		<report>maven-multiproject-plugin</report>
		<report>maven-multichanges-plugin</report>
	</reports>
</project>

And the following is the project.xml of this specific sub-project:
<?xml version="1.0" encoding="UTF-8"?>
<project>
    <extend>../com.yell.commonbuild/project.xml</extend>
    <pomVersion>3</pomVersion>
    <name>Java Utils Project</name>
    <package>com.yell.java</package>
    <shortDescription>Common utilities classes  used along all
projects</shortDescription>
      <artifactId>com.yell.java</artifactId>
    <currentVersion>1.0-SNAPSHOT</currentVersion>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.3</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>regexp</groupId>
            <artifactId>regexp</artifactId>
            <version>1.2</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.1.3</version>
            <type>jar</type>
        </dependency>
    </dependencies>
</project>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org