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.0.0-SNAPSHOT</version>
8 <artifactId>appc-common</artifactId>
9 <name>APP-C Common</name>
10 <description>Common library shared across all modules</description>
12 <!-- <packaging>bundle</packaging> -->
16 <groupId>junit</groupId>
17 <artifactId>junit</artifactId>
22 <groupId>ch.qos.logback</groupId>
23 <artifactId>logback-core</artifactId>
24 <scope>compile</scope>
28 <groupId>ch.qos.logback</groupId>
29 <artifactId>logback-classic</artifactId>
30 <scope>compile</scope>
34 <groupId>org.slf4j</groupId>
35 <artifactId>slf4j-api</artifactId>
38 <!-- Needed for EELF (Event and Error Logging Framework) support -->
40 <groupId>com.att.eelf</groupId>
41 <artifactId>eelf-core</artifactId>
44 <!-- Needed for encryption -->
46 <groupId>org.jasypt</groupId>
47 <artifactId>jasypt</artifactId>
48 <version>1.9.2</version>
49 <!-- <classifier>lite</classifier> -->
50 <scope>compile</scope>
54 <groupId>org.apache.commons</groupId>
55 <artifactId>commons-lang3</artifactId>
59 <groupId>javax</groupId>
60 <artifactId>javaee-api</artifactId>
61 <version>7.0</version>
64 <groupId>org.apache.httpcomponents</groupId>
65 <artifactId>httpclient</artifactId>
66 <version>4.5.1</version>
69 <groupId>org.apache.httpcomponents</groupId>
70 <artifactId>httpcore</artifactId>
71 <version>${apache.httpcomponents.version}</version>
74 <groupId>com.fasterxml.jackson.core</groupId>
75 <artifactId>jackson-core</artifactId>
78 <groupId>com.fasterxml.jackson.core</groupId>
79 <artifactId>jackson-databind</artifactId>
82 <groupId>com.fasterxml.jackson.core</groupId>
83 <artifactId>jackson-annotations</artifactId>
91 <directory>src/main/resources</directory>
92 <filtering>true</filtering>
95 <directory>src/main/java</directory>
97 <include>**/*.java</include>
104 <groupId>org.apache.felix</groupId>
105 <artifactId>maven-bundle-plugin</artifactId>
106 <extensions>true</extensions>
109 <Bundle-SymbolicName>appc-common</Bundle-SymbolicName>
110 <!-- <Export-Package>org.openecomp.appc.provider</Export-Package> -->
111 <Import-Package>!com.att,!javax.crypto.*, *</Import-Package>
112 <Embed-Dependency>eelf-core, jasypt</Embed-Dependency>
113 <Embed-Transitive>true</Embed-Transitive>
119 <groupId>com.att.eelf</groupId>
120 <artifactId>eelf-maven-plugin</artifactId>
121 <version>${eelf.maven.plugin.version}</version>
125 <phase>install</phase>
127 <goal>ValidateApplicationMsgs</goal>
132 <messageClass>org.openecomp.appc.i18n.Msg</messageClass>
139 <phase>install</phase>
141 <goal>WikiMsgGenerator</goal>
144 <outputDirectory>target/messages</outputDirectory>
145 <outputFile>messages.html</outputFile>
148 <messageClass>org.openecomp.appc.i18n.Msg</messageClass>
149 <header><![CDATA[<p> <ac:macro ac:name="toc" /> </p>]]></header>
157 <groupId>org.openecomp.appc</groupId>
158 <artifactId>appc-common</artifactId>
159 <version>${project.version}</version>
164 <!-- For embedding dependencies -->
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-assembly-plugin</artifactId>
171 <descriptorRef>jar-with-dependencies</descriptorRef>
176 <id>make-assembly</id>
177 <phase>package</phase>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-shade-plugin</artifactId>
190 <phase>install</phase>
195 <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
198 <exclude>junit:junit</exclude>
199 <exclude>ch.qos.logback:*</exclude>
200 <exclude>org.slf4j:slf4j-api</exclude>