| | |
| | | <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"> |
| | | <parent> |
| | | <artifactId>incident-manage</artifactId> |
| | | <groupId>com.gkhy.safePlatfrom</groupId> |
| | | <version>1.0-SNAPSHOT</version> |
| | | </parent> |
| | | <!-- <parent>--> |
| | | <!-- <artifactId>emergency</artifactId>--> |
| | | <!-- <groupId>com.gkhy.safePlatfrom</groupId>--> |
| | | <!-- <version>1.0-SNAPSHOT</version>--> |
| | | <!-- </parent>--> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | <packaging>jar</packaging> |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>com.gkhy.safePlatfrom</groupId> |
| | | <artifactId>commons</artifactId> |
| | | <version>1.0-SNAPSHOT</version> |
| | | <scope>compile</scope> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | <groupId>com.gkhy.safePlatfrom</groupId> |
| | | <artifactId>incident-manage-rpc-api</artifactId> |
| | | <version>1.0-SNAPSHOT</version> |
| | | |
| | | <properties> |
| | | <maven.compiler.source>8</maven.compiler.source> |
| | | <maven.compiler.target>8</maven.compiler.target> |
| | | </properties> |
| | | |
| | | </project> |
| | | <distributionManagement> |
| | | <!--稳定版本的仓库地址,必须是允许上传的私服地址--> |
| | | <repository> |
| | | <id>nexus-gkhy-releases</id> |
| | | <url>http://121.239.169.27:28080/repository/guotai-release/</url> |
| | | </repository> |
| | | <!--开发版本的仓库地址,必须是允许上传的私服地址--> |
| | | <snapshotRepository> |
| | | <id>nexus-gkhy-snapshots</id> |
| | | <url>http://121.239.169.27:28080/repository/guotai-snapshot/</url> |
| | | </snapshotRepository> |
| | | </distributionManagement> |
| | | |
| | | <build> |
| | | <extensions> |
| | | <extension> |
| | | <groupId>kr.motd.maven</groupId> |
| | | <artifactId>os-maven-plugin</artifactId> |
| | | </extension> |
| | | </extensions> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.codehaus.mojo</groupId> |
| | | <artifactId>build-helper-maven-plugin</artifactId> |
| | | <version>3.3.0</version> |
| | | <executions> |
| | | <execution> |
| | | <phase>generate-sources</phase> |
| | | <goals> |
| | | <goal>add-source</goal> |
| | | </goals> |
| | | <configuration> |
| | | <sources> |
| | | <source>src/main/java</source> |
| | | <!-- <source>build/generated/source/proto/main/java</source>--> |
| | | </sources> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- 上传源码 --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-source-plugin</artifactId> |
| | | <version>3.2.1</version> |
| | | <configuration> |
| | | <attach>true</attach> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |
| | | <phase>compile</phase> |
| | | <goals> |
| | | <goal>jar</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | |
| | | |
| | | </project> |