Wayne Fay wrote:
> 
> Its not clear what you want...
> 
> First you say you want your jar plus all dependencies. Jo gave that to
> you and you were happy.
> 
> Now you come back and you've changed your mind.
> 
> What exactly are you looking for?
> 

Ouch, sorry, my english is not as good as I would like.

To be clear I never said I want dependencies  _inside_ my jar. I said I want
to distribute my jar app with all dependencies inside a lib folder.

The first time I distribute my app I'll need to distribute this big zip
file. But then, if I need to distribute a change in my app I'll need to
distribute just my little jar application without the dependencies.

To be more clear, this is what I get with my ant task in target folder:

-----------------------------
aplicacionb-2.0.jar
aplicacionb.properties
log4j.xml
¦
+---lib
        ant-1.6.2.jar
        antlr-2.7.6.jar
        aopalliance-1.0.jar
        asm-1.5.3.jar
        asm-attrs-1.5.3.jar
        avalon-framework-4.1.3.jar
        backport-util-concurrent-2.0_01_pd.jar
        cglib-2.1_3.jar
        commons-beanutils-1.7.0.jar
        commons-collections-3.1.jar
        commons-dbcp-1.2.1.jar
        commons-discovery-0.4.jar
        commons-lang-2.1.jar
        commons-logging-1.1.jar
        commons-pool-1.2.jar
        dbunit-2.2.jar
        dom4j-1.6.1.jar
        ehcache-1.2.3.jar
        hibernate-3.2.2.ga.jar
        ........etc, etc, etc 
------------------

and then I compress everything by hand with winzip to get aplicacionb.zip. 

I want to get this with maven2.

Is it possible ?

Thanks in advance

J







-- 
View this message in context: 
http://www.nabble.com/jar-with-dependencies-in-a-folder-tf3644333s177.html#a10185870
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to