1710 Rebase - Second Attempt
[so.git] / common / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <groupId>org.openecomp.so</groupId>
6         <artifactId>so</artifactId>
7         <version>1.1.0-SNAPSHOT</version>
8     </parent>
9
10     <groupId>org.openecomp.so</groupId>
11     <artifactId>common</artifactId>
12     <name>MSO Common classes</name>
13     <description>MSO Common classes:- Logger</description>
14
15     <dependencies>
16         <dependency>
17             <groupId>com.att.eelf</groupId>
18             <artifactId>eelf-core</artifactId>
19             <version>0.0.1</version>
20             <exclusions>
21                 <exclusion>
22                         <groupId>org.powermock</groupId>
23                         <artifactId>powermock-module-junit4</artifactId>
24                 </exclusion>
25                 <exclusion>
26                         <groupId>org.powermock</groupId>
27                         <artifactId>powermock-api-mockito</artifactId>
28                 </exclusion>
29             </exclusions>
30         </dependency>
31         <dependency>
32             <groupId>ch.qos.logback</groupId>
33             <artifactId>logback-classic</artifactId>
34             <version>1.1.1</version>
35         </dependency>
36         <dependency>
37             <groupId>ch.qos.logback</groupId>
38             <artifactId>logback-core</artifactId>
39             <version>1.1.1</version>
40         </dependency>
41         <dependency>
42             <groupId>org.slf4j</groupId>
43             <artifactId>slf4j-api</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.apache.httpcomponents</groupId>
47             <artifactId>httpclient</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>javax.servlet</groupId>
51             <artifactId>javax.servlet-api</artifactId>
52             <version>3.1.0</version>
53             <scope>provided</scope>
54         </dependency>
55                 <dependency>
56                         <groupId>com.fasterxml.jackson.core</groupId>
57                         <artifactId>jackson-databind</artifactId>
58                         <version>2.8.7</version>
59                 </dependency>
60                 <dependency>
61                         <groupId>com.fasterxml.jackson.core</groupId>
62                         <artifactId>jackson-annotations</artifactId>
63                         <version>2.8.7</version>
64                 </dependency>
65                 <dependency>
66                         <groupId>com.fasterxml.jackson.module</groupId>
67                         <artifactId>jackson-module-jaxb-annotations</artifactId>
68                         <version>2.4.0</version>
69                 </dependency>
70         <dependency>
71                         <groupId>org.jboss.resteasy</groupId>
72                         <artifactId>resteasy-client</artifactId>
73                         <version>3.0.19.Final</version>
74                         <scope>provided</scope>
75                         <exclusions>
76                                 <exclusion>
77                                         <groupId>org.apache.httpcomponents</groupId>
78                                         <artifactId>httpclient</artifactId>
79                                 </exclusion>
80                         </exclusions>
81                 </dependency>
82 <dependency>
83        <groupId>org.jboss.resteasy</groupId>
84        <artifactId>resteasy-jackson2-provider</artifactId>
85        <version>3.0.11.Final</version>
86     </dependency>
87         <dependency>
88             <groupId>org.jboss.spec.javax.ejb</groupId>
89             <artifactId>jboss-ejb-api_3.2_spec</artifactId>
90             <version>1.0.0.Final</version>
91             <scope>provided</scope>
92         </dependency>
93         <dependency>
94             <groupId>org.jboss.ejb3</groupId>
95             <artifactId>jboss-ejb3-ext-api</artifactId>
96             <version>2.2.0.Final</version>
97             <scope>provided</scope>
98         </dependency>
99                 <dependency>
100                         <groupId>org.springframework</groupId>
101                         <artifactId>spring-aspects</artifactId>
102                         <version>3.1.2.RELEASE</version>
103                 </dependency>
104         
105
106         <dependency>
107             <groupId>org.mockito</groupId>
108             <artifactId>mockito-all</artifactId>
109             <version>1.10.19</version>
110             <scope>test</scope>
111         </dependency>
112         <dependency>
113             <groupId>org.hibernate</groupId>
114             <artifactId>hibernate-core</artifactId>
115             <version>4.3.6.Final</version>
116             <exclusions>
117                 <!-- Avoid hibernate inclusion as provided in Jboss -->
118                 <exclusion>
119                     <groupId>org.jboss</groupId>
120                     <artifactId>jandex</artifactId>
121                 </exclusion>
122                 <exclusion>
123                     <groupId>org.javassist</groupId>
124                     <artifactId>javassist</artifactId>
125                 </exclusion>
126                 <exclusion>
127                     <groupId>org.jboss.logging</groupId>
128                     <artifactId>jboss-logging</artifactId>
129                 </exclusion>
130                 <exclusion>
131                     <groupId>org.jboss.logging</groupId>
132                     <artifactId>jboss-logging-annotations</artifactId>
133                 </exclusion>
134                 <exclusion>
135                     <groupId>org.jboss.spec.javax.transaction</groupId>
136                     <artifactId>jboss-transaction-api_1.2_spec</artifactId>
137                 </exclusion>
138                 <exclusion>
139                     <groupId>antlr</groupId>
140                     <artifactId>antlr</artifactId>
141                 </exclusion>
142                 <exclusion>
143                     <groupId>dom4j</groupId>
144                     <artifactId>dom4j</artifactId>
145                 </exclusion>
146             </exclusions>
147         </dependency>
148         <dependency>
149                         <groupId>com.wordnik</groupId>
150                         <artifactId>swagger-annotations_2.9.1</artifactId>
151                         <version>1.3.0</version>
152                 </dependency>
153     </dependencies>
154     <build>
155         <resources>
156             <resource>
157                 <directory>src/main/resources</directory>
158                 <filtering>true</filtering>
159             </resource>
160             <resource>
161                 <directory>src/main/java</directory>
162                 <includes>
163                     <include>**/*.java</include>
164                 </includes>
165             </resource>
166         </resources>
167         <plugins>
168                 <plugin>
169                         <groupId>com.att.eelf</groupId>
170                         <artifactId>eelf-maven-plugin</artifactId>
171                         <version>0.0.1</version>
172                         <executions>
173                                 <execution>
174                                         <id>validate</id>
175                                         <phase>install</phase>
176                                         <goals>
177                                                 <goal>ValidateApplicationMsgs</goal>
178                                         </goals>
179                                         <configuration>
180                                                 <resources>
181                                                         <resource>
182                                                                 <messageClass>org.openecomp.mso.logger.MessageEnum</messageClass>
183                                                         </resource>
184                                                 </resources>
185                                         </configuration>
186                                 </execution>
187                                 <execution>
188                                         <id>wiki</id>
189                                         <phase>install</phase>
190                                         <goals>
191                                                 <goal>WikiMsgGenerator</goal>
192                                         </goals>
193                                         <configuration>
194                                                 <outputDirectory>target/messages</outputDirectory>
195                                                 <outputFile>messages.html</outputFile>
196                                                 <wiki>
197                                                         <title>Messages and Codes</title>
198                                                         <space>APP</space>
199                                                         <page>Messages and Codes</page>
200                                                         <principal>test</principal>
201                                                         <credentials>test</credentials>
202
203                                                 </wiki>
204                                                 <resources>
205                                                         <resource>
206                                                                 <messageClass>org.openecomp.mso.logger.MessageEnum</messageClass>
207                                                                 <header><![CDATA[<p>   <ac:macro ac:name="toc"/> </p>
208 <!--                 <p> -->
209 <!--         <ac:macro ac:name="anchor"> <ac:default-parameter>Application Messages</ac:default-parameter>  </ac:macro> </p> <h2>Application Messages</h2>]]></header>
210                                                                 -->
211                                                         </resource>
212                                                 </resources>
213                                         </configuration>
214                                 </execution>
215                         </executions>
216                         <dependencies>
217                                 <dependency>
218                                         <groupId>org.openecomp.so</groupId>
219                                         <artifactId>common</artifactId>
220                                         <version>${project.version}</version>
221                                 </dependency>
222                         </dependencies>
223
224                 </plugin>
225         </plugins>
226     </build>
227 </project>