<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>rhq-helpers</artifactId>
        <groupId>org.rhq.helpers</groupId>
        <version>4.7.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.rhq.helpers</groupId>
    <artifactId>bundleGen</artifactId>
    <version>4.7.0</version>

    <build>
     <plugins>

         <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
           <archive>
             <manifest>
               <mainClass>org.rhq.helpers.bundleGen.BundleGen</mainClass>
               <packageName>org.rhq.helpers.bundleGen</packageName>
             </manifest>
           </archive>
         </configuration>
       </plugin>

       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <descriptorRefs>
             <descriptorRef>jar-with-dependencies</descriptorRef>
           </descriptorRefs>
           <archive>
             <manifest>
               <mainClass>org.rhq.helpers.bundleGen.BundleGen</mainClass>
             </manifest>
           </archive>
         </configuration>
         <executions>
           <execution>
             <id>make-assembly</id>     <!-- this is used for inheritance merges -->
             <phase>package</phase>     <!-- append to the packaging phase. -->
             <goals>
               <goal>attached</goal>  <!-- goals == mojos -->
             </goals>
           </execution>
         </executions>
       </plugin>
     </plugins>

     </build>

     <dependencies>
         <dependency>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
         </dependency>

         <dependency>
             <groupId>org.freemarker</groupId>
             <artifactId>freemarker</artifactId>
             <version>2.3.11</version>
         </dependency>
         <dependency>
             <groupId>${rhq.groupId}</groupId>
             <artifactId>rhq-core-util</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
</project>