Skip to content

The Unified and Autonomous Development Platform

1.5 KB
Raw Blame
<?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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<artifactId>server-plugin-archetype</artifactId>
	<parent>
		<groupId>io.onedev</groupId>
		<artifactId>server-plugin</artifactId>
		<version>17.0.2</version>
	</parent>
	<build>
		<resources>
		  <resource>
			<directory>src/main/resources</directory>
			<filtering>true</filtering>
			<includes>
			  <include>archetype-resources/pom.xml</include>
			</includes>
		  </resource>
		  <resource>
			<directory>src/main/resources</directory>
			<filtering>false</filtering>
			<excludes>
			  <exclude>archetype-resources/pom.xml</exclude>
			</excludes>
		  </resource>
		</resources>
		<pluginManagement>
		  <plugins>
			<plugin>
			  <groupId>org.apache.maven.plugins</groupId>
			  <artifactId>maven-resources-plugin</artifactId>
			  <version>2.5</version>
			  <configuration>
				<escapeString>\</escapeString>
			  </configuration>
			</plugin>
		  </plugins>
		</pluginManagement>
		<plugins>
            <plugin> 
                <artifactId>maven-archetype-plugin</artifactId> 
				<version>3.1.2</version>
				<executions> 
					<execution> 
						<id>install-archetype</id>  
						<phase>install</phase>  
						<goals> 
							<goal>update-local-catalog</goal> 
						</goals> 
					</execution> 
				</executions> 
            </plugin> 
		</plugins>
	</build>
</project>