Hi:

I need to make a single jar as the project output, and it needs some
of (not all) it`s dependencies packaged into the lib/ directory in the
target jar file, how to write the pom.xml ?

example:

     <dependencies>

   <groupId>org.rhq</groupId>
   <artifactId>rhq-httpcheck-plugin</artifactId>
   <version>1.0.0</version>
   <packaging>jar</packaging>

      <dependency>
         <groupId>sun-javamail</groupId>
         <artifactId>mail</artifactId>
         <version>1.4</version>
         <scope>compile</scope>
      </dependency>

      <dependency>
         <groupId>${rhq.groupId}</groupId>
         <artifactId>rhq-core-plugin-container</artifactId>
         <version>1.3.0.GA</version>
         <scope>test</scope>
      </dependency>
  </dependencies>

The sun-javamail should be packaged into rhq-httpcheck-plugin.jar file
in the lib/ directory, the rhq-core-plugin-container should not, how
can I do that?


-- 
Thanks and Best Regards

[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to