Hi,

After executing:

mvn archetype:create
-DarchetypeGroupId=org.appfuse-DarchetypeArtifactId=appfuse-modular-struts
-DremoteRepositories=
http://static.appfuse.org/repository -DarchetypeVersion=1.0-m2 -DgroupId=
com.mycompany -DartifactId=modular-struts

and tweaking the jdbc props in pom.xml to point to my local mysql DB, I get
the following problems:

1)  When running mvn integration-test

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\work\modular-struts\web\src\test\resources\web-tests.xml:25: Canoo
Webtest: R
_1454.
Test failed.
Test step steps (C:\work\modular-struts\web\src\test\resources\web-tests.xml
:27:
) null failed with message "Wrong document title found! Expected ".*Main
Menu.*
" but got "Login | AppFuse""
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 2 seconds
[INFO] Finished at: Tue Jan 16 17:29:07 GMT 2007
[INFO] Final Memory: 21M/508M
[INFO]
------------------------------------------------------------------------

2) When running mvn jetty:run-war

[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
exist o
r no valid version could be found
[INFO]
------------------------------------------------------------------------

Until I add this to plugin in my pom.xml

<plugin>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>maven-jetty-plugin</artifactId>
     </plugin>



3)  Then, when it downloads the jetty plugin I get:

[INFO] [jetty:run-war]
[INFO] Configuring Jetty for project: AppFuse Modular Application
2007-01-16 17:31:19.613::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog
[INFO] Jetty server exiting.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failure

Embedded error: Bad temp directory: C:\work\modular-struts\target\work

Any ideas with these?

Ben

Reply via email to