Initial commit for OpenECOMP SDN-C northbound
[sdnc/northbound.git] / ueb-listener / pom.xml
diff --git a/ueb-listener/pom.xml b/ueb-listener/pom.xml
new file mode 100755 (executable)
index 0000000..ae740bb
--- /dev/null
@@ -0,0 +1,110 @@
+<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">
+       <modelVersion>4.0.0</modelVersion>
+    <groupId>org.openecomp.sdnc.northbound</groupId>
+       <packaging>jar</packaging>
+       <artifactId>ueb-listener</artifactId>
+       <version>1.0.0</version>
+
+       <name>UEB Listener</name>
+       <description>UEB Listener</description>
+       <parent>
+               <groupId>org.openecomp.sdnc.northbound</groupId>
+               <artifactId>sdnc-northbound</artifactId>
+               <version>1.0.0</version>
+       </parent>
+       <properties>
+               <sdc.client.version>1.1.0</sdc.client.version>
+               <skip.SWM>true</skip.SWM>
+               <ueb.listener.base>/opt/app/ueb-listener</ueb.listener.base>
+               <maven.build.timestamp.format>yyMMdd-HHmmss</maven.build.timestamp.format>
+               <build.number>${maven.build.timestamp}</build.number>
+               <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
+       </properties>
+
+       <dependencies>
+
+               <dependency>
+                       <groupId>org.openecomp.sdc</groupId>
+                       <artifactId>sdc-distribution-client</artifactId>
+                       <version>${sdc.client.version}</version>
+                       <scope>compile</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.slf4j</groupId>
+                       <artifactId>slf4j-api</artifactId>
+                       <version>1.7.10</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.slf4j</groupId>
+                       <artifactId>slf4j-log4j12</artifactId>
+                       <version>1.6.1</version>
+                       <scope>compile</scope>
+               </dependency>
+               <dependency>
+                       <groupId>log4j</groupId>
+                       <artifactId>log4j</artifactId>
+                       <version>1.2.17</version>
+               </dependency>
+               <dependency>
+               <groupId>commons-codec</groupId>
+               <artifactId>commons-codec</artifactId>
+               <version>${commons.codec.version}</version>
+               </dependency>
+       </dependencies>
+       <build>
+               <plugins>
+
+                       <!-- ================================================== -->
+                       <!-- Set the JDK compiler version. -->
+                       <!-- ================================================== -->
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <version>2.5.1</version>
+                               <inherited>true</inherited>
+                               <configuration>
+                                       <source>1.7</source>
+                                       <target>1.7</target>
+                               </configuration>
+                       </plugin>
+
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <version>2.6</version>
+                               <configuration>
+                                       <archive>
+                                               <manifest>
+                                                       <addClasspath>true</addClasspath>
+                                                       <mainClass>org.openecomp.sdnc.uebclient.SdncUebClient</mainClass>
+                                               </manifest>
+                                       </archive>
+                               </configuration>
+                       </plugin>
+
+                       <plugin>
+                               <artifactId>maven-assembly-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>create-zip</id>
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                               <phase>package</phase>
+                                               <configuration>
+                                                       <attach>true</attach>
+                                                       <finalName>${project.artifactId}.${project.version}</finalName>
+                                                       <attach>true</attach>
+                                                       <descriptors>
+                                                               <descriptor>src/assembly/assemble_zip.xml</descriptor>
+                                                       </descriptors>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+
+               </plugins>
+       </build>
+
+</project>