2 ============LICENSE_START=======================================================
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
11 http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
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">
24 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.openecomp.policy.drools-applications</groupId>
27 <artifactId>drools-pdp-apps</artifactId>
28 <version>1.1.0-SNAPSHOT</version>
30 <name>Policy Engine - Drools PDP Application Models</name>
31 <packaging>pom</packaging>
34 <maven.compiler.source>1.8</maven.compiler.source>
35 <maven.compiler.target>1.8</maven.compiler.target>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.source.version>1.8</project.source.version>
38 <project.target.version>1.8</project.target.version>
39 <nexusproxy>https://nexus.onap.org</nexusproxy>
40 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
41 <releases.path>content/repositories/releases/</releases.path>
42 <snapshots.path>content/repositories/snapshots/</snapshots.path>
43 <staging.path>content/repositories/staging/</staging.path>
48 <id>ecomp-releases</id>
49 <name>OpenECOMP Release Repository</name>
50 <url>${nexusproxy}/${releases.path}</url>
53 <id>ecomp-staging</id>
54 <name>OpenECOMP Staging Repository</name>
55 <url>${nexusproxy}/${staging.path}</url>
58 <id>ecomp-snapshots</id>
59 <name>OpenECOMP Snapshot Repository</name>
60 <url>${nexusproxy}/${snapshots.path}</url>
67 <groupId>org.sonatype.plugins</groupId>
68 <artifactId>nexus-staging-maven-plugin</artifactId>
69 <version>1.6.7</version>
70 <extensions>true</extensions>
72 <nexusUrl>${nexusproxy}</nexusUrl>
73 <stagingProfileId>176c31dfe190a</stagingProfileId>
74 <serverId>ecomp-staging</serverId>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-deploy-plugin</artifactId>
80 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <version>3.0</version>
90 <encoding>${project.encoding}</encoding>
91 <source>${project.source.version}</source>
92 <target>${project.target.version}</target>
103 before running from the command line
105 mvn license:update-file-header
111 <groupId>org.codehaus.mojo</groupId>
113 <artifactId>license-maven-plugin</artifactId>
115 <version>1.9</version>
121 <!-- Used to add or change the header style <fileTypeYouAreMapping>
123 fileTypeMappedInto </fileTypeYouAreMapping> -->
125 <!-- Since it appears that comments in .json files are, at best,
126 iffy, you should remove the license headers from those files or
127 you can list each individual file to be ignored in the ignore
132 <ccf>properties</ccf>
136 <!-- Because the typical sql comment type confuses the update algorithm -->
140 <!-- yaml files are generated, but some are included -->
142 <yaml>properties</yaml>
146 <licenseName>apache_v2</licenseName>
150 <inceptionYear>2017</inceptionYear>
152 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
156 <!-- Once you have established the tags and delimiter, they cannot be
160 <processStartTag>============LICENSE_START=======================================================</processStartTag>
162 <processEndTag>============LICENSE_END=========================================================</processEndTag>
164 <sectionDelimiter>================================================================================</sectionDelimiter>
166 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
168 <canUpdateCopyright>true</canUpdateCopyright>
170 <canUpdateDescription>true</canUpdateDescription>
172 <canUpdateLicense>true</canUpdateLicense>
174 <emptyLineAfterHeader>true</emptyLineAfterHeader>
178 <!-- Default is src, target/generated-sources, target/processed-sources -->
182 <!-- Everything except the files in the excludes section -->
190 <!-- Files which are to be excluded. The pom.xml is excluded because
192 the start/end tags and the delimiters are in the body of the file. This confuses
194 the algorithm. So, this file must be manually updated with a license header. -->
196 <exclude>pom.xml</exclude>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-site-plugin</artifactId>
207 <version>3.6</version>
210 <groupId>org.apache.maven.wagon</groupId>
211 <artifactId>wagon-webdav-jackrabbit</artifactId>
212 <version>2.10</version>
221 <module>rest</module>
223 <module>appc</module>
224 <module>controlloop</module>
226 <module>sdnc</module>
227 <module>trafficgenerator</module>
228 <module>template.demo</module>
229 <module>vfwsim</module>
230 <module>archetype-closedloop-demo-rules</module>
231 <module>packages</module>
235 <distributionManagement>
237 <id>ecomp-releases</id>
238 <name>OpenECOMP Release Repository</name>
239 <url>${nexusproxy}/${releases.path}</url>
242 <id>ecomp-snapshots</id>
243 <name>OpenECOMP Snapshot Repository</name>
244 <url>${nexusproxy}/${snapshots.path}</url>
245 </snapshotRepository>
248 <url>dav:${nexusproxy}${sitePath}</url>
251 </distributionManagement>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-javadoc-plugin</artifactId>
258 <version>2.10.4</version>
260 <failOnError>false</failOnError>
261 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
263 <groupId>org.umlgraph</groupId>
264 <artifactId>umlgraph</artifactId>
265 <version>5.6</version>
267 <additionalparam>-views</additionalparam>
268 <useStandardDocletOptions>true</useStandardDocletOptions>