diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2016-08-17 12:37:07 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2016-08-17 14:03:37 +0800 |
commit | 4143173cd08ef515173e5ad4b4c15d4e9f9f1943 (patch) | |
tree | 0aa7a7ae64ce9876b95628cb5835ff5e12c8a546 /msb-parent/msbparent-lite | |
parent | 230628860edf5ff489dd59e299d35c80d1329a5d (diff) |
1. Adjust the directory hierarchy
2. Fix the compile issue
Change-Id: Ibf10c83104e5e673bc797013799861426cd950ce
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'msb-parent/msbparent-lite')
-rw-r--r-- | msb-parent/msbparent-lite/pom.xml | 255 |
1 files changed, 255 insertions, 0 deletions
diff --git a/msb-parent/msbparent-lite/pom.xml b/msb-parent/msbparent-lite/pom.xml new file mode 100644 index 0000000..a7b68c5 --- /dev/null +++ b/msb-parent/msbparent-lite/pom.xml @@ -0,0 +1,255 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE) + + 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. + 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.openo.oparent</groupId> + <artifactId>oparent</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> +--> + + <groupId>org.openo.msb</groupId> + <artifactId>msbparent-lite</artifactId> + <version>1.0.0</version> + <packaging>pom</packaging> + <name>msbparent-lite</name> + + <properties> + + <nexus.repository.release>dav:http://nexus.open-o.com/repos/content/repositories/releases</nexus.repository.release> + <nexus.repository.snapshot>dav:http://nexus.open-o.com/repos/content/repositories/snapshots</nexus.repository.snapshot> + + <stream>latest</stream><!-- CI should pass in -Dstream={stream} --> + + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + + <!-- Java Versions --> + <!-- FIXME: confirm these two are picked by maven-compiler-plugin --> + <maven.compiler.source>1.7</maven.compiler.source> + <maven.compiler.target>1.7</maven.compiler.target> + <java.version.source>${maven.compiler.source}</java.version.source> + <java.version.target>${maven.compiler.target}</java.version.target> + + + <!-- Maven plugin versions, in the 'canonical' format --> + <maven.antrun.plugin.version>1.8</maven.antrun.plugin.version> + <maven.bundle.version>3.0.0</maven.bundle.version> + <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version> + <maven.compile.plugin.version>3.3</maven.compile.plugin.version> + <maven.jar.version>2.6</maven.jar.version> + <maven.javadoc.version>2.10.3</maven.javadoc.version> + <maven.plugin.version>3.4</maven.plugin.version> + <maven.release.version>2.5.2</maven.release.version> + <maven.surefire.version>2.18.1</maven.surefire.version> + + <!-- Maven plugin versions, in random formats --> + <checkstyle.version>2.16</checkstyle.version> + <compiler.version>${maven.compile.plugin.version}</compiler.version> + <enforcer.version>1.4</enforcer.version> + + + + </properties> + + <distributionManagement> + <repository> + <id>releases</id> + <url>${nexus.repository.release}</url> + </repository> + <snapshotRepository> + <id>snapshots</id> + <url>${nexus.repository.snapshot}</url> + </snapshotRepository> + </distributionManagement> + + + <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh</artifactId> + <version>2.10</version> + </extension> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ftp</artifactId> + <version>2.10</version> + </extension> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav-jackrabbit</artifactId> + <version>2.10</version> + </extension> + </extensions> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/filters</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> + <testResources> + <testResource> + <filtering>false</filtering> + <directory>src/test/resources</directory> + <includes> + <include>**/*</include> + </includes> + </testResource> + <testResource> + <filtering>true</filtering> + <directory>src/test/filters</directory> + <includes> + <include>**/*</include> + </includes> + </testResource> + </testResources> + + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.4</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.8.1</version> + </plugin> + + <!-- Official maven plugins, alpha-sorted by artifactId. + We do not need to specify the groupId. --> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>${maven.antrun.plugin.version}</version> + </plugin> + + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>${maven.clean.plugin.version}</version> + </plugin> + <plugin> + <artifactId>maven-install-plugin</artifactId> + <version>2.5.2</version> + </plugin> + <plugin> + <artifactId>maven-deploy-plugin</artifactId> + <version>2.8.2</version> + </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>${maven.compile.plugin.version}</version> + </plugin> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <version>${enforcer.version}</version> + </plugin> + <plugin> + <artifactId>maven-failsafe-plugin</artifactId> + <version>${failsafe.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <version>2.0.0</version> + </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <version>${maven.jar.version}</version> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <version>${maven.javadoc.version}</version> + <configuration> + <!-- Keep things quiet except for warnings/errors --> + <quiet>true</quiet> + </configuration> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>${maven.release.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.10</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <version>${maven.plugin.version}</version> + </plugin> + + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>2.7</version> + </plugin> + <plugin> + <artifactId>maven-shade-plugin</artifactId> + <version>2.4.1</version> + </plugin> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <version>2.4</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>${maven.surefire.version}</version> + <configuration> + <redirectTestOutputToFile>true</redirectTestOutputToFile> + </configuration> + </plugin> + + </plugins> + </pluginManagement> + </build> + + + +</project> |