On Mon, Jul 5, 2010 at 12:49 PM, Simon Laws <[email protected]> wrote: > On Sun, Jul 4, 2010 at 1:02 PM, <[email protected]> wrote: >> Author: antelder >> Date: Sun Jul 4 12:02:25 2010 >> New Revision: 960329 >> >> URL: http://svn.apache.org/viewvc?rev=960329&view=rev >> Log: >> Reenable the version spi with the buildnumber-maven-plugin >> >> Modified: >> tuscany/sca-java-2.x/trunk/modules/core-spi/pom.xml >> >> Modified: tuscany/sca-java-2.x/trunk/modules/core-spi/pom.xml >> URL: >> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/core-spi/pom.xml?rev=960329&r1=960328&r2=960329&view=diff >> ============================================================================== >> --- tuscany/sca-java-2.x/trunk/modules/core-spi/pom.xml (original) >> +++ tuscany/sca-java-2.x/trunk/modules/core-spi/pom.xml Sun Jul 4 12:02:25 >> 2010 >> @@ -70,7 +70,6 @@ >> >> <build> >> <plugins> >> -<!-- >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>buildnumber-maven-plugin</artifactId> >> @@ -113,7 +112,6 @@ >> </execution> >> </executions> >> </plugin> >> ---> >> </plugins> >> </build> >> >> >> >> > > This gives rise to the following error for me.... > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Tuscany SCA Core SPI > [INFO] task-segment: [clean, install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean {execution: default-clean}] > [INFO] Deleting D:\sca-java-2.x\modules\core-spi\target > [INFO] [enforcer:enforce {execution: enforce-plugin-versions}] > [INFO] [buildnumber:create {execution: default}] > [INFO] Checking for local modifications: skipped. > [INFO] Executing: cmd.exe /X /C "svn --non-interactive update > D:\sca-java-2.x\mo > dules\core-spi" > [INFO] Working directory: D:\sca-java-2.x\modules\core-spi > Provider message: > The svn command failed. > Command output: > 'svn' is not recognized as an internal or external command, > operable program or batch file. > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Couldn't update project. > > Embedded error: Error! >
Do you know why? Presumably you do have svn in your build environment? Did it ever work for you when this was working and part of the build a few months ago? I'm almost ready to give up on the svn revision number and build datetime getters in the SPI and have just the getter for the version, does any one have strong feelings for them? ...ant
