The problem is that the build passes, because the src code is not being updated. So, I ran the command from manually, and I narrowed it down to this command.
Thanks, On 11/12/06, Max Cooper <[EMAIL PROTECTED]> wrote:
I don't know why your build failed, but this table of file/dir statii from the Subversion Book may help you figure it out: http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.tour.cycle.examine.status Maybe the svn repo specified on the maven command line does not match the repo (in a precise, "I'm a computer, and I demand precision" kind of way) that was used to check out the working directories? It isn't clear to me how that would "switch" your working dirs, but the fact that you have to specify the repo when running the command raises a red flag to me in terms of it's consistent use over time. You might try 'svn stat' to see what the subversion status of your working directory tree is. -Max On Sun, 2006-11-12 at 14:40 -0600, [EMAIL PROTECTED] wrote: > I am running : > > mvn 2.0.4 > JDK 1.5 > subversion > > Multiple project structure! > > *Why does this build has a SUCCESSFUL status? It did not do an update?* > *Is there something wrong with my pom.xml? This did work back in July 2006!* > ** > ** > Parent pom.xml > | > |____ Child pom.xml > > If am trying to do a "scm:update" > > >mvn scm:update > -DconnectionUrl=scm:svn:svn://csspap/CSS_JAVA_DEVELOPMENT/trunk > > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] CSS JAVA APPLICATIONS *<---------------------- Parent* > [INFO] OPER_MET *<----------------------- > Child* > [INFO] Searching repository for plugin with prefix: 'scm'. > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building CSS JAVA APPLICATIONS > [INFO] task-segment: [scm:update] (aggregator-style) > [INFO] > ---------------------------------------------------------------------------- > [INFO] [scm:update] > [INFO] Executing: svn --non-interactive update > [INFO] Working directory: /usr2/local/builds/CSS_JAVA_DEV/projects > [INFO] Unknown file status: 'S' in line Skipped'.'. > *<------------------- This is the issue I believe* > [INFO] Storing revision in 'scm.revision' project property. > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 5 seconds > [INFO] Finished at: Fri Nov 10 16:27:38 CST 2006 > [INFO] Final Memory: 6M/225M > [INFO] > ------------------------------------------------------------------------ > > *But this does not update the any of the src directories!* > *PARENT POM.XML* > ** > <?xml version="1.0" encoding="UTF-8"?> > <project> > <modelVersion>4.0.0</modelVersion> > <groupId>com.weenergies.development</groupId> > <artifactId>JavaDev</artifactId> > <version>1.0-SNAPSHOT</version> > <packaging>pom</packaging> > <name>CSS JAVA APPLICATIONS</name> > <description> > This is our main pom.xml. This file ^M > will control the sub-modules for builds, ^M > test and deploy. This main project will provide > the basic values that will be passed to sub-modules. > </description> > <pluginRepositories> > <pluginRepository> > <id>ibiblio.net</id> > <url>http://www.ibiblio.net/pub/packages/maven2</url> > </pluginRepository> > </pluginRepositories> > <properties> > <war.deploy>/usr2/local/jboss-4.0.3SP1 > /server/JTEST/deploy/</war.deploy> > </properties> > <modules> > <module>OPER_MET</module> > </modules> > <dependencies> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>3.8.1</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.13</version> > <scope>compile</scope> > </dependency> > </dependencies> > <build> > <plugins> > </plugins> > </build> > <distributionManagement> > <site> > <id>website</id> > <url> file:///usr2/local/jboss-4.0.3SP1/server/JSTAGE/deploy/Reports.war/ > </url> > </site> > </distributionManagement> > </project> > > *CHILD POM.XML* > > > <?xml version="1.0" encoding="UTF-8"?> > <project> > <parent> > <groupId>com.weenergies.development</groupId> > <artifactId>JavaDev</artifactId> > <version>1.0-SNAPSHOT</version> > </parent> > <modelVersion>4.0.0</modelVersion> > <groupId>com.weenergies.development.tools</groupId> > <artifactId>OPER_MET</artifactId> > <packaging>war</packaging> > <version>1.0-SNAPSHOT</version> > <name>OPER_MET</name> > <description>This will configure the Operating Metrics Web > Application!</description> > <pluginRepositories> > > </pluginRepositories> > <build> > <sourceDirectory>src/</sourceDirectory> > <testSourceDirectory>test/</testSourceDirectory> > > <finalName>OPER_MET</finalName> > <pluginManagement> > <plugins> > <plugin> > <artifactId>maven-release-plugin</artifactId> > <configuration> > <tagBase>svn://csspap/CSS_JAVA_DEVELOPMENT/tags</tagBase> > <tag>RB_TAG</tag> > <generateReleasePoms>false</generateReleasePoms> > </configuration> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>cobertura-maven-plugin</artifactId> > <version>2.0</version> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > </plugins> > </pluginManagement> > </build> > <dependencies> > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>servlet-api</artifactId> > <version>4.0.3</version> > </dependency> > <dependency> > <groupId>sybase.jbdcx</groupId> > <artifactId>sybase-jbdc</artifactId> > <version>5.0</version> > </dependencies> > </project> > > > THanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
