You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by gastaldi <ge...@gmail.com> on 2007/10/04 03:54:39 UTC
Maven WAR plugin
Any tips on when Maven War 2.1-alpha will be released ? :clap: There is one
pesty bug around.
--
View this message in context: http://www.nabble.com/Maven-WAR-plugin-tf4565389s177.html#a13031317
Sent from the Maven Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by Stephane Nicoll <st...@gmail.com>.
Cool. I don't have those on MacOS.
On 10/4/07, Timothy Reilly <tr...@prolifics.com> wrote:
> > Stephane Nicoll wrote
> >
> > Yes. I am bit busy right now but I am willing to sort that out. Give
> > me a couple of days and I'll do my best to cast a vote.
> >
> > Cheers,
> > Stéphane
>
> I get test failures errors from trunk... ? I'm on WinXP just thought I should mention it in case Stephane is not seeing them as well. np, if it's a known issue.
>
>
> Failed tests:
> testOverlaysIncludesExcludesWithMultipleDefinitions(org.apache.maven.plugin.war.WarOverlaysTest)
> testOverlaysIncludesExcludesWithMultipleDefinitions2(org.apache.maven.plugin.war.WarOverlaysTest)
> Tests run: 60, Failures: 2, Errors: 0, Skipped: 0
>
> >>>> \target\surefire-reports\org.apache.maven.plugin.war.WarOverlaysTest.txt >>>>>>
> -------------------------------------------------------------------------------
> Test set: org.apache.maven.plugin.war.WarOverlaysTest
> -------------------------------------------------------------------------------
> Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 8.079 sec <<< FAILURE!
> testOverlaysIncludesExcludesWithMultipleDefinitions(org.apache.maven.plugin.war.WarOverlaysTest) Time elapsed: 0.937 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Invalid webapp content, expected 14file(s) [C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\web.xml] but got 15 file(s) [C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\META-INF\MANIFEST.MF, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\web.xml] expected:<[C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\web.xml]> but was:<[C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\META-INF\MANIFEST.MF, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\web.xml]>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at org.apache.maven.plugin.war.AbstractWarExplodedMojoTest.assertWebAppContent(AbstractWarExplodedMojoTest.java:242)
> at org.apache.maven.plugin.war.WarOverlaysTest.testOverlaysIncludesExcludesWithMultipleDefinitions(WarOverlaysTest.java:374)
> at org.apache.maven.plugin.war.WarOverlaysTest.testOverlaysIncludesExcludesWithMultipleDefinitions(WarOverlaysTest.java:374)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> testOverlaysIncludesExcludesWithMultipleDefinitions2(org.apache.maven.plugin.war.WarOverlaysTest) Time elapsed: 0.891 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Invalid webapp content, expected 14file(s) [C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\web.xml] but got 15 file(s) [C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\META-INF\MANIFEST.MF, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\web.xml] expected:<[C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\web.xml]> but was:<[C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\META-INF\MANIFEST.MF, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\web.xml]>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at org.apache.maven.plugin.war.AbstractWarExplodedMojoTest.assertWebAppContent(AbstractWarExplodedMojoTest.java:242)
> at org.apache.maven.plugin.war.WarOverlaysTest.testOverlaysIncludesExcludesWithMultipleDefinitions2(WarOverlaysTest.java:444)
> at org.apache.maven.plugin.war.WarOverlaysTest.testOverlaysIncludesExcludesWithMultipleDefinitions2(WarOverlaysTest.java:444)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: Maven WAR plugin
Posted by Timothy Reilly <tr...@prolifics.com>.
> Stephane Nicoll wrote
>
> Yes. I am bit busy right now but I am willing to sort that out. Give
> me a couple of days and I'll do my best to cast a vote.
>
> Cheers,
> Stéphane
I get test failures errors from trunk... ? I'm on WinXP just thought I should mention it in case Stephane is not seeing them as well. np, if it's a known issue.
Failed tests:
testOverlaysIncludesExcludesWithMultipleDefinitions(org.apache.maven.plugin.war.WarOverlaysTest)
testOverlaysIncludesExcludesWithMultipleDefinitions2(org.apache.maven.plugin.war.WarOverlaysTest)
Tests run: 60, Failures: 2, Errors: 0, Skipped: 0
>>>> \target\surefire-reports\org.apache.maven.plugin.war.WarOverlaysTest.txt >>>>>>
-------------------------------------------------------------------------------
Test set: org.apache.maven.plugin.war.WarOverlaysTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 8.079 sec <<< FAILURE!
testOverlaysIncludesExcludesWithMultipleDefinitions(org.apache.maven.plugin.war.WarOverlaysTest) Time elapsed: 0.937 sec <<< FAILURE!
junit.framework.AssertionFailedError: Invalid webapp content, expected 14file(s) [C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\web.xml] but got 15 file(s) [C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\META-INF\MANIFEST.MF, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\web.xml] expected:<[C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\web.xml]> but was:<[C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\META-INF\MANIFEST.MF, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs\WEB-INF\web.xml]>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at org.apache.maven.plugin.war.AbstractWarExplodedMojoTest.assertWebAppContent(AbstractWarExplodedMojoTest.java:242)
at org.apache.maven.plugin.war.WarOverlaysTest.testOverlaysIncludesExcludesWithMultipleDefinitions(WarOverlaysTest.java:374)
at org.apache.maven.plugin.war.WarOverlaysTest.testOverlaysIncludesExcludesWithMultipleDefinitions(WarOverlaysTest.java:374)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testOverlaysIncludesExcludesWithMultipleDefinitions2(org.apache.maven.plugin.war.WarOverlaysTest) Time elapsed: 0.891 sec <<< FAILURE!
junit.framework.AssertionFailedError: Invalid webapp content, expected 14file(s) [C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\web.xml] but got 15 file(s) [C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\META-INF\MANIFEST.MF, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\web.xml] expected:<[C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\web.xml]> but was:<[C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\a.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\b.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\jsp\d\c.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\META-INF\MANIFEST.MF, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\org\sample\company\test.jsp, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\a.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\b.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\classes\c.class, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\a.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\b.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\lib\c.jar, C:\Workspaces\europa-work1\maven-war-plugin-2.1\target\test-classes\unit\waroverlays\overlays-includes-excludes-multiple-defs2\WEB-INF\web.xml]>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at org.apache.maven.plugin.war.AbstractWarExplodedMojoTest.assertWebAppContent(AbstractWarExplodedMojoTest.java:242)
at org.apache.maven.plugin.war.WarOverlaysTest.testOverlaysIncludesExcludesWithMultipleDefinitions2(WarOverlaysTest.java:444)
at org.apache.maven.plugin.war.WarOverlaysTest.testOverlaysIncludesExcludesWithMultipleDefinitions2(WarOverlaysTest.java:444)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
Re: Maven WAR plugin
Posted by Wendy Smoak <ws...@gmail.com>.
On 10/3/07, Stephane Nicoll <st...@gmail.com> wrote:
> Yes. I am bit busy right now but I am willing to sort that out. Give
> me a couple of days and I'll do my best to cast a vote.
Just resolving that last issue would be great-- If you're busy, I'm
sure someone else can step up to do the release. :)
I can't figure out from the discussion if it's fixed, and then there
is what sounds like a feature request at the end. Maybe that just
needs a new issue opened.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by Stephane Nicoll <st...@gmail.com>.
I had a look to this one already and I'm a bit confused actually. I'll
reproduce the issue with your sample project.
The tests use testing harness so there is no real way to launch multi
projects builds actually. This is something we should address, plugins
such as assembly and others have an IT structure. We need to add that
as well but I'm still hoping we will find a common solution regarding
plugin IT testing.
Thanks for your patch anyway.
Stéphane
On 10/14/07, Timothy Reilly <tr...@prolifics.com> wrote:
> Stephane,
>
> Any thoughts on http://jira.codehaus.org/browse/MWAR-114
>
> I am okay with postponing this to a later alpha release (I'll try to
> keep updating the patches if needed),
> but I haven't heard from anyone in my pass posts if the patch is
> acceptable? if I can provide more on this?
> This is a big deal for us since we have needed to fork the war plugin
> codebase to build correctly.
>
> Btw: I looked into adding a test case for this, but I couldn't figure
> out how to make a multi-module project
> executed from the parent (maybe this would be an IT instead.)
> But the mytime app attached to the issue has been my manual test case.
>
> TIA,
> Tim Reilly
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by nicolas de loof <ni...@gmail.com>.
Great !
I'll make test on my side for integrating my plugin with the war plugin for
webapp packaging, and report succes/failure/suggest on this list.
Nico
2007/10/14, Stephane Nicoll <st...@gmail.com>:
>
> Hi Nico,
>
> Yes the packaging task is *exactly* meant to provide this
> functionality. I was about to add this to the war plugin actually but
> I wanted a first alpha released first because the packaging code has
> so much changed that I expect regressions.
>
> I'll have a look to the issue you've opened.
>
> Cheers,
> Stéphane
>
> On 10/14/07, nicolas de loof <ni...@gmail.com> wrote:
> > To be more precise, the change on the war plugin would be :
> >
> > final List packagingTasks = getPackagingTasks( overlayManager );
> > if ( getContext().contains( WarPackagingTask.CUSTOM_TASKS ) )
> > {
> > packagingTasks.addAll( (Collection) getContext().get(
> > WarPackagingTask.CUSTOM_TASKS ) );
> > }
> > ...
> >
> > final List postPackagingTasks = getPostPackagingTasks();
> > if ( getContext().contains( WarPackagingTask.CUSTOM_TASKS ) )
> > {
> > postPackagingTasks.addAll( (Collection) getContext().get(
> > WarPostPackagingTask.CUSTOM_TASKS ) );
> > }
> > ...
> >
> > This enhancement would enable plugins to register to the packaging
> process,
> > before the final WAR archive is created. In my case
> (javascript-mavne-tools
> > in Mojo sandbox) I'd like to process and copy some files into the web
> > application root. As there is no pre-package phase in maven 2.0.x this
> > requires interaction between plugins.
> >
> > Nico.
> >
> >
> > 2007/10/14, nicolas de loof <ni...@gmail.com>:
> > >
> > > Hello,
> > >
> > > I'm looking for a clean way to plug into the war packaging process.
> I'd
> > > like to add some custom Taks to the pacaking, before the .WAR archive
> is
> > > created.
> > >
> > > The war plugin extends AbstractMojo, so implements ContextEnabled.
> > > Based on this, it may be possible for plugins to share some
> configuration
> > > based on this context (AFAIK this is what it is designed for).
> > >
> > > Would you consider searching the context for some custom task and add
> them
> > > to the result of getPackagingTasks() ?
> > >
> > > I can open a Jira and attach a patch for this, but would like your
> opinion
> > > first.
> > >
> > > Nico.
> > >
> > > 2007/10/14, Stephane Nicoll <st...@gmail.com>:
> > > >
> > > > We need to patch/Release plexus utils first.
> > > >
> > > > This is a first alpha, I expect others to be released very soon.
> > > >
> > > > Stéphane
> > > >
> > > > On 10/14/07, Tomasz Pik <to...@gmail.com> wrote:
> > > > > On 10/14/07, Stephane Nicoll < stephane.nicoll@gmail.com > wrote:
> > > > > > I have identified an issue in the latest changes (zip overlays).
> I
> > > > > > have reopened the issue (MWAR-104). As soon as we address this,
> we
> > > > > > can call a vote.
> > > > >
> > > > > What about MWAR-123?
> > > > > I've tested maven-war-plugin with plexus-utils containing patch
> > > > > attached to http://jira.codehaus.org/browse/PLXUTILS-50
> > > > > and I did not encounter any problem (and filtering with '@'
> > > > > works correctly).
> > > > >
> > > > > And current behavior is very problematic, at least for me.
> > > > >
> > > > > Regards,
> > > > > Tomek
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Large Systems Suck: This rule is 100% transitive. If you build one,
> > > > you suck" -- S.Yegge
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > >
> > > >
> > >
> >
>
>
> --
> Large Systems Suck: This rule is 100% transitive. If you build one,
> you suck" -- S.Yegge
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: Maven WAR plugin
Posted by Stephane Nicoll <st...@gmail.com>.
Hi Nico,
Yes the packaging task is *exactly* meant to provide this
functionality. I was about to add this to the war plugin actually but
I wanted a first alpha released first because the packaging code has
so much changed that I expect regressions.
I'll have a look to the issue you've opened.
Cheers,
Stéphane
On 10/14/07, nicolas de loof <ni...@gmail.com> wrote:
> To be more precise, the change on the war plugin would be :
>
> final List packagingTasks = getPackagingTasks( overlayManager );
> if ( getContext().contains( WarPackagingTask.CUSTOM_TASKS ) )
> {
> packagingTasks.addAll( (Collection) getContext().get(
> WarPackagingTask.CUSTOM_TASKS ) );
> }
> ...
>
> final List postPackagingTasks = getPostPackagingTasks();
> if ( getContext().contains( WarPackagingTask.CUSTOM_TASKS ) )
> {
> postPackagingTasks.addAll( (Collection) getContext().get(
> WarPostPackagingTask.CUSTOM_TASKS ) );
> }
> ...
>
> This enhancement would enable plugins to register to the packaging process,
> before the final WAR archive is created. In my case (javascript-mavne-tools
> in Mojo sandbox) I'd like to process and copy some files into the web
> application root. As there is no pre-package phase in maven 2.0.x this
> requires interaction between plugins.
>
> Nico.
>
>
> 2007/10/14, nicolas de loof <ni...@gmail.com>:
> >
> > Hello,
> >
> > I'm looking for a clean way to plug into the war packaging process. I'd
> > like to add some custom Taks to the pacaking, before the .WAR archive is
> > created.
> >
> > The war plugin extends AbstractMojo, so implements ContextEnabled.
> > Based on this, it may be possible for plugins to share some configuration
> > based on this context (AFAIK this is what it is designed for).
> >
> > Would you consider searching the context for some custom task and add them
> > to the result of getPackagingTasks() ?
> >
> > I can open a Jira and attach a patch for this, but would like your opinion
> > first.
> >
> > Nico.
> >
> > 2007/10/14, Stephane Nicoll <st...@gmail.com>:
> > >
> > > We need to patch/Release plexus utils first.
> > >
> > > This is a first alpha, I expect others to be released very soon.
> > >
> > > Stéphane
> > >
> > > On 10/14/07, Tomasz Pik <to...@gmail.com> wrote:
> > > > On 10/14/07, Stephane Nicoll < stephane.nicoll@gmail.com > wrote:
> > > > > I have identified an issue in the latest changes (zip overlays). I
> > > > > have reopened the issue (MWAR-104). As soon as we address this, we
> > > > > can call a vote.
> > > >
> > > > What about MWAR-123?
> > > > I've tested maven-war-plugin with plexus-utils containing patch
> > > > attached to http://jira.codehaus.org/browse/PLXUTILS-50
> > > > and I did not encounter any problem (and filtering with '@'
> > > > works correctly).
> > > >
> > > > And current behavior is very problematic, at least for me.
> > > >
> > > > Regards,
> > > > Tomek
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Large Systems Suck: This rule is 100% transitive. If you build one,
> > > you suck" -- S.Yegge
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by nicolas de loof <ni...@gmail.com>.
I've just created http://jira.codehaus.org/browse/MWAR-124 for this.
Please review ;-)
Nico.
2007/10/14, nicolas de loof <ni...@gmail.com>:
>
> To be more precise, the change on the war plugin would be :
>
> final List packagingTasks = getPackagingTasks( overlayManager );
> if ( getContext().contains( WarPackagingTask.CUSTOM_TASKS ) )
> {
> packagingTasks.addAll( (Collection) getContext().get(
> WarPackagingTask.CUSTOM_TASKS ) );
> }
> ...
>
> final List postPackagingTasks = getPostPackagingTasks();
> if ( getContext().contains( WarPackagingTask.CUSTOM_TASKS ) )
> {
> postPackagingTasks.addAll( (Collection) getContext().get(
> WarPostPackagingTask.CUSTOM_TASKS ) );
> }
> ...
>
> This enhancement would enable plugins to register to the packaging
> process, before the final WAR archive is created. In my case
> (javascript-mavne-tools in Mojo sandbox) I'd like to process and copy
> some files into the web application root. As there is no pre-package phase
> in maven 2.0.x this requires interaction between plugins.
>
> Nico.
>
>
> 2007/10/14, nicolas de loof <ni...@gmail.com>:
> >
> > Hello,
> >
> > I'm looking for a clean way to plug into the war packaging process. I'd
> > like to add some custom Taks to the pacaking, before the .WAR archive is
> > created.
> >
> > The war plugin extends AbstractMojo, so implements ContextEnabled.
> > Based on this, it may be possible for plugins to share some configuration
> > based on this context (AFAIK this is what it is designed for).
> >
> > Would you consider searching the context for some custom task and add
> > them to the result of getPackagingTasks() ?
> >
> > I can open a Jira and attach a patch for this, but would like your
> > opinion first.
> >
> > Nico.
> >
> > 2007/10/14, Stephane Nicoll <st...@gmail.com>:
> > >
> > > We need to patch/Release plexus utils first.
> > >
> > > This is a first alpha, I expect others to be released very soon.
> > >
> > > Stéphane
> > >
> > > On 10/14/07, Tomasz Pik <to...@gmail.com> wrote:
> > > > On 10/14/07, Stephane Nicoll < stephane.nicoll@gmail.com > wrote:
> > > > > I have identified an issue in the latest changes (zip overlays). I
> > >
> > > > > have reopened the issue (MWAR-104). As soon as we address this,
> > > we
> > > > > can call a vote.
> > > >
> > > > What about MWAR-123?
> > > > I've tested maven-war-plugin with plexus-utils containing patch
> > > > attached to http://jira.codehaus.org/browse/PLXUTILS-50
> > > > and I did not encounter any problem (and filtering with '@'
> > > > works correctly).
> > > >
> > > > And current behavior is very problematic, at least for me.
> > > >
> > > > Regards,
> > > > Tomek
> > > >
> > > >
> > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Large Systems Suck: This rule is 100% transitive. If you build one,
> > > you suck" -- S.Yegge
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
>
Re: Maven WAR plugin
Posted by nicolas de loof <ni...@gmail.com>.
To be more precise, the change on the war plugin would be :
final List packagingTasks = getPackagingTasks( overlayManager );
if ( getContext().contains( WarPackagingTask.CUSTOM_TASKS ) )
{
packagingTasks.addAll( (Collection) getContext().get(
WarPackagingTask.CUSTOM_TASKS ) );
}
...
final List postPackagingTasks = getPostPackagingTasks();
if ( getContext().contains( WarPackagingTask.CUSTOM_TASKS ) )
{
postPackagingTasks.addAll( (Collection) getContext().get(
WarPostPackagingTask.CUSTOM_TASKS ) );
}
...
This enhancement would enable plugins to register to the packaging process,
before the final WAR archive is created. In my case (javascript-mavne-tools
in Mojo sandbox) I'd like to process and copy some files into the web
application root. As there is no pre-package phase in maven 2.0.x this
requires interaction between plugins.
Nico.
2007/10/14, nicolas de loof <ni...@gmail.com>:
>
> Hello,
>
> I'm looking for a clean way to plug into the war packaging process. I'd
> like to add some custom Taks to the pacaking, before the .WAR archive is
> created.
>
> The war plugin extends AbstractMojo, so implements ContextEnabled.
> Based on this, it may be possible for plugins to share some configuration
> based on this context (AFAIK this is what it is designed for).
>
> Would you consider searching the context for some custom task and add them
> to the result of getPackagingTasks() ?
>
> I can open a Jira and attach a patch for this, but would like your opinion
> first.
>
> Nico.
>
> 2007/10/14, Stephane Nicoll <st...@gmail.com>:
> >
> > We need to patch/Release plexus utils first.
> >
> > This is a first alpha, I expect others to be released very soon.
> >
> > Stéphane
> >
> > On 10/14/07, Tomasz Pik <to...@gmail.com> wrote:
> > > On 10/14/07, Stephane Nicoll < stephane.nicoll@gmail.com > wrote:
> > > > I have identified an issue in the latest changes (zip overlays). I
> > > > have reopened the issue (MWAR-104). As soon as we address this, we
> > > > can call a vote.
> > >
> > > What about MWAR-123?
> > > I've tested maven-war-plugin with plexus-utils containing patch
> > > attached to http://jira.codehaus.org/browse/PLXUTILS-50
> > > and I did not encounter any problem (and filtering with '@'
> > > works correctly).
> > >
> > > And current behavior is very problematic, at least for me.
> > >
> > > Regards,
> > > Tomek
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > Large Systems Suck: This rule is 100% transitive. If you build one,
> > you suck" -- S.Yegge
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
Re: Maven WAR plugin
Posted by nicolas de loof <ni...@gmail.com>.
Hello,
I'm looking for a clean way to plug into the war packaging process. I'd like
to add some custom Taks to the pacaking, before the .WAR archive is created.
The war plugin extends AbstractMojo, so implements ContextEnabled. Based on
this, it may be possible for plugins to share some configuration based on
this context (AFAIK this is what it is designed for).
Would you consider searching the context for some custom task and add them
to the result of getPackagingTasks() ?
I can open a Jira and attach a patch for this, but would like your opinion
first.
Nico.
2007/10/14, Stephane Nicoll <st...@gmail.com>:
>
> We need to patch/Release plexus utils first.
>
> This is a first alpha, I expect others to be released very soon.
>
> Stéphane
>
> On 10/14/07, Tomasz Pik <to...@gmail.com> wrote:
> > On 10/14/07, Stephane Nicoll <stephane.nicoll@gmail.com > wrote:
> > > I have identified an issue in the latest changes (zip overlays). I
> > > have reopened the issue (MWAR-104). As soon as we address this, we
> > > can call a vote.
> >
> > What about MWAR-123?
> > I've tested maven-war-plugin with plexus-utils containing patch
> > attached to http://jira.codehaus.org/browse/PLXUTILS-50
> > and I did not encounter any problem (and filtering with '@'
> > works correctly).
> >
> > And current behavior is very problematic, at least for me.
> >
> > Regards,
> > Tomek
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
>
> --
> Large Systems Suck: This rule is 100% transitive. If you build one,
> you suck" -- S.Yegge
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: Maven WAR plugin
Posted by Stephane Nicoll <st...@gmail.com>.
We need to patch/Release plexus utils first.
This is a first alpha, I expect others to be released very soon.
Stéphane
On 10/14/07, Tomasz Pik <to...@gmail.com> wrote:
> On 10/14/07, Stephane Nicoll <st...@gmail.com> wrote:
> > I have identified an issue in the latest changes (zip overlays). I
> > have reopened the issue (MWAR-104). As soon as we address this, we
> > can call a vote.
>
> What about MWAR-123?
> I've tested maven-war-plugin with plexus-utils containing patch
> attached to http://jira.codehaus.org/browse/PLXUTILS-50
> and I did not encounter any problem (and filtering with '@'
> works correctly).
>
> And current behavior is very problematic, at least for me.
>
> Regards,
> Tomek
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by olivier lamy <ol...@apache.org>.
Hi,
plexus-utils version 1.4.7 done.
I have updated the maven-war-plugin pom to use released version.
Stephane : maybe you can call the vote on thursday ?
--
Olivier
2007/10/16, Stephane Nicoll <stephane.nicoll@gmail.com >:
>
> On 10/15/07, Tomasz Pik <tompik@gmail.com > wrote:
> > PS Now I need to lobby for plexus-utils release I guess...
>
> Hehe :)
>
> Stéphane
>
> --
> Large Systems Suck: This rule is 100% transitive. If you build one,
> you suck" -- S.Yegge
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: Maven WAR plugin
Posted by Stephane Nicoll <st...@gmail.com>.
On 10/15/07, Tomasz Pik <to...@gmail.com> wrote:
> PS Now I need to lobby for plexus-utils release I guess...
Hehe :)
Stéphane
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by Tomasz Pik <to...@gmail.com>.
On 10/15/07, olivier lamy <ol...@apache.org> wrote:
> Hi,
> I have fixed both (thanks for the patch).
> A new maven-war-plugin snapshot have been deployed
> maven-war-plugin-2.1-alpha-1-20071015.195227-3.jar.
> Can you try it ?
Works perfectly, I've tried 5 different projects and didn't find
any issues.
Thanks a lot,
Tomek
PS Now I need to lobby for plexus-utils release I guess...
>
> Thanks,
> --
> Olivier
>
>
> 2007/10/14, Tomasz Pik <to...@gmail.com>:
> >
> > On 10/14/07, Stephane Nicoll <st...@gmail.com> wrote:
> > > I have identified an issue in the latest changes (zip overlays). I
> > > have reopened the issue (MWAR-104). As soon as we address this, we
> > > can call a vote.
> >
> > What about MWAR-123?
> > I've tested maven-war-plugin with plexus-utils containing patch
> > attached to http://jira.codehaus.org/browse/PLXUTILS-50
> > and I did not encounter any problem (and filtering with '@'
> > works correctly).
> >
> > And current behavior is very problematic, at least for me.
> >
> > Regards,
> > Tomek
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
>
> --
> Olivier
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by olivier lamy <ol...@apache.org>.
Hi,
I have fixed both (thanks for the patch).
A new maven-war-plugin snapshot have been deployed
maven-war-plugin-2.1-alpha-1-20071015.195227-3.jar.
Can you try it ?
Thanks,
--
Olivier
2007/10/14, Tomasz Pik <to...@gmail.com>:
>
> On 10/14/07, Stephane Nicoll <st...@gmail.com> wrote:
> > I have identified an issue in the latest changes (zip overlays). I
> > have reopened the issue (MWAR-104). As soon as we address this, we
> > can call a vote.
>
> What about MWAR-123?
> I've tested maven-war-plugin with plexus-utils containing patch
> attached to http://jira.codehaus.org/browse/PLXUTILS-50
> and I did not encounter any problem (and filtering with '@'
> works correctly).
>
> And current behavior is very problematic, at least for me.
>
> Regards,
> Tomek
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
Olivier
Re: Maven WAR plugin
Posted by Tomasz Pik <to...@gmail.com>.
On 10/14/07, Stephane Nicoll <st...@gmail.com> wrote:
> I have identified an issue in the latest changes (zip overlays). I
> have reopened the issue (MWAR-104). As soon as we address this, we
> can call a vote.
What about MWAR-123?
I've tested maven-war-plugin with plexus-utils containing patch
attached to http://jira.codehaus.org/browse/PLXUTILS-50
and I did not encounter any problem (and filtering with '@'
works correctly).
And current behavior is very problematic, at least for me.
Regards,
Tomek
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: Maven WAR plugin
Posted by Timothy Reilly <tr...@prolifics.com>.
Stephane,
Any thoughts on http://jira.codehaus.org/browse/MWAR-114
I am okay with postponing this to a later alpha release (I'll try to
keep updating the patches if needed),
but I haven't heard from anyone in my pass posts if the patch is
acceptable? if I can provide more on this?
This is a big deal for us since we have needed to fork the war plugin
codebase to build correctly.
Btw: I looked into adding a test case for this, but I couldn't figure
out how to make a multi-module project
executed from the parent (maybe this would be an IT instead.)
But the mytime app attached to the issue has been my manual test case.
TIA,
Tim Reilly
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by Stephane Nicoll <st...@gmail.com>.
I have identified an issue in the latest changes (zip overlays). I
have reopened the issue (MWAR-104). As soon as we address this, we
can call a vote.
Thanks,
Stéphane
On 10/10/07, Timothy Reilly <tr...@prolifics.com> wrote:
> >>> I wrote:
> >>> I get test failures errors from trunk... ?
> >>> I'm on WinXP just thought I should mention it in case Stephane
> >> is not seeing them as well. np, if it's a known issue.
>
> >> Stephane Nicole wrote:
> >> Cool. I don't have those on MacOS.
>
> > olivier lamy wrote:
> > I have committed fix for this.
> > Can you test ?
> >
>
> Test cases now pass on Windows XP when I build the war plugin.
>
> >> I also wrote:
> >> Any chance on getting this one in also?
> >> http://jira.codehaus.org/browse/MWAR-114
> > Wendy Smoak wrote:
> > Just resolving that last issue would be great-- If you're busy, I'm
> > sure someone else can step up to do the release. :)
>
> :-(
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: Maven WAR plugin
Posted by Timothy Reilly <tr...@prolifics.com>.
>>> I wrote:
>>> I get test failures errors from trunk... ?
>>> I'm on WinXP just thought I should mention it in case Stephane
>> is not seeing them as well. np, if it's a known issue.
>> Stephane Nicole wrote:
>> Cool. I don't have those on MacOS.
> olivier lamy wrote:
> I have committed fix for this.
> Can you test ?
>
Test cases now pass on Windows XP when I build the war plugin.
>> I also wrote:
>> Any chance on getting this one in also?
>> http://jira.codehaus.org/browse/MWAR-114
> Wendy Smoak wrote:
> Just resolving that last issue would be great-- If you're busy, I'm
> sure someone else can step up to do the release. :)
:-(
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by olivier lamy <ol...@apache.org>.
Hi Stephane,
Ok you're right.
Handling zip automatically must be off by default.
I will reopen issue and fixing this.
--
Olivier
2007/10/8, Stephane Nicoll <st...@gmail.com>:
>
> Hi,
>
> On 10/8/07, olivier lamy <ol...@apache.org> wrote:
> > Hi,
> > I have committed fix for this.
> > Can you test ?
>
> I've made a comment on the issue. Handling ZIP deps automatically as
> overlays sounds a bit too much to me.
>
> >
> > Stephane, I have permission issues when deploying the snapshot
> > -rw-r--r-- 1 snicoll apcvs 380 Aug 12 03:43 maven-metadata.xml
> >
> > Can you fix permission or redeploying a snapshot ?
>
> A new snapshot is available.
>
> I will test in more details tonight and call for a vote accordingly.
> Thank you very much!
>
> Stéphane
>
> >
> > Thanks,
> > --
> > Olivier
> >
> >
> >
> > 2007/10/4, Timothy Reilly <tr...@prolifics.com>:
> > >
> > > On 10/4/07, Wendy Smoak wrote:
> > > > On 10/3/07, gastaldi wrote:
> > > >
> > > > > Any tips on when Maven War 2.1-alpha will be released ? :clap:
> There
> > > is one
> > > > > pesty bug around.
> > > >
> > > > MWAR-104 is the last one open marked 2.1-alpha-1. Stephane, any
> > > thoughts?
> > > >
> > > > http://jira.codehaus.org/browse/MWAR-104
> > > >
> > > > --
> > > > Wendy
> > > >
> > >
> > > Any chance on getting this one in also?
> > >
> > > http://jira.codehaus.org/browse/MWAR-114
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> >
> >
> >
> > --
> > Olivier
> >
>
>
> --
> Large Systems Suck: This rule is 100% transitive. If you build one,
> you suck" -- S.Yegge
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
Olivier
Re: Maven WAR plugin
Posted by Stephane Nicoll <st...@gmail.com>.
Hi,
On 10/8/07, olivier lamy <ol...@apache.org> wrote:
> Hi,
> I have committed fix for this.
> Can you test ?
I've made a comment on the issue. Handling ZIP deps automatically as
overlays sounds a bit too much to me.
>
> Stephane, I have permission issues when deploying the snapshot
> -rw-r--r-- 1 snicoll apcvs 380 Aug 12 03:43 maven-metadata.xml
>
> Can you fix permission or redeploying a snapshot ?
A new snapshot is available.
I will test in more details tonight and call for a vote accordingly.
Thank you very much!
Stéphane
>
> Thanks,
> --
> Olivier
>
>
>
> 2007/10/4, Timothy Reilly <tr...@prolifics.com>:
> >
> > On 10/4/07, Wendy Smoak wrote:
> > > On 10/3/07, gastaldi wrote:
> > >
> > > > Any tips on when Maven War 2.1-alpha will be released ? :clap: There
> > is one
> > > > pesty bug around.
> > >
> > > MWAR-104 is the last one open marked 2.1-alpha-1. Stephane, any
> > thoughts?
> > >
> > > http://jira.codehaus.org/browse/MWAR-104
> > >
> > > --
> > > Wendy
> > >
> >
> > Any chance on getting this one in also?
> >
> > http://jira.codehaus.org/browse/MWAR-114
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
>
>
>
> --
> Olivier
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by olivier lamy <ol...@apache.org>.
Hi,
I have committed fix for this.
Can you test ?
Stephane, I have permission issues when deploying the snapshot
-rw-r--r-- 1 snicoll apcvs 380 Aug 12 03:43 maven-metadata.xml
Can you fix permission or redeploying a snapshot ?
Thanks,
--
Olivier
2007/10/4, Timothy Reilly <tr...@prolifics.com>:
>
> On 10/4/07, Wendy Smoak wrote:
> > On 10/3/07, gastaldi wrote:
> >
> > > Any tips on when Maven War 2.1-alpha will be released ? :clap: There
> is one
> > > pesty bug around.
> >
> > MWAR-104 is the last one open marked 2.1-alpha-1. Stephane, any
> thoughts?
> >
> > http://jira.codehaus.org/browse/MWAR-104
> >
> > --
> > Wendy
> >
>
> Any chance on getting this one in also?
>
> http://jira.codehaus.org/browse/MWAR-114
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
--
Olivier
RE: Maven WAR plugin
Posted by Timothy Reilly <tr...@prolifics.com>.
On 10/4/07, Wendy Smoak wrote:
> On 10/3/07, gastaldi wrote:
>
> > Any tips on when Maven War 2.1-alpha will be released ? :clap: There is one
> > pesty bug around.
>
> MWAR-104 is the last one open marked 2.1-alpha-1. Stephane, any thoughts?
>
> http://jira.codehaus.org/browse/MWAR-104
>
> --
> Wendy
>
Any chance on getting this one in also?
http://jira.codehaus.org/browse/MWAR-114
Re: Maven WAR plugin
Posted by Stephane Nicoll <st...@gmail.com>.
Yes. I am bit busy right now but I am willing to sort that out. Give
me a couple of days and I'll do my best to cast a vote.
Cheers,
Stéphane
On 10/4/07, Wendy Smoak <ws...@gmail.com> wrote:
> On 10/3/07, gastaldi <ge...@gmail.com> wrote:
>
> > Any tips on when Maven War 2.1-alpha will be released ? :clap: There is one
> > pesty bug around.
>
> MWAR-104 is the last one open marked 2.1-alpha-1. Stephane, any thoughts?
>
> http://jira.codehaus.org/browse/MWAR-104
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven WAR plugin
Posted by Wendy Smoak <ws...@gmail.com>.
On 10/3/07, gastaldi <ge...@gmail.com> wrote:
> Any tips on when Maven War 2.1-alpha will be released ? :clap: There is one
> pesty bug around.
MWAR-104 is the last one open marked 2.1-alpha-1. Stephane, any thoughts?
http://jira.codehaus.org/browse/MWAR-104
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org