Thx in advance
Jelle
-----Original Message-----
From: berndq [mailto:[EMAIL PROTECTED]
Sent: dinsdag 16 januari 2007 12:25
To: Maven Users List
Subject: Re: bildNumber issue
Hi jelle,
do you run a localized svn client?
At least maven scm expects english messages from svn.
Switch your svn to enlish and try again (rename share folder in svn
install dir)
best regards
Bernd
Hi all,
I'm having a problem concerning the codehaus buildNumber plugin for
Maven
(http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/index.html
).
I'm working an a project with a few collegues.
Our code is being managed by Subversion.
We use Maven to maintain the project.
Here's a description of the problem:
When I want to build the eclipse files for the project with
eclipse:eclipse, I get a fatal error.
In the command window logs I can see that the Subversion buildNumber
equals null, so a NullPointerException is being thrown.
I can't figure out why this happens when I'm building the eclipse
project files.
Here's the content of my pom regarding the buildNumber plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Subversion-Revision>${buildNumber}</Subversion-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>maven-buildnumber-plugin</artifactId>
<version>0.9.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
</configuration>
</plugin>
<scm>
<connection>scm:svn:http://xxx:xxxx/svn/userMgtDev/${project.artifactId}
</connection>
<developerConnection>scm:svn:http://xxx:xxxx/svn/userMgtDev/${project.ar
tifactId}</developerConnection>
<url>http://xxx:xxxx/svn/userMgtDev/${project.artifactId}</url>
</scm>
<pluginRepositories>
<pluginRepository>
<id>tlc</id>
<name>TLC Repository</name>
<url>http://commons.ucalgary.ca/pub/m2</url>
</pluginRepository>
</pluginRepositories>
So the odd thing is, if I check out all the code from the Subversion
repository, and run eclipse:eclipse all works fine on my workstation.
I tried this on someone else his workstation, and it failed. The
buildNumber could not be retrieved.
And on a third workstation, it also succeeded.
Is there anyone who has an idea what the problem could be ?
Thx in advance.
Jelle
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]