blob: c674ffaf766cff83a89ea4d2079dc6493aef473a [file] [log] [blame]
Pamela Dragosha974aa02017-02-14 19:31:53 -05001<!--
2 ============LICENSE_START=======================================================
3 ECOMP Policy Engine - Common Modules
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 -->
20
21<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24
25 <parent>
26 <groupId>org.openecomp.policy.common</groupId>
27 <artifactId>common-modules</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
29 </parent>
30 <groupId>org.openecomp.policy.common</groupId>
31 <artifactId>ECOMP-Logging</artifactId>
32 <description>ECOMP Logging Framework</description>
33 <packaging>jar</packaging>
34
35 <dependencies>
36 <dependency>
37 <groupId>javax.servlet</groupId>
38 <artifactId>javax.servlet-api</artifactId>
39 <version>3.0.1</version>
40 <scope>compile</scope>
41 </dependency>
42 <dependency>
43 <groupId>org.slf4j</groupId>
44 <artifactId>slf4j-api</artifactId>
45 <version>1.7.12</version>
46 </dependency>
47 <dependency>
48 <groupId>com.att.eelf</groupId>
49 <artifactId>eelf-core</artifactId>
50 <version>0.0.1</version>
51 </dependency>
52 <dependency>
53 <groupId>log4j</groupId>
54 <artifactId>log4j</artifactId>
55 <version>1.2.17</version>
56 <scope>provided</scope>
57 </dependency>
58 </dependencies>
59
60 <repositories>
61 <repository>
62 <id>eelf-framework</id>
63 <url>http://search.maven.org/#search|ga|1|EELF</url>
64 <name>EELF repository</name>
65 </repository>
66 </repositories>
67
68 <pluginRepositories>
69 <pluginRepository>
70 <releases />
71 <snapshots />
72 <id>eelf-framework</id>
73 <url>http://search.maven.org/#search|ga|1|EELF</url>
74 </pluginRepository>
75 </pluginRepositories>
76
77
78 <build>
79 <plugins>
80 <plugin>
81 <groupId>com.att.eelf</groupId>
82 <artifactId>eelf-maven-plugin</artifactId>
83 <version>0.0.1</version>
84 <executions>
85 <execution>
86 <phase>install</phase>
87 <goals>
88 <goal>WikiMsgGenerator</goal>
89 </goals>
90 </execution>
91 </executions>
92 <dependencies>
93 <!-- We need to include the dependency of the project so that its include
94 in classpath when running plugin -->
95 <dependency>
96 <groupId>org.openecomp.policy.common</groupId>
97 <artifactId>ECOMP-Logging</artifactId>
98 <version>1.0.0-SNAPSHOT</version>
99 </dependency>
100 </dependencies>
101 <configuration>
102 <outputDirectory>target/messages</outputDirectory>
103 <outputFile>messages.html</outputFile>
104 <resources>
105 <resource>
106 <messageClass>org.openecomp.policy.common.logging.eelf.MessageCodes</messageClass>
107 This needs to be replaced with your Enum class name .which
108 implements EELFResolvableErrorEnum and have your defined error
109 codes.
110 <header><![CDATA[<p> <ac:macro ac:name="toc" /> </p>
111 <p>
112 <ac:macro ac:name="anchor"> <ac:default-parameter>Application Messages</ac:default-parameter> </ac:macro> </p> <h2>Application Messages</h2>]]></header>
113 </resource>
114
115 </resources>
116 </configuration>
117 </plugin>
118 </plugins>
119 </build>
120</project>