Problem on creating jar in Maven

Discussions

General J2EE: Problem on creating jar in Maven

  1. Problem on creating jar in Maven (2 messages)

    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
  2. Problem on creating jar in Maven[ Go to top ]

    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.
  3. Problem on creating jar in Maven[ Go to top ]

    hi Collin
     Thank You for your response. I think i have to write ant commands to satisfy my problem