Hello,
I would like my team to deploy to my repository the following jars : binaries
(of course), sources and javadoc. As javadoc generation is a bit time costly, I
would like to get it generated only on the deploy phase, so that, everyday work
is not slowed by this generation. I did the following in my pom :
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<phase>delpoy</phase>
</execution>
</executions>
</plugin>
Unfortunalty, the 2 jars are generated in the deploy phase, but are not copied
in the repository. I guess they are not registred in the deploy phase to get
copied or something like that ?
Is there something I have to change to get it work, or do I have to change the
phase to install (for instance) to get them copied during the deploy phase ?
By the way, concerning the eclipse:eclipse -DdownloadSources. This plugin tries
to get the sources of every dependency of my pom. As all of the dependencies I
use don't publish nor sources nor javadoc, it keep on trying to download them,
each time I use eclipse:eclipse. Is there a way to tell eclipse:eclipse not to
try downloading a set of sources / javadoc ?
Best regards,
Dom
_________________________________________________________________________________________________________
Ce message (et toutes les pièces jointes) sont confidentiels ; son contenu ne
représente en aucun cas un engagement de la part de DEXIA SOFAXIS. Toute
publication, utilisation ou diffusion, même partielle, doit être autorisée
préalablement par l'émetteur.
Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.
Conformément aux dispositions de la loi n° 78-17 du 6 janvier 1978 relative à
l'informatique, aux fichiers et aux libertés, vous pouvez obtenir communication
et, le cas échéant, rectification ou suppression des informations vous
concernant en vous adressant à DEXIA SOFAXIS - Route de Creton - 18110 VASSELAY
_________________________________________________________________________________________________________
Consultez notre site internet http://www.sofaxis.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]