Skip to content

JSPWIKI-1368 Unpack the war of the portable module only when the war has been packaged - #640

Open
arturobernalg wants to merge 1 commit into
apache:master-2.xfrom
arturobernalg:portable-phase-2x
Open

arturobernalg wants to merge 1 commit into
apache:master-2.xfrom
arturobernalg:portable-phase-2x

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

Backport of #634 to master-2.x.

jspwiki-portable unpacked the war of jspwiki-war, the wikipages and Tomcat in generate-resources, and copied the exploded war in process-resources. mvn test does not package the war, so the build stopped at the unpack with MDEP-98. The unpacks and the copy now run in prepare-package, unpack first, which is when the war exists.

Executed on this branch: mvn clean test on the whole reactor succeeds, and mvn clean package -DskipTests builds jspwiki-portable-2.12.6-SNAPSHOT-woas.zip, which contains the Tomcat launcher and libraries and the web.xml of the personal, department and ROOT wikis.

…has been packaged

jspwiki-portable unpacked the war of jspwiki-war, the wikipages and Tomcat in the generate-resources phase, and copied the exploded war in process-resources. mvn test does not package the war, so the build stopped at the unpack with MDEP-98. The unpacks and the copy now run in prepare-package, unpack first, which is when the war exists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant