diff options
author | zhaoyehua <zhaoyh6@asiainfo.com> | 2021-03-24 16:25:33 +0800 |
---|---|---|
committer | zhaoyehua <zhaoyh6@asiainfo.com> | 2021-03-24 16:27:48 +0800 |
commit | dd67db0dede71551c772caa685d3c12a1a3e57d2 (patch) | |
tree | 3c36524a6f65e49002f8dd9767445300da343734 /pom.xml | |
parent | 11b32441cc0235cc5ca4066085a3d8d0253e5789 (diff) |
feat:Adjust the directory and increase the image production process
Issue-ID: USECASEUI-525
Change-Id: I7bcbf0b48778fd59946483b253f32dda217913c0
Signed-off-by: zhaoyehua <zhaoyh6@asiainfo.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 130 |
1 files changed, 40 insertions, 90 deletions
@@ -1,113 +1,63 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2017 ZTE Corporation. + Copyright (C) 2017 CMCC, Inc. and others. 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 + 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. See the License for the specific language governing permissions and limitations under the License. ---> + --> <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"> + <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.onap.oparent</groupId> <artifactId>oparent</artifactId> - <version>2.1.0</version> + <version>3.0.1</version> + <relativePath /> </parent> - <groupId>org.onap.usecase-ui</groupId> - <artifactId>usecase-ui-nlp</artifactId> + + <groupId>org.onap.usecase-ui.nlp</groupId> + <artifactId>usecase-ui-nlp-parent</artifactId> <version>1.0.0-SNAPSHOT</version> - <name>usecase-ui-nlp</name> <packaging>pom</packaging> - <description>usecase-ui nlp</description> - <modelVersion>4.0.0</modelVersion> + <name>usecase-ui-nlp-parent</name> + <description>parent project for usecase-ui nlp</description> + <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <sonar.sources>.</sonar.sources> - <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath> - <sonar.python.coverage.reportPaths>coverage.xml</sonar.python.coverage.reportPaths> - <sonar.language>py</sonar.language> - <sonar.pluginname>python</sonar.pluginname> - <sonar.inclusions>**/**.py</sonar.inclusions> - <sonar.exclusions>**/tests/**.py,**/test*.py</sonar.exclusions> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <sonar.projectVersion>${project.version}</sonar.projectVersion> + <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath> + <releaseNexusPath>content/repositories/releases/</releaseNexusPath> + <siteNexusPath>content/sites/site/${project.groupId}/${project.artifactId}/${project.version}/</siteNexusPath> </properties> - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.2.1</version> - <configuration> - <executable>${project.basedir}/mvn-phase-script.sh</executable> - <environmentVariables> - <!-- make mvn properties as env for our script --> - <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID> - <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID> - <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION> - </environmentVariables> - </configuration> - </plugin> - </plugins> - </pluginManagement> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.2.1</version> - <executions> - <execution> - <id>clean phase script</id> - <phase>clean</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> - <arguments> - <argument>__</argument> - <argument>clean</argument> - </arguments> - </configuration> - </execution> - <execution> - <id>test script</id> - <phase>test</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> - <arguments> - <argument>__</argument> - <argument>test</argument> - </arguments> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <configuration> - <appendAssemblyId>false</appendAssemblyId> - <descriptors> - <descriptor>assembly.xml</descriptor> - </descriptors> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> + + <!--distributionManagement> + <repository> + <id>onap-releases</id> + <url>${nexusproxy}/${releaseNexusPath}</url> + </repository> + <snapshotRepository> + <id>onap-snapshots</id> + <url>${nexusproxy}/${snapshotNexusPath}</url> + </snapshotRepository> + <site> + <id>onap-site</id> + <url>dav:${nexusproxy}${siteNexusPath}</url> + </site> + </distributionManagement--> + + <modules> + <module>nlp</module> + <module>standalone</module> + </modules> </project> |