mirror of
https://github.com/theonedev/onedev.git
synced 2025-12-08 18:26:30 +00:00
292 lines
13 KiB
XML
292 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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>
|
|
<groupId>com.pmease</groupId>
|
|
<artifactId>parent.general</artifactId>
|
|
<version>1.0.7</version>
|
|
<packaging>pom</packaging>
|
|
<prerequisites>
|
|
<maven>3.0</maven>
|
|
</prerequisites>
|
|
<build>
|
|
<finalName>${project.groupId}.${project.artifactId}-${project.version}</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>archetype-resource/pom.xml</include>
|
|
</includes>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<excludes>
|
|
<exclude>archetype-resource/pom.xml</exclude>
|
|
</excludes>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/test/java</directory>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</testResource>
|
|
</testResources>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>com.pmease</groupId>
|
|
<artifactId>plugin.maven</artifactId>
|
|
<versionRange>[1.0.0,]</versionRange>
|
|
<goals>
|
|
<goal>check-project-dependencies</goal>
|
|
<goal>generate-artifact-descriptor</goal>
|
|
<goal>generate-plugin-resources</goal>
|
|
<goal>generate-product-resources</goal>
|
|
<goal>create-product-sandbox</goal>
|
|
<goal>run-ant</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute>
|
|
<runOnIncremental>true</runOnIncremental>
|
|
<runOnConfiguration>true</runOnConfiguration>
|
|
</execute>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<versionRange>[1.0.0,]</versionRange>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore/>
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-archetype-plugin</artifactId>
|
|
<version>2.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>install-archetype</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>update-local-catalog</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<escapeString>\</escapeString>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-jar</id>
|
|
<phase>never</phase>
|
|
<configuration>
|
|
<finalName>unwanted</finalName>
|
|
<classifier>unwanted</classifier>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ant</groupId>
|
|
<artifactId>ant-apache-regexp</artifactId>
|
|
<version>1.6.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-all</artifactId>
|
|
<version>1.8.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.gant</groupId>
|
|
<artifactId>gant_groovy1.8</artifactId>
|
|
<version>1.9.7</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.pmease</groupId>
|
|
<artifactId>plugin.maven</artifactId>
|
|
<version>1.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>check-project-dependencies</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>check-project-dependencies</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-artifact-descriptor</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>generate-artifact-descriptor</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>package-artifact</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>package-artifact</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-plugin-resources</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>generate-plugin-resources</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-product-resources</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>generate-product-resources</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>create-product-sandbox</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>create-product-sandbox</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.8.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>1.9.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
</snapshots>
|
|
<id>pmeaseRepo</id>
|
|
<name>PMEase Repository</name>
|
|
<url>http://artifact.pmease.com/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<repositories>
|
|
<repository>
|
|
<id>pmeaseRepo</id>
|
|
<name>PMEase Repository</name>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>always</updatePolicy>
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
</snapshots>
|
|
<url>http://artifact.pmease.com/</url>
|
|
</repository>
|
|
</repositories>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>pmeaseRepo</id>
|
|
<url>http://artifact.pmease.com/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
</properties>
|
|
</project>
|