i solved it with a workaround: i included jaxws-tools as optional depedency
in pom.xml and referenced it from ant-buildfile through
${maven.compile.classpath}.aldana wrote: > > for reasons as explained in > http://forums.java.net/jive/thread.jspa?threadID=35708&tstart=15 i need to > generate my jax-ws sources through antrun plugin. > > for that i need to include the jax-ws library. how is the import of > neccessary ant-task libraries for the antrun plugin done? as explained in > http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html > i could reference classpath through id ${maven.plugin.classpath}, but i > will replace the wsimport maven2 plugin with the ant task so the > jaxws-tools library won't be included any longer in pom.xml. > > what is the best practice to include third party libraries for ant tasks > which are not included through pom.xml? i can only think of copying the > library of the ant build.xml, but doubt that this is the right way... > > > > > -- View this message in context: http://www.nabble.com/howto-include-library-for-defined-task-in-antrun-plugin--tp15038204s177p15047047.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
