Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
Guo Ruijing | f8a620d | 2017-07-28 08:21:14 +0000 | [diff] [blame] | 3 | ONAP Policy Engine - Common Modules |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 4 | ================================================================================ |
HOCKLA | 6139460 | 2020-01-09 11:48:49 -0600 | [diff] [blame] | 5 | Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 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 |
Jim Hahn | 02ba37e | 2019-07-05 13:03:06 -0400 | [diff] [blame] | 10 | |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 11 | http://www.apache.org/licenses/LICENSE-2.0 |
Jim Hahn | 02ba37e | 2019-07-05 13:03:06 -0400 | [diff] [blame] | 12 | |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 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 | |
liamfallon | 2f72ab6 | 2018-10-31 15:23:33 +0000 | [diff] [blame] | 21 | <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"> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 23 | |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 24 | <parent> |
| 25 | <groupId>org.onap.policy.common</groupId> |
| 26 | <artifactId>common-modules</artifactId> |
Pamela Dragosh | f3e7792 | 2020-05-19 13:34:34 -0400 | [diff] [blame] | 27 | <version>1.7.0-SNAPSHOT</version> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 28 | </parent> |
Pamela Dragosh | 1151098 | 2017-02-23 05:56:25 -0500 | [diff] [blame] | 29 | |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 30 | <artifactId>ONAP-Logging</artifactId> |
| 31 | <description>ONAP Logging Framework</description> |
| 32 | <packaging>jar</packaging> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 33 | |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 34 | <dependencies> |
| 35 | <dependency> |
Jim Hahn | 02ba37e | 2019-07-05 13:03:06 -0400 | [diff] [blame] | 36 | <groupId>org.projectlombok</groupId> |
| 37 | <artifactId>lombok</artifactId> |
| 38 | <scope>provided</scope> |
| 39 | </dependency> |
| 40 | <dependency> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 41 | <groupId>javax.servlet</groupId> |
| 42 | <artifactId>javax.servlet-api</artifactId> |
| 43 | <scope>compile</scope> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.slf4j</groupId> |
| 47 | <artifactId>slf4j-api</artifactId> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>com.att.eelf</groupId> |
| 51 | <artifactId>eelf-core</artifactId> |
jhh | 4481ccf | 2020-06-29 09:54:06 -0500 | [diff] [blame] | 52 | <version>2.0.0-oss</version> |
Jim Hahn | fe23721 | 2020-01-10 16:59:48 -0500 | [diff] [blame] | 53 | <exclusions> |
| 54 | <exclusion> |
| 55 | <groupId>org.powermock</groupId> |
| 56 | <artifactId>powermock-api-mockito</artifactId> |
| 57 | </exclusion> |
| 58 | </exclusions> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 59 | </dependency> |
Jim Hahn | 02ba37e | 2019-07-05 13:03:06 -0400 | [diff] [blame] | 60 | <dependency> |
| 61 | <groupId>org.apache.commons</groupId> |
| 62 | <artifactId>commons-lang3</artifactId> |
| 63 | </dependency> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 64 | <dependency> |
Jim Hahn | 9f91315 | 2020-04-06 12:17:11 -0400 | [diff] [blame] | 65 | <groupId>org.assertj</groupId> |
| 66 | <artifactId>assertj-core</artifactId> |
| 67 | <scope>test</scope> |
| 68 | </dependency> |
| 69 | <dependency> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 70 | <groupId>org.powermock</groupId> |
HOCKLA | 6139460 | 2020-01-09 11:48:49 -0600 | [diff] [blame] | 71 | <artifactId>powermock-api-mockito2</artifactId> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 72 | <scope>test</scope> |
| 73 | </dependency> |
jhh | 4481ccf | 2020-06-29 09:54:06 -0500 | [diff] [blame] | 74 | <dependency> |
| 75 | <groupId>junit</groupId> |
| 76 | <artifactId>junit</artifactId> |
| 77 | <scope>test</scope> |
| 78 | </dependency> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 79 | </dependencies> |
| 80 | |
| 81 | <build> |
| 82 | <plugins> |
| 83 | <plugin> |
| 84 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <id>onap-java-style</id> |
| 88 | <goals> |
| 89 | <goal>check</goal> |
| 90 | </goals> |
| 91 | <phase>process-sources</phase> |
| 92 | <configuration> |
| 93 | <!-- Use Google Java Style Guide: |
| 94 | https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 95 | with minor changes --> |
| 96 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 97 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
HOCKLA | 79e6931 | 2019-12-11 10:24:44 -0600 | [diff] [blame] | 98 | <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 99 | <includeResources>true</includeResources> |
| 100 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 101 | <includeTestResources>true</includeTestResources> |
| 102 | <excludes> |
| 103 | </excludes> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 104 | <consoleOutput>true</consoleOutput> |
| 105 | <failsOnViolation>true</failsOnViolation> |
| 106 | <violationSeverity>warning</violationSeverity> |
| 107 | </configuration> |
| 108 | </execution> |
| 109 | </executions> |
| 110 | <dependencies> |
| 111 | <dependency> |
| 112 | <groupId>org.onap.oparent</groupId> |
| 113 | <artifactId>checkstyle</artifactId> |
| 114 | <version>${oparent.version}</version> |
| 115 | <scope>compile</scope> |
| 116 | </dependency> |
| 117 | </dependencies> |
| 118 | </plugin> |
| 119 | <plugin> |
| 120 | <groupId>com.att.eelf</groupId> |
| 121 | <artifactId>eelf-maven-plugin</artifactId> |
jhh | 4481ccf | 2020-06-29 09:54:06 -0500 | [diff] [blame] | 122 | <version>2.0.0-oss</version> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 123 | <executions> |
| 124 | <execution> |
| 125 | <phase>install</phase> |
| 126 | <goals> |
| 127 | <goal>WikiMsgGenerator</goal> |
| 128 | </goals> |
| 129 | </execution> |
| 130 | </executions> |
| 131 | <dependencies> |
Jim Hahn | 02ba37e | 2019-07-05 13:03:06 -0400 | [diff] [blame] | 132 | <!-- We need to include the dependency of the project so that its include |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 133 | in classpath when running plugin --> |
| 134 | <dependency> |
| 135 | <groupId>org.onap.policy.common</groupId> |
| 136 | <artifactId>ONAP-Logging</artifactId> |
| 137 | <version>${project.version}</version> |
| 138 | </dependency> |
| 139 | </dependencies> |
| 140 | <configuration> |
| 141 | <outputDirectory>target/messages</outputDirectory> |
| 142 | <outputFile>messages.html</outputFile> |
| 143 | <resources> |
| 144 | <resource> |
| 145 | <messageClass>org.onap.policy.common.logging.eelf.MessageCodes</messageClass> |
| 146 | This needs to be replaced with your Enum |
| 147 | class name .which |
| 148 | implements EELFResolvableErrorEnum and have your defined error |
| 149 | codes. |
| 150 | <header><![CDATA[<p> <ac:macro ac:name="toc" /> </p> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 151 | <p> |
| 152 | <ac:macro ac:name="anchor"> <ac:default-parameter>Application Messages</ac:default-parameter> </ac:macro> </p> <h2>Application Messages</h2>]]></header> |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 153 | </resource> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 154 | |
Pamela Dragosh | af5e28c | 2018-09-21 12:48:29 -0400 | [diff] [blame] | 155 | </resources> |
| 156 | </configuration> |
| 157 | </plugin> |
| 158 | </plugins> |
| 159 | </build> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 160 | </project> |