[ https://jira.codehaus.org/browse/MANTRUN-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies closed MANTRUN-76. ----------------------------------- Resolution: Incomplete Fix Version/s: 1.6 Assignee: Benson Margulies There is not enough information in here to reproduce a problem. > problem with wsgen ant task from maven-antrun-plugin > ---------------------------------------------------- > > Key: MANTRUN-76 > URL: https://jira.codehaus.org/browse/MANTRUN-76 > Project: Maven 2.x Antrun Plugin > Issue Type: Bug > Reporter: Kevin > Assignee: Benson Margulies > Fix For: 1.6 > > > I am using maven 2.0.4 and am trying to generate all of the portable > artifacts for a JAX-WS web service from a JAX-WS service endpoint > implementation class. > I can generate them and specify the directory where the generated sources or > classes should come. > However, when I use: > sourcedestdir="${project.build.directory}/generated-sources/main/java" > destdir="${project.build.directory}/generated-classes/main/java" > and try to add this source directory as source directory in maven with: > <configuration> > > <sourceRoot>${project.build.directory}/generated-sources/main/java</sourceRoot> > <tasks> > .... > It still doesn't add it as source directory. > There is a plugin to add source directories: build-helper-maven-plugin > This solves the problem for eclipse, but the generated-classes are not added > to the jar that is created. > How can I add these generated-classes to the jar? > I already used wsimport several times and there I don't have any problems. > The generated-sources directory is added as source directory and the > generated-classes are in the jar that is created. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira