Hello

Just add that in your pom

<build>
...
        <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
        </plugins>
...
</build>

This will build a source jar each time you build your application jar file

Damien


> -----Message d'origine-----
> De : Frederik Bayart [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 7 août 2006 17:53
> À : Maven Users List
> Objet : RE: [m2] ant run plugin
> 
> 
>  see http://maven.apache.org/plugins/maven-antrun-plugin/usage.html
> 
> 
>               <tasks>
>                 <ant antfile="..."/>
>               </tasks>
> 
> 
> 
> 
> -----Original Message-----
> From: Wayne Fay [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 07, 2006 8:39 AM
> To: Maven Users List
> Subject: Re: [m2] ant run plugin
> 
> Maven does not invoke Ant from Ant's installed directory. Instead it
> downloads the Ant libs to the Maven repo and uses them directly.
> 
> You will need to install your WS lib in the Maven repo and 
> specify it as
> a <dep> on the Ant plugin, so that Maven includes it when running your
> Ant commands.
> 
> Wayne
> 
> On 8/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > <property name="was6.home" value="C:\Program 
> > Files\IBM\WebSphere\AppServer" />
> >
> > <taskdef name="wsejbdeploy"
> > classname="com.ibm.websphere.ant.tasks.WsEjbDeploy" />
> >
> > I have a problem defining the ant run. I have copied the 
> Ant tasks to 
> > the ANT_1.6.5\lib directory, but Ant does not seem to know 
> where the 
> > external ant task? How is M2 invoking Ant?
> >
> > --
> > Peter Pilgrim
> > UBS Investment Bank,
> > PTS Portal / IT FIRC OPS LDN,
> > 100 Liverpool Street, London EC2M 2RH, United Kingdom
> > :: Java EE / E-Commerce / Enterprise Integration / Development ::
> >
> > Visit our website at http://www.ubs.com
> >
> > This message contains confidential information and is intended only 
> > for the individual named.  If you are not the named addressee you 
> > should not disseminate, distribute or copy this e-mail.  
> Please notify
> 
> > the sender immediately by e-mail if you have received this 
> e-mail by 
> > mistake and delete this e-mail from your system.
> >
> > E-mail transmission cannot be guaranteed to be secure or 
> error-free as
> 
> > information could be intercepted, corrupted, lost, 
> destroyed, arrive 
> > late or incomplete, or contain viruses.  The sender 
> therefore does not
> 
> > accept liability for any errors or omissions in the 
> contents of this 
> > message which arise as a result of e-mail transmission.  If 
> > verification is required please request a hard-copy version.  This 
> > message is provided for informational purposes and should not be 
> > construed as a solicitation or offer to buy or sell any 
> securities or 
> > related financial instruments.
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> _________________________________________________
> Scanned on 07 Aug 2006 15:44:06
> Scanned by Erado
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to