No, did not work.
copernic Jeremy wrote: > > Might not help, but just in case: > shouldn't you add the following headlines in your pom.xml?? > > best regards, > > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > > > > On 4/30/07, iDuke <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> I have the following pom >> >> <project> >> <modelVersion>4.0.0</modelVersion> >> <groupId>com.xxx.course</groupId> >> <artifactId>dosbox-simple</artifactId> >> <packaging>jar</packaging> >> <version>1.0-SNAPSHOT</version> >> <dependencies> >> <dependency> >> <groupId>junit</groupId> >> <artifactId>junit</artifactId> >> <version>3.8.1</version> >> <scope>test</scope> >> </dependency> >> </dependencies> >> <build> >> <plugins> >> <plugin> >> <groupId>org.apache.maven.plugins >> </groupId> >> >> >> <artifactId>maven-compiler-plugin</artifactId> >> <configuration> >> <source>1.5</source> >> <target>1.5</target> >> </configuration> >> </plugin> >> <plugin> >> <groupId>org.apache.maven.plugins >> </groupId> >> >> >> <artifactId>maven-surefire-plugin</artifactId> >> <configuration> >> <includes> >> <include>none</include> >> </includes> >> </configuration> >> <executions> >> <execution> >> <id>integration-test</id> >> <goals> >> <goal>test</goal> >> </goals> >> >> >> <phase>integration-test</phase> >> <configuration> >> <includes> >> >> >> <include>invoker/CmdDirIntegrationTest.java</include> >> </includes> >> </configuration> >> </execution> >> <execution> >> <id>test</id> >> <goals> >> <goal>test</goal> >> </goals> >> <phase>test</phase> >> <configuration> >> <includes> >> >> >> <include>command/library/CmdDirTest.java</include> >> >> >> <include>command/library/CmdCdTest.java</include> >> </includes> >> </configuration> >> </execution> >> </executions> >> </plugin> >> </plugins> >> </build> >> </project> >> >> and when execute >> >> mvn integration-test >> >> i get the following result >> >> C:\Documents and Settings\phk\My Documents\DOSBoxClever>mvn >> integration-test >> [INFO] Scanning for projects... >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] Building Unnamed - com.xxx.course:dosbox-simple:jar:1.0-SNAPSHOT >> [INFO] task-segment: [integration-test] >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> [INFO] [compiler:compile] >> [INFO] Nothing to compile - all classes are up to date >> [INFO] [resources:testResources] >> [INFO] Using default encoding to copy filtered resources. >> [INFO] [compiler:testCompile] >> [INFO] Compiling 23 source files to C:\Documents and Settings\phk\My >> Documents\D >> OSBoxClever\target\test-classes >> [INFO] [surefire:test] >> [INFO] Surefire report directory: C:\Documents and Settings\phk\My >> Documents\DOS >> BoxClever\target\surefire-reports >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> There are no tests to run. >> >> Results : >> >> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 >> >> [INFO] [surefire:test {execution: test}] >> [INFO] Surefire report directory: C:\Documents and Settings\phk\My >> Documents\DOS >> BoxClever\target\surefire-reports >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> Running command.library.CmdCdTest >> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec >> Running command.library.CmdDirTest >> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec >> <<< FA >> ILURE! >> >> Results : >> >> Failed tests: >> testWithPathAsParameter(command.library.CmdDirTest) >> >> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0 >> >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] There are test failures. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 3 seconds >> [INFO] Finished at: Mon Apr 30 09:40:51 CEST 2007 >> [INFO] Final Memory: 4M/11M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> Why doesn't it execute the execution for the integration-phase (the first >> execution in the pom)? >> >> -- >> View this message in context: >> http://www.nabble.com/pom-executions-tf3668307s177.html#a10249592 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/pom-executions-tf3668307s177.html#a10252978 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
