<!--
============LICENSE_START=======================================================
- ECOMP Policy Engine
+ ONAP Policy Engine
================================================================================
Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.openecomp.policy.engine</groupId>
+ <groupId>org.onap.policy.engine</groupId>
<artifactId>packages</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.3-SNAPSHOT</version>
</parent>
- <groupId>org.openecomp.policy.engine</groupId>
<artifactId>base</artifactId>
<packaging>pom</packaging>
<name>Base Package</name>
- <description>D2 ECOMP Policy Base Packaging</description>
+ <description>D2 ONAP Policy Base Packaging</description>
<build>
<plugins>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
- <execution>
- <id>copy-pypdp</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/pypdp/webapps</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <artifactItems>
- <artifactItem>
- <groupId>org.openecomp.policy.engine</groupId>
- <artifactId>PyPDPServer</artifactId>
- <version>${project.version}</version>
- <type>war</type>
- <destFileName>PyPDPServer.war</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
<execution>
<id>copy-pdp</id>
<phase>prepare-package</phase>
<overWriteSnapshots>true</overWriteSnapshots>
<artifactItems>
<artifactItem>
- <groupId>org.openecomp.policy.engine</groupId>
- <artifactId>ECOMP-PDP-REST</artifactId>
+ <groupId>org.onap.policy.engine</groupId>
+ <artifactId>ONAP-PDP-REST</artifactId>
<version>${project.version}</version>
<type>war</type>
<destFileName>pdp.war</destFileName>
<overWriteSnapshots>true</overWriteSnapshots>
<artifactItems>
<artifactItem>
- <groupId>org.openecomp.policy.engine</groupId>
- <artifactId>ECOMP-PAP-REST</artifactId>
+ <groupId>org.onap.policy.engine</groupId>
+ <artifactId>ONAP-PAP-REST</artifactId>
<version>${project.version}</version>
<type>war</type>
<destFileName>pap.war</destFileName>
</configuration>
</execution>
<execution>
- <id>copy-ecomp</id>
+ <id>copy-onap</id>
<phase>prepare-package</phase>
<goals>
<goal>copy</goal>
<overWriteSnapshots>true</overWriteSnapshots>
<artifactItems>
<artifactItem>
- <groupId>org.openecomp.policy.engine</groupId>
- <artifactId>ecomp-sdk-app</artifactId>
+ <groupId>org.onap.policy.engine</groupId>
+ <artifactId>ONAP-SDK-APP</artifactId>
<version>${project.version}</version>
<type>war</type>
- <destFileName>ecomp.war</destFileName>
+ <destFileName>onap.war</destFileName>
</artifactItem>
</artifactItems>
</configuration>
<artifactItem>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
- <version>8.0.23</version>
+ <version>8.0.50</version>
<type>tar.gz</type>
- <destFileName>apache-tomcat-8.0.23.tar.gz</destFileName>
+ <!--
+ Please note that if you change this version, you must
+ update the docker-install.sh script to ensure the right
+ file name is installed.
+ -->
+ <destFileName>apache-tomcat-8.0.50.tar.gz</destFileName>
</artifactItem>
</artifactItems>
</configuration>
<overWriteSnapshots>true</overWriteSnapshots>
<artifactItems>
<artifactItem>
- <groupId>org.openecomp.policy.engine</groupId>
+ <groupId>org.onap.policy.engine</groupId>
<artifactId>BRMSGateway</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWriteSnapshots>true</overWriteSnapshots>
<artifactItems>
<artifactItem>
- <groupId>org.openecomp.policy.engine</groupId>
+ <groupId>org.onap.policy.engine</groupId>
<artifactId>LogParser</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</configuration>
- </execution>
+ </execution>
</executions>
</plugin>
<plugin>
</plugin>
</plugins>
</build>
-
+
<profiles>
<profile>
<id>unix_pe_version</id>
</activation>
<build>
<plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.5.0</version>
- <executions>
- <execution>
- <id>create-version-file</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>prepare-package</phase>
- <configuration>
- <executable>/bin/bash</executable>
- <arguments>
- <argument>-c</argument>
- <argument>mkdir -p target ; echo -e 'version="${project.version}"\ndescription="Open ECOMP Policy Engine"\nbuildTag="'"${BUILD_TAG}"'"\ncommit="'"${GIT_COMMIT}"'"\ntimestamp="${maven.build.timestamp}"' >target/build.info</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.5.0</version>
+ <executions>
+ <execution>
+ <id>create-version-file</id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>prepare-package</phase>
+ <configuration>
+ <executable>/bin/bash</executable>
+ <arguments>
+ <argument>-c</argument>
+ <argument>mkdir -p target ; echo -e 'version="${project.version}"\ndescription="Open ONAP Policy Engine"\nbuildTag="'"${BUILD_TAG}"'"\ncommit="'"${GIT_COMMIT}"'"\ntimestamp="${maven.build.timestamp}"' >target/build.info</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</profile>
</profiles>