Hi
I am working with a project having many sub projects.
Folder structure is as shown below.
Project
- bin
|-common
|
|- Subproject
|-common
After compiling a sub project (from subproject folder using maven )I have to copy some class files( from Subproject\common ) to root level( project\bin\common folder ) and create a jar in root level( common.jar )with the new classes. How is it possible using maven. Please reply me as early as possible
-
Problem on creating jar in Maven (2 messages)
- Posted by: Bejoy Kunjumon
- Posted on: March 15 2005 01:54 EST
Threaded Messages (2)
- Problem on creating jar in Maven by Colin Yates on March 15 2005 11:59 EST
- Problem on creating jar in Maven by Bejoy Kunjumon on March 16 2005 22:30 EST
-
Problem on creating jar in Maven[ Go to top ]
- Posted by: Colin Yates
- Posted on: March 15 2005 11:59 EST
- in response to Bejoy Kunjumon
You would traditionally have a single project called "common" which creates the "common.jar" and have another project which specifies a dependency on common.jar.
Maven doesn't really work too well with projects defining more than one artifact. -
Problem on creating jar in Maven[ Go to top ]
- Posted by: Bejoy Kunjumon
- Posted on: March 16 2005 22:30 EST
- in response to Colin Yates
hi Collin
Thank You for your response. I think i have to write ant commands to satisfy my problem