History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-975
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Matt Raible
Reporter: caarney
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
AppFuse

mvn parameter maven.test.skip throws exception (Tapestry)

Created: 07/Dec/07 09:47 AM   Updated: 07/Dec/07 09:54 AM
Component/s: Build, Test, or Deploy Process
Affects Version/s: 2.0.1
Fix Version/s: None

Environment: maven 2.0.7 / Tapestry 4.1.3


 Description  « Hide
mvn jetty:run-war -Dmaven.test.skip generates the following exception.
Everything works fine without the maven.test.skip switch.

org.apache.hivemind.ApplicationRuntimeException: Error: Module tapestry is duplicated! Definition in jar:file:/D:/workspace/app
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)

 All   Comments   Change History   FishEye      Sort Order:
caarney - 07/Dec/07 09:54 AM
Workaround by Mike Horwitz:

As a workaround the issue seems to occur because difference versions of the tapestry-webframework jar are picked up depending on whether you set the mavent.test.skip property. With the property set 4.1.3 is used, without it 4.1.2 is used. If you run mvn clean in between invocations of jetty:run-war all will work as expected.