You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

169 lines
7.1 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>
<parent>
<groupId>org.alis</groupId>
<artifactId>alis-project</artifactId>
<version>sheep</version>
</parent>
<groupId>org.alis.agent</groupId>
<artifactId>alis-agent</artifactId>
<version>stork</version>
<packaging>jar</packaging>
<name>alis-agent</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>10</maven.compiler.source>
<maven.compiler.target>10</maven.compiler.target>
<org.alis.version>3.28.0-GA</org.alis.version>
</properties>
<developers>
<developer>
<id>alis</id>
<name>alis-lc</name>
<email>alis-lc@gmail.com</email>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>${java.version}</version>
<scope>system</scope>
<optional>true</optional>
<systemPath>${java.home}/lib/jrt-fs.jar</systemPath>
</dependency>
<!-- <dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>${maven.compiler.source}</version>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
<systemPath>D:/Program Files/Java/jdk1.8.0_301/lib/tools.jar</systemPath>
<scope>system</scope>
</dependency> -->
<!-- <dependency> <groupId>org.org.alis</groupId> <artifactId>org.alis</artifactId>
<version>${org.alis.version}</version> </dependency> -->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<archive>
<manifestEntries>
<premain-class>org.alis.agent.AlisAgentApplication</premain-class>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>
<executions> <execution> <phase>process-classes</phase> <configuration> <archive>
<manifestEntries> <premain-class>org.alis.agent.AlisAgentApplication</premain-class>
</manifestEntries> </archive> </configuration> </execution> </executions>
</plugin> -->
<!-- <plugin>-->
<!-- <groupId>org.codehaus.mojo</groupId>-->
<!-- <artifactId>buildnumber-maven-plugin</artifactId>-->
<!-- <version>1.4</version>-->
<!-- </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.codehaus.mojo</groupId>-->
<!-- <artifactId>sonar-maven-plugin</artifactId>-->
<!-- <version>3.9.0.2155</version>-->
<!-- </plugin>-->
</plugins>
<!-- <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
<artifactId>sonar-maven-plugin</artifactId> <version>2.0</version> </plugin>
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version> <configuration> <source>${project.build.target}</source>
<target>${project.build.target}</target> <encoding>${project.build.sourceEncoding}</encoding>
</configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId> <version>2.1</version> <configuration>
<actTransitively>false</actTransitively> <includeScope>runtime</includeScope>
<overWriteIfNewer>true</overWriteIfNewer> <reResolve>false</reResolve> <transitive>false</transitive>
</configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId> <version>2.4</version> </plugin>
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId>
<version>2.0.4</version> <configuration> <attach>true</attach> </configuration>
</plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId>
<version>2.2</version> <executions> <execution> <id>default-jar</id> <configuration>
</configuration> </execution> </executions> <configuration> <archive> <manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest>
<manifestEntries> <Implementation-Build>${buildNumber}</Implementation-Build>
<Target-Jdk>${project.build.target}</Target-Jdk> </manifestEntries> </archive>
</configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <version>2.3</version> <configuration>
<archive> <manifestEntries> <Platform-Module-Version>${project.version}</Platform-Module-Version>
<Platform-Module>${project.artifactId}</Platform-Module> </manifestEntries>
<addMavenDescriptor>true</addMavenDescriptor> </archive> </configuration>
</plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId> <version>2.0</version> </plugin>
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId>
<version>2.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId> <version>2.3</version> </plugin>
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId>
<version>1.0-beta-2</version> <executions> <execution> <phase>validate</phase>
<goals> <goal>create</goal> </goals> </execution> </executions> <configuration>
<format>{0,date,yyyy-MM-dd HH:mm:ss}</format> <items> <item>timestamp</item>
</items> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <version>1.4</version> </plugin>
</plugins> </pluginManagement> -->
</build>
</project>