Re: Packaging selected class file

2008-03-14 Thread VUB Stefan Seidel

Hi,

please read the maven guides on the website. Surely a lot can be done 
with maven, but if you use it, you should stick to the conventions 
wherever possible. Use three different artifacts (modules).


regards,

Stefan

ferry97 wrote:

Hi,
Does maven has a capabilities to build a certain package to different jar ?
For example.
I have few packages in one project:
1. com.client1
2. com.client2
3. com.client3

and I'd like to be able to build 3 jars from it, client1.jar will have
com.client1 package only, and client2.jar com.client2 package only.

I'm not sure that I can use profile in order to achieve this, such as : mvn
package -Pclient1 to package client1.jar

Is that possible in maven ? If yes, any sample that I can refer to ?
Thanks.


--
best regards,

Stefan Seidel
software developer

VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.+49 (341) 9 60 50 07
fax.+49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED]
web.www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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



Packaging selected class file

2008-03-14 Thread ferry97

Hi,
Does maven has a capabilities to build a certain package to different jar ?
For example.
I have few packages in one project:
1. com.client1
2. com.client2
3. com.client3

and I'd like to be able to build 3 jars from it, client1.jar will have
com.client1 package only, and client2.jar com.client2 package only.

I'm not sure that I can use profile in order to achieve this, such as : mvn
package -Pclient1 to package client1.jar

Is that possible in maven ? If yes, any sample that I can refer to ?
Thanks.
-- 
View this message in context: 
http://www.nabble.com/Packaging-selected-class-file-tp16047316s177p16047316.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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