1 <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">
2 <modelVersion>4.0.0</modelVersion>
4 <groupId>org.openecomp.appc</groupId>
5 <artifactId>appc</artifactId>
6 <version>1.1.0-SNAPSHOT</version>
8 <artifactId>appc-common</artifactId>
9 <name>APP-C Common</name>
10 <packaging>bundle</packaging>
11 <description>Common library shared across all modules</description>
13 <!-- <packaging>bundle</packaging> -->
17 <groupId>junit</groupId>
18 <artifactId>junit</artifactId>
23 <groupId>ch.qos.logback</groupId>
24 <artifactId>logback-core</artifactId>
25 <scope>compile</scope>
29 <groupId>ch.qos.logback</groupId>
30 <artifactId>logback-classic</artifactId>
31 <scope>compile</scope>
35 <groupId>org.slf4j</groupId>
36 <artifactId>slf4j-api</artifactId>
39 <!-- Needed for EELF (Event and Error Logging Framework) support -->
41 <groupId>com.att.eelf</groupId>
42 <artifactId>eelf-core</artifactId>
45 <!-- Needed for encryption -->
47 <groupId>org.jasypt</groupId>
48 <artifactId>jasypt</artifactId>
49 <version>1.9.2</version>
50 <!-- <classifier>lite</classifier> -->
51 <scope>compile</scope>
55 <groupId>org.apache.commons</groupId>
56 <artifactId>commons-lang3</artifactId>
60 <groupId>javax</groupId>
61 <artifactId>javaee-api</artifactId>
62 <version>7.0</version>
65 <groupId>org.apache.httpcomponents</groupId>
66 <artifactId>httpclient</artifactId>
67 <version>4.5.1</version>
70 <groupId>org.apache.httpcomponents</groupId>
71 <artifactId>httpcore</artifactId>
72 <version>${apache.httpcomponents.version}</version>
75 <groupId>com.fasterxml.jackson.core</groupId>
76 <artifactId>jackson-core</artifactId>
79 <groupId>com.fasterxml.jackson.core</groupId>
80 <artifactId>jackson-databind</artifactId>
83 <groupId>com.fasterxml.jackson.core</groupId>
84 <artifactId>jackson-annotations</artifactId>
87 <groupId>org.openecomp.sdnc.core</groupId>
88 <artifactId>dblib-provider</artifactId>
91 <groupId>org.mockito</groupId>
92 <artifactId>mockito-core</artifactId>
96 <groupId>org.mockito</groupId>
97 <artifactId>mockito-all</artifactId>
106 <directory>src/main/resources</directory>
107 <filtering>true</filtering>
110 <directory>src/main/java</directory>
112 <include>**/*.java</include>
119 <groupId>org.apache.felix</groupId>
120 <artifactId>maven-bundle-plugin</artifactId>
121 <extensions>true</extensions>
124 <Bundle-SymbolicName>appc-common</Bundle-SymbolicName>
126 org.openecomp.appc.*, com.att.eelf.*, ch.qos.logback.*, org.jasypt.*
128 <Import-Package>*;resolution:=optional</Import-Package>
129 <Embed-Dependency>eelf-core, logback-core, logback-classic, jasypt</Embed-Dependency>
130 <Embed-Transitive>true</Embed-Transitive>
136 <groupId>com.att.eelf</groupId>
137 <artifactId>eelf-maven-plugin</artifactId>
141 <phase>install</phase>
143 <goal>ValidateApplicationMsgs</goal>
148 <messageClass>org.openecomp.appc.i18n.Msg</messageClass>
155 <phase>install</phase>
157 <goal>WikiMsgGenerator</goal>
160 <outputDirectory>target/messages</outputDirectory>
161 <outputFile>messages.html</outputFile>
164 <messageClass>org.openecomp.appc.i18n.Msg</messageClass>
165 <header><![CDATA[<p> <ac:macro ac:name="toc" /> </p>]]></header>
173 <groupId>org.openecomp.appc</groupId>
174 <artifactId>appc-common</artifactId>
175 <version>${project.version}</version>
180 <!-- For embedding dependencies -->
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-assembly-plugin</artifactId>
187 <descriptorRef>jar-with-dependencies</descriptorRef>
192 <id>make-assembly</id>
193 <phase>package</phase>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-shade-plugin</artifactId>
206 <phase>install</phase>
211 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
214 <exclude>junit:junit</exclude>
215 <exclude>ch.qos.logback:*</exclude>
216 <exclude>org.slf4j:slf4j-api</exclude>