Initial OpenECOMP MSO commit
[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</groupId>
6         <artifactId>mso</artifactId>
7         <version>0.0.4-SNAPSHOT</version>
8     </parent>
9
10     <groupId>org.openecomp.mso</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         </dependency>
21         <dependency>
22             <groupId>ch.qos.logback</groupId>
23             <artifactId>logback-classic</artifactId>
24             <version>1.1.1</version>
25         </dependency>
26         <dependency>
27             <groupId>ch.qos.logback</groupId>
28             <artifactId>logback-core</artifactId>
29             <version>1.1.1</version>
30         </dependency>
31         <dependency>
32             <groupId>org.slf4j</groupId>
33             <artifactId>slf4j-api</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.apache.httpcomponents</groupId>
37             <artifactId>httpclient</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>javax.servlet</groupId>
41             <artifactId>javax.servlet-api</artifactId>
42             <version>3.1.0</version>
43             <scope>provided</scope>
44         </dependency>
45         <dependency>
46             <groupId>org.jboss.resteasy</groupId>
47             <artifactId>resteasy-jaxrs</artifactId>
48             <version>3.0.19.Final</version>
49             <scope>provided</scope>
50             <exclusions>
51                 <exclusion>
52                     <groupId>org.slf4j</groupId>
53                     <artifactId>slf4j-api</artifactId>
54                 </exclusion>
55                 <exclusion>
56                     <groupId>org.slf4j</groupId>
57                     <artifactId>slf4j-simple</artifactId>
58                 </exclusion>
59                 <exclusion>
60                     <groupId>org.apache.httpcomponents</groupId>
61                     <artifactId>httpclient</artifactId>
62                 </exclusion>
63             </exclusions>
64         </dependency>
65
66         <dependency>
67             <groupId>org.jboss.spec.javax.ejb</groupId>
68             <artifactId>jboss-ejb-api_3.2_spec</artifactId>
69             <version>1.0.0.Final</version>
70             <scope>provided</scope>
71         </dependency>
72         <dependency>
73             <groupId>org.jboss.ejb3</groupId>
74             <artifactId>jboss-ejb3-ext-api</artifactId>
75             <version>2.2.0.Final</version>
76             <scope>provided</scope>
77         </dependency>
78
79         <dependency>
80             <groupId>org.codehaus.jackson</groupId>
81             <artifactId>jackson-mapper-asl</artifactId>
82             <version>1.9.13</version>
83         </dependency>
84
85         <dependency>
86             <groupId>org.mockito</groupId>
87             <artifactId>mockito-all</artifactId>
88             <version>1.10.19</version>
89             <scope>test</scope>
90         </dependency>
91
92     </dependencies>
93     <build>
94         <resources>
95             <resource>
96                 <directory>src/main/resources</directory>
97                 <filtering>true</filtering>
98             </resource>
99             <resource>
100                 <directory>src/main/java</directory>
101                 <includes>
102                     <include>**/*.java</include>
103                 </includes>
104             </resource>
105         </resources>
106         <plugins>
107                 <plugin>
108                         <groupId>com.att.eelf</groupId>
109                         <artifactId>eelf-maven-plugin</artifactId>
110                         <version>0.0.1</version>
111                         <executions>
112                                 <execution>
113                                         <id>validate</id>
114                                         <phase>install</phase>
115                                         <goals>
116                                                 <goal>ValidateApplicationMsgs</goal>
117                                         </goals>
118                                         <configuration>
119                                                 <resources>
120                                                         <resource>
121                                                                 <messageClass>org.openecomp.mso.logger.MessageEnum</messageClass>
122                                                         </resource>
123                                                 </resources>
124                                         </configuration>
125                                 </execution>
126                                 <execution>
127                                         <id>wiki</id>
128                                         <phase>install</phase>
129                                         <goals>
130                                                 <goal>WikiMsgGenerator</goal>
131                                         </goals>
132                                         <configuration>
133                                                 <outputDirectory>target/messages</outputDirectory>
134                                                 <outputFile>messages.html</outputFile>
135                                                 <wiki>
136                                                         <title>Messages and Codes</title>
137                                                         <space>APP</space>
138                                                         <page>Messages and Codes</page>
139                                                         <principal>test</principal>
140                                                         <credentials>test</credentials>
141                                                         <url>http://wiki.web.att.com</url>
142                                                 </wiki>
143                                                 <resources>
144                                                         <resource>
145                                                                 <messageClass>org.openecomp.mso.logger.MessageEnum</messageClass>
146                                                                 <header><![CDATA[<p>   <ac:macro ac:name="toc"/> </p>
147 <!--                 <p> -->
148 <!--         <ac:macro ac:name="anchor"> <ac:default-parameter>Application Messages</ac:default-parameter>  </ac:macro> </p> <h2>Application Messages</h2>]]></header>
149                                                                 -->
150                                                         </resource>
151                                                 </resources>
152                                         </configuration>
153                                 </execution>
154                         </executions>
155                         <dependencies>
156                                 <dependency>
157                                         <groupId>org.openecomp.mso</groupId>
158                                         <artifactId>common</artifactId>
159                                         <version>${project.version}</version>
160                                 </dependency>
161                         </dependencies>
162
163                 </plugin>
164         </plugins>
165     </build>
166 </project>