I'd like to get source jars for Axis2 modules out of the mvn build. I've
noticed XmlSchema, neethi and axiom all create source jars in the 'package'
stage of the maven2 lifecycle. But the Axis2 modules don't. Is there a good
reason behind this? If not then I propose we add this to the axis2 parent
pom (which I swiped from the axiom parent pom):

<project>
...
    <build>
    ....
        <plugins>
        ....
            <plugin>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <attach>true</attach>
                </configuration>
            </plugin>
....

How about it?

Thanks,
Jeremy

Reply via email to