You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by KC Baltz <KC...@Copart.Com> on 2005/11/03 02:23:26 UTC

RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependentjars?

What's the best way for me to try the patch?  Can I simply change the version number of my plugin?  Or do I have to build the plugin myself and apply the patch? 

K.C.

-----Original Message-----
From: fabrice.belingard@mpsa.com [mailto:fabrice.belingard@mpsa.com]
Sent: Wednesday, November 02, 2005 1:14 AM
To: Maven Users List
Subject: RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding
dependentjars?






Look at http://jira.codehaus.org/browse/MNG-1038

I don't know if the last patch has been applied to the WAR plugin. Anyway,
the final version has not been released yet... (there are still some
plugins that have not been released)


Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91  -  fabrice.belingard@mpsa.com


                                                                           
             KC Baltz                                                      
             <KC.Baltz@Copart                                              
             .Com>                                                    Pour 
                                       Maven Users List                    
             02/11/2005 02:08          <us...@maven.apache.org>            
                                                                        cc 
                                                                           
                 Veuillez                                            Objet 
                répondre à             RE: [m2] How to exclude             
             Maven Users List          WEB-INF/lib/*.jar without excluding 
             <users@maven.apa          dependent jars?                     
                 che.org>                                                  
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




No luck.  That appears to have no effect at all.  I end up with all the
jars, those from source control and those from dependencies.

K.C.

-----Original Message-----
From: Brett Porter [mailto:brett.porter@gmail.com]
Sent: Tuesday, November 01, 2005 3:39 PM
To: Maven Users List
Subject: Re: [m2] How to exclude WEB-INF/lib/*.jar without excluding
dependent jars?


try

<excludes>
  <exclude>WEB-INF/lib/*.jar</exclude>
</excludes>

On 11/2/05, KC Baltz <KC...@copart.com> wrote:
> I'm in the process of converting a webapp from Ant builds to Maven2
builds and I'm running into a hitch with the packaging.  When I first built
the webapp, it put duplicate jars in my WEB-INF/lib since they exist there
in my source directory and it also included the jars defined in my pom
dependencies.  I tried adding
> <excludes>WEB-INF/lib/*.jar</excludes> to my war plugin configuration,
but then I ended up with no jars in my war file.
>
> I'd rather not delete the jars at the moment since I'm still doing
parallel development with Ant.  Is there a way to accomplish this or am I
wasting time trying to make M2 do something it really shouldn't?
>
> K.C.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependentjars?

Posted by fa...@mpsa.com.



You can check out the plugin from SVN, verify that the patch has been
applied (and apply it if not) and build the plugin yourself (the version of
the plugin in SVN must be snapshot, so you can leave it like this).
The plugin should be released soon (at least I hope), so you can also wait
a bit.

Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91  -  fabrice.belingard@mpsa.com


                                                                           
             KC Baltz                                                      
             <KC.Baltz@Copart                                              
             .Com>                                                    Pour 
                                       Maven Users List                    
             03/11/2005 02:23          <us...@maven.apache.org>            
                                                                        cc 
                                                                           
                 Veuillez                                            Objet 
                répondre à             RE: [m2] How to exclude             
             Maven Users List          WEB-INF/lib/*.jar without excluding 
             <users@maven.apa          dependentjars?                      
                 che.org>                                                  
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




What's the best way for me to try the patch?  Can I simply change the
version number of my plugin?  Or do I have to build the plugin myself and
apply the patch?

K.C.

-----Original Message-----
From: fabrice.belingard@mpsa.com [mailto:fabrice.belingard@mpsa.com]
Sent: Wednesday, November 02, 2005 1:14 AM
To: Maven Users List
Subject: RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding
dependentjars?






Look at http://jira.codehaus.org/browse/MNG-1038

I don't know if the last patch has been applied to the WAR plugin. Anyway,
the final version has not been released yet... (there are still some
plugins that have not been released)


Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91  -  fabrice.belingard@mpsa.com



             KC Baltz
             <KC.Baltz@Copart
             .Com>                                                    Pour
                                       Maven Users List
             02/11/2005 02:08          <us...@maven.apache.org>
                                                                        cc

                 Veuillez                                            Objet
                répondre à             RE: [m2] How to exclude
             Maven Users List          WEB-INF/lib/*.jar without excluding
             <users@maven.apa          dependent jars?
                 che.org>









No luck.  That appears to have no effect at all.  I end up with all the
jars, those from source control and those from dependencies.

K.C.

-----Original Message-----
From: Brett Porter [mailto:brett.porter@gmail.com]
Sent: Tuesday, November 01, 2005 3:39 PM
To: Maven Users List
Subject: Re: [m2] How to exclude WEB-INF/lib/*.jar without excluding
dependent jars?


try

<excludes>
  <exclude>WEB-INF/lib/*.jar</exclude>
</excludes>

On 11/2/05, KC Baltz <KC...@copart.com> wrote:
> I'm in the process of converting a webapp from Ant builds to Maven2
builds and I'm running into a hitch with the packaging.  When I first built
the webapp, it put duplicate jars in my WEB-INF/lib since they exist there
in my source directory and it also included the jars defined in my pom
dependencies.  I tried adding
> <excludes>WEB-INF/lib/*.jar</excludes> to my war plugin configuration,
but then I ended up with no jars in my war file.
>
> I'd rather not delete the jars at the moment since I'm still doing
parallel development with Ant.  Is there a way to accomplish this or am I
wasting time trying to make M2 do something it really shouldn't?
>
> K.C.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org