יום חמישי, 27 ביוני 2013

maven exclusion AND exclusions

Tells maven engine to ignore and not include a component of a dependency.
for an example :
in the following code :

  1: <dependency>
  2:       <groupId>org.apache.activemq</groupId>
  3:       <artifactId>activemq-camel</artifactId>
  4:       <exclusions>
  5:         <exclusion>
  6:           <groupId>org.apache.camel</groupId>
  7:           <artifactId>camel-web</artifactId>
  8:         </exclusion>
  9:       </exclusions>
 10:     </dependency>

We instruct the maven engine to ignore and not include the camel-web component when including the activemq- camel component .

אין תגובות:

הוסף רשומת תגובה