You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Jeremy Hughes <hu...@apache.org> on 2008/05/07 15:44:30 UTC

[axis2] source jars from mvn build

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

Re: [axis2] source jars from mvn build

Posted by Davanum Srinivas <da...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy,

Please go ahead and add it...Please do make sure they get generated and they look right and they have the correct
LICENSE and NOTICE files as well.

thanks,
dims

Jeremy Hughes wrote:
| 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
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFIIbLpgNg6eWEDv1kRAhfZAKCyloR2pt0PGJCrCBgexTu0KgmoRwCggkm5
k6JxKoYtuWhiKpF/WByGl8c=
=srKT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org