[ http://jira.codehaus.org/browse/MOJO-143?page=all ]
Brett Porter updated MOJO-143:
------------------------------
Component: (was: sandbox)
axistools
> [Java2WSDLMojo] Resources generated in process-classes missing in artifact
> --------------------------------------------------------------------------
>
> Key: MOJO-143
> URL: http://jira.codehaus.org/browse/MOJO-143
> Project: Mojo
> Type: Bug
> Components: axistools
> Reporter: Christoph Schönfeld
> Assignee: Brett Porter
>
>
> The following code does not work:
> projectHelper.addResource( project, outputDirectory.getAbsolutePath(),
> Collections.singletonList("**/*.wsdl"), Collections.EMPTY_LIST);
> It is located at the end of Java2WSDLMojo.execute() of the
> axistool-maven-plugin which uses Axis to create WSDL files. It is intended
> that the generated WSDL files get included in the build artifact but they
> don't end up there.
> The plug-in is run in the process-classes phase because Java2WSDL depends on
> the compiled class files.
> The reason for the missing resource files is that adding resources in this
> phase has no effect -- obviously because the resources plug-in is run in an
> ealier phase.
> Brett Porter confirmed this in his response to my e-mail "Adding resources in
> the process-classes phase of a Project", Thu, 24 Nov 2005 15:01:37 +0100 on
> maven-users.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira