Hi !

I want to make 2different jars from the same source folder. So I made this structure :

- jar
   -- pom.xml
   -- src
   -- heavyJar
       --- pom.xml
   -- lightJar
      --- pom.xml

I want that the heavy and light Jar used the folder src as sourceFolder. The light Jar has to exclude some classes. I tried to put on the heavy's pom something;ike that :

       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-jar-plugin</artifactId>
       <configuration>
       <sourceDirectory>../src/</sourceDirectory>
       </configuration>

But my jars are always empty (no .class on it) : [WARNING] JAR will be empty - no content was marked for inclusion!

How can I do that ? I hope I'm enough clear.. Thanks for your help !

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

Reply via email to