-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
174 lines (158 loc) · 6.78 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>
<packaging>pom</packaging>
<groupId>io.github.SilenceShine</groupId>
<artifactId>maven-repository-plugin</artifactId>
<name>${artifactId}</name>
<version>${revision}</version>
<description>maven-repository-plugin</description>
<url>https://github.com/SilenceShine/maven-repository-plugin</url>
<issueManagement>
<url>https://github.com/SilenceShine/maven-repository-plugin/issues</url>
<system>GitHub</system>
</issueManagement>
<scm>
<url>https://github.com/SilenceShine/maven-repository-plugin</url>
<connection>scm:git:git://github.com/SilenceShine/maven-repository-plugin.git</connection>
<developerConnection>scm:git:git://github.com/SilenceShine/maven-repository-plugin.git</developerConnection>
</scm>
<developers>
<developer>
<id>SilenceShine</id>
<name>SilenceShine</name>
<email>[email protected]</email>
<organization>SilenceShine</organization>
<organizationUrl>https://github.com/SilenceShine</organizationUrl>
</developer>
</developers>
<modules>
<module>maven-repository-github-plugin</module>
</modules>
<properties>
<revision>0.0.1</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>8</java.version>
<maven-plugin.version>3.9.0</maven-plugin.version>
<maven-plugin-plugin.version>3.8.1</maven-plugin-plugin.version>
<maven-plugin-annotations.version>3.8.1</maven-plugin-annotations.version>
<maven-deploy-plugin.version>3.1.0</maven-deploy-plugin.version>
<flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<maven-repository-github-plugin.version>0.0.1</maven-repository-github-plugin.version>
<github-api.version>1.314</github-api.version>
<github-username>SilenceShine</github-username>
<github-repository>maven-repository-plugin</github-repository>
</properties>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub SilenceShine Apache Maven Packages</name>
<url>https://maven.pkg.github.com/SilenceShine/maven-repository-plugin</url>
</repository>
</distributionManagement>
<profiles>
<profile>
<id>github</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>github</id>
<name>SilenceShine maven-repository-plugin Maven Packages</name>
<url>https://maven.pkg.github.com/SilenceShine/maven-repository-plugin</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven-plugin.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>${maven-plugin-annotations.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven-plugin.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${maven-plugin-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
<flattenDependencyMode>all</flattenDependencyMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>