Hi ANders
Anders Hammar wrote:
> How do people manage wsdl files in their repo. Do you manage them in a jar
> artifact or any other way?
Use the build-helper plugin. We manage xsd files as artifacts:
========== %< ==============
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>xml-schema</id>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>src/main/schema/UserGroup.xsd</file>
<type>xsd</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
========== %< ==============
The packaging type of the project is "pom". We can reference the xsd
artifact later as normal dependency with type xsd.
Hope this helps,
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]