|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <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"> |
3 | | - <modelVersion>4.0.0</modelVersion> |
4 | | - |
5 | | - <groupId>${group_id}</groupId> |
6 | | - <artifactId>${artifact_id}</artifactId> |
7 | | - <packaging>jar</packaging> |
8 | | - <name>${project_name}</name> |
9 | | - <description><![CDATA[${project_description}]]></description> |
10 | | - <version>${version}</version> |
11 | | - |
12 | | - <properties> |
13 | | - <commonslang.version>3.7</commonslang.version> |
14 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
16 | | - <maven.compiler.source>8</maven.compiler.source> |
17 | | - <maven.compiler.target>8</maven.compiler.target> |
18 | | - </properties> |
19 | | - |
20 | | - <licenses> |
21 | | - <license> |
22 | | - <name>${license_name}</name> |
23 | | - <url>${license_url}</url> |
24 | | - </license> |
25 | | - </licenses> |
26 | | - |
27 | | - <build> |
28 | | - <pluginManagement> |
29 | | - <plugins> |
30 | | - <plugin> |
31 | | - <groupId>org.apache.maven.plugins</groupId> |
32 | | - <artifactId>maven-deploy-plugin</artifactId> |
33 | | - <version>2.8.2</version> |
34 | | - </plugin> |
35 | | - <plugin> |
36 | | - <groupId>org.apache.maven.plugins</groupId> |
37 | | - <artifactId>maven-compiler-plugin</artifactId> |
38 | | - <version>3.8.0</version> |
39 | | - <configuration> |
40 | | - <release>11</release> |
41 | | - <showDeprecation>true</showDeprecation> |
42 | | - </configuration> |
43 | | - </plugin> |
44 | | - </plugins> |
45 | | - </pluginManagement> |
46 | | - |
47 | | - <plugins> |
48 | | - <plugin> |
49 | | - <groupId>org.apache.maven.plugins</groupId> |
50 | | - <artifactId>maven-release-plugin</artifactId> |
51 | | - <version>2.5.3</version> |
52 | | - </plugin> |
53 | | - <plugin> |
54 | | - <groupId>org.apache.maven.plugins</groupId> |
55 | | - <artifactId>maven-deploy-plugin</artifactId> |
56 | | - <version>2.8.2</version> |
57 | | - </plugin> |
58 | | - <plugin> |
59 | | - <groupId>org.apache.maven.plugins</groupId> |
60 | | - <artifactId>maven-surefire-plugin</artifactId> |
61 | | - <version>2.21.0</version> |
62 | | - </plugin> |
63 | | - <plugin> |
64 | | - <groupId>org.apache.maven.plugins</groupId> |
65 | | - <artifactId>maven-javadoc-plugin</artifactId> |
66 | | - <version>3.1.1</version> |
67 | | - <configuration> |
68 | | - </configuration> |
69 | | - </plugin> |
70 | | - <plugin> |
71 | | - <groupId>org.apache.maven.plugins</groupId> |
72 | | - <artifactId>maven-jar-plugin</artifactId> |
73 | | - <configuration> |
74 | | - <archive> |
75 | | - <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> |
76 | | - </archive> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>${group_id}</groupId> |
| 5 | + <artifactId>${artifact_id}</artifactId> |
| 6 | + <packaging>jar</packaging> |
| 7 | + <name>${project_name}</name> |
| 8 | + <description><![CDATA[${project_description}]]></description> |
| 9 | + <version>${version}</version> |
| 10 | + <properties> |
| 11 | + <commonslang.version>3.7</commonslang.version> |
| 12 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 14 | + <maven.compiler.source>8</maven.compiler.source> |
| 15 | + <maven.compiler.target>8</maven.compiler.target> |
| 16 | + </properties> |
| 17 | + <licenses> |
| 18 | + <license> |
| 19 | + <name>${license_name}</name> |
| 20 | + <url>${license_url}</url> |
| 21 | + </license> |
| 22 | + </licenses> |
| 23 | + <build> |
| 24 | + <pluginManagement> |
| 25 | + <plugins> |
| 26 | + <plugin> |
| 27 | + <groupId>org.apache.maven.plugins</groupId> |
| 28 | + <artifactId>maven-deploy-plugin</artifactId> |
| 29 | + <version>2.8.2</version> |
| 30 | + </plugin> |
| 31 | + <plugin> |
| 32 | + <groupId>org.apache.maven.plugins</groupId> |
| 33 | + <artifactId>maven-compiler-plugin</artifactId> |
| 34 | + <version>3.8.0</version> |
| 35 | + <configuration> |
| 36 | + <release>11</release> |
| 37 | + <showDeprecation>true</showDeprecation> |
| 38 | + </configuration> |
| 39 | + </plugin> |
| 40 | + </plugins> |
| 41 | + </pluginManagement> |
| 42 | + <plugins> |
| 43 | + <plugin> |
| 44 | + <groupId>org.apache.maven.plugins</groupId> |
| 45 | + <artifactId>maven-release-plugin</artifactId> |
| 46 | + <version>2.5.3</version> |
| 47 | + </plugin> |
| 48 | + <plugin> |
| 49 | + <groupId>org.apache.maven.plugins</groupId> |
| 50 | + <artifactId>maven-deploy-plugin</artifactId> |
| 51 | + <version>2.8.2</version> |
| 52 | + </plugin> |
| 53 | + <plugin> |
| 54 | + <groupId>org.apache.maven.plugins</groupId> |
| 55 | + <artifactId>maven-surefire-plugin</artifactId> |
| 56 | + <version>2.21.0</version> |
| 57 | + </plugin> |
| 58 | + <plugin> |
| 59 | + <groupId>org.apache.maven.plugins</groupId> |
| 60 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 61 | + <version>3.1.1</version> |
| 62 | + <configuration> |
77 | 63 | </configuration> |
78 | | - </plugin> |
79 | | - <plugin> |
80 | | - <artifactId>maven-assembly-plugin</artifactId> |
81 | | - <configuration> |
82 | | - <archive> |
83 | | - <manifest> |
84 | | - <mainClass>${package}.utils.Validator</mainClass> |
85 | | - </manifest> |
86 | | - </archive> |
87 | | - <descriptorRefs> |
88 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
89 | | - </descriptorRefs> |
90 | | - </configuration> |
91 | | - </plugin> |
92 | | - <plugin> |
93 | | - <groupId>com.coveo</groupId> |
94 | | - <artifactId>fmt-maven-plugin</artifactId> |
95 | | - <version>2.9</version> |
96 | | - <executions> |
97 | | - <execution> |
98 | | - <goals> |
99 | | - <goal>format</goal> |
100 | | - </goals> |
101 | | - </execution> |
102 | | - </executions> |
103 | | - </plugin> |
104 | | - </plugins> |
105 | | - </build> |
106 | | - |
107 | | - <dependencyManagement> |
108 | | - <dependencies> |
109 | | - <dependency> |
110 | | - <groupId>org.apache.commons</groupId> |
111 | | - <artifactId>commons-lang3</artifactId> |
112 | | - <version>${commonslang.version}</version> |
113 | | - </dependency> |
114 | | - </dependencies> |
115 | | - </dependencyManagement> |
116 | | - |
| 64 | + </plugin> |
| 65 | + <plugin> |
| 66 | + <groupId>org.apache.maven.plugins</groupId> |
| 67 | + <artifactId>maven-jar-plugin</artifactId> |
| 68 | + <configuration> |
| 69 | + <archive> |
| 70 | + <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> |
| 71 | + </archive> |
| 72 | + </configuration> |
| 73 | + </plugin> |
| 74 | + <plugin> |
| 75 | + <artifactId>maven-assembly-plugin</artifactId> |
| 76 | + <configuration> |
| 77 | + <archive> |
| 78 | + <manifest> |
| 79 | + <mainClass>${package}.utils.Validator</mainClass> |
| 80 | + </manifest> |
| 81 | + </archive> |
| 82 | + <descriptorRefs> |
| 83 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 84 | + </descriptorRefs> |
| 85 | + </configuration> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <groupId>com.coveo</groupId> |
| 89 | + <artifactId>fmt-maven-plugin</artifactId> |
| 90 | + <version>2.9</version> |
| 91 | + <executions> |
| 92 | + <execution> |
| 93 | + <goals> |
| 94 | + <goal>format</goal> |
| 95 | + </goals> |
| 96 | + </execution> |
| 97 | + </executions> |
| 98 | + </plugin> |
| 99 | + </plugins> |
| 100 | + </build> |
| 101 | + <dependencyManagement> |
117 | 102 | <dependencies> |
118 | | - <dependency> |
119 | | - <groupId>junit</groupId> |
120 | | - <artifactId>junit</artifactId> |
121 | | - <version>4.13.1</version> |
122 | | - </dependency> |
123 | | - <dependency> |
124 | | - <groupId>org.snakeyaml</groupId> |
125 | | - <artifactId>snakeyaml-engine</artifactId> |
126 | | - <version>2.2.1</version> |
127 | | - </dependency> |
| 103 | + <dependency> |
| 104 | + <groupId>org.apache.commons</groupId> |
| 105 | + <artifactId>commons-lang3</artifactId> |
| 106 | + <version>${commonslang.version}</version> |
| 107 | + </dependency> |
128 | 108 | </dependencies> |
129 | | - |
130 | | - <profiles> |
131 | | - <profile> |
132 | | - <id>travis</id> |
133 | | - <activation> |
134 | | - <property> |
135 | | - <name>env.TRAVIS</name> |
136 | | - <value>true</value> |
137 | | - </property> |
138 | | - </activation> |
139 | | - <build> |
140 | | - <plugins> |
141 | | - <plugin> |
142 | | - <groupId>org.jacoco</groupId> |
143 | | - <artifactId>jacoco-maven-plugin</artifactId> |
144 | | - <version>0.8.7</version> |
145 | | - <executions> |
146 | | - <execution> |
147 | | - <id>prepare-agent</id> |
148 | | - <goals> |
149 | | - <goal>prepare-agent</goal> |
150 | | - </goals> |
151 | | - </execution> |
152 | | - </executions> |
153 | | - </plugin> |
154 | | - <plugin> |
155 | | - <groupId>org.eluder.coveralls</groupId> |
156 | | - <artifactId>coveralls-maven-plugin</artifactId> |
157 | | - <version>4.3.0</version> |
158 | | - <dependencies> |
159 | | - <dependency> |
160 | | - <groupId>javax.xml.bind</groupId> |
161 | | - <artifactId>jaxb-api</artifactId> |
162 | | - <version>2.3.1</version> |
163 | | - </dependency> |
164 | | - </dependencies> |
165 | | - </plugin> |
166 | | - </plugins> |
167 | | - </build> |
168 | | - </profile> |
169 | | - </profiles> |
170 | | - |
| 109 | + </dependencyManagement> |
| 110 | + <dependencies> |
| 111 | + <dependency> |
| 112 | + <groupId>junit</groupId> |
| 113 | + <artifactId>junit</artifactId> |
| 114 | + <version>4.13.1</version> |
| 115 | + </dependency> |
| 116 | + <dependency> |
| 117 | + <groupId>org.snakeyaml</groupId> |
| 118 | + <artifactId>snakeyaml-engine</artifactId> |
| 119 | + <version>2.2.1</version> |
| 120 | + </dependency> |
| 121 | + </dependencies> |
| 122 | + <profiles> |
| 123 | + <profile> |
| 124 | + <id>travis</id> |
| 125 | + <activation> |
| 126 | + <property> |
| 127 | + <name>env.TRAVIS</name> |
| 128 | + <value>true</value> |
| 129 | + </property> |
| 130 | + </activation> |
| 131 | + <build> |
| 132 | + <plugins> |
| 133 | + <plugin> |
| 134 | + <groupId>org.jacoco</groupId> |
| 135 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 136 | + <version>0.8.7</version> |
| 137 | + <executions> |
| 138 | + <execution> |
| 139 | + <id>prepare-agent</id> |
| 140 | + <goals> |
| 141 | + <goal>prepare-agent</goal> |
| 142 | + </goals> |
| 143 | + </execution> |
| 144 | + </executions> |
| 145 | + </plugin> |
| 146 | + <plugin> |
| 147 | + <groupId>org.eluder.coveralls</groupId> |
| 148 | + <artifactId>coveralls-maven-plugin</artifactId> |
| 149 | + <version>4.3.0</version> |
| 150 | + <dependencies> |
| 151 | + <dependency> |
| 152 | + <groupId>javax.xml.bind</groupId> |
| 153 | + <artifactId>jaxb-api</artifactId> |
| 154 | + <version>2.3.1</version> |
| 155 | + </dependency> |
| 156 | + </dependencies> |
| 157 | + </plugin> |
| 158 | + </plugins> |
| 159 | + </build> |
| 160 | + </profile> |
| 161 | + </profiles> |
171 | 162 | </project> |
0 commit comments