After creating app from prototype:
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-struts
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=2.0-m5 -DgroupId=com.company.repo -DartifactId=repo

cd repo

mvn integration-test

I get the code compiled, test run but in section

[INFO] [dbunit:operation]
[..]
Embedded error: Following error occured while executing this line
[...]\src\test\resources\
Sounds like ant (in maven) miss some webtest lib.
What package does this resource come from:

                               <taskdef
resource="webtest_base_relaxed.taskdef">
                                   <classpath refid="maven.test.classpath"/>
                               </taskdef>

I find included in generated app with this scope from prototype only:

       <dependency>
           <groupId>jmock</groupId>
           <artifactId>jmock</artifactId>
           <version>${jmock.version}</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>junit</groupId>
           <artifactId>junit</artifactId>
           <version>${junit.version}</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-mock</artifactId>
           <version>${spring.version}</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.subethamail</groupId>
           <artifactId>subethasmtp-wiser</artifactId>
           <version>${wiser.version}</version>
           <scope>test</scope>
       </dependency>

Can anybody please help?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to