|
1 | 1 | <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"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 |
|
4 | | - <parent> |
5 | | - <groupId>org.quickfixj</groupId> |
6 | | - <artifactId>quickfixj-parent</artifactId> |
7 | | - <version>3.0.2-SNAPSHOT</version> |
8 | | - </parent> |
9 | | - |
| 4 | + <groupId>org.quickfixj</groupId> |
10 | 5 | <artifactId>quickfixj-codegenerator</artifactId> |
| 6 | + <version>3.0.2-SNAPSHOT</version> |
11 | 7 | <packaging>maven-plugin</packaging> |
12 | 8 |
|
13 | 9 | <name>QuickFIX/J Code Generator Maven Plugin</name> |
|
17 | 13 | </description> |
18 | 14 | <url>http://www.quickfixj.org</url> |
19 | 15 |
|
| 16 | + <licenses> |
| 17 | + <license> |
| 18 | + <name>The QuickFIX Software License, Version 1.0</name> |
| 19 | + <url>http://www.quickfixj.org/documentation/license.html</url> |
| 20 | + <distribution>repo</distribution> |
| 21 | + </license> |
| 22 | + </licenses> |
| 23 | + |
| 24 | + <developers> |
| 25 | + <developer> |
| 26 | + <id>chrjohn</id> |
| 27 | + <name>Christoph John</name> |
| 28 | + </developer> |
| 29 | + </developers> |
| 30 | + |
| 31 | + <scm> |
| 32 | + <connection>scm:git:git://github.com/quickfix-j/quickfixj-codegenerator.git</connection> |
| 33 | + <developerConnection>scm:git:git@github.com:quickfix-j/quickfixj-codegenerator.git</developerConnection> |
| 34 | + <url>https://github.com/quickfix-j/quickfixj-codegenerator</url> |
| 35 | + <tag>master</tag> |
| 36 | + </scm> |
| 37 | + |
| 38 | + <issueManagement> |
| 39 | + <system>github issues</system> |
| 40 | + <url>https://github.com/quickfix-j/quickfixj-codegenerator/issues</url> |
| 41 | + </issueManagement> |
| 42 | + |
| 43 | + <prerequisites> |
| 44 | + <maven>3.9.12</maven> |
| 45 | + </prerequisites> |
| 46 | + |
20 | 47 | <properties> |
21 | 48 | <mainClass>org.quickfixj.codegenerator.MessageCodeGenerator</mainClass> |
| 49 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 50 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 51 | + <maven.compiler.source>8</maven.compiler.source> |
| 52 | + <maven.compiler.target>8</maven.compiler.target> |
| 53 | + <maven-libs-version>3.9.12</maven-libs-version> |
| 54 | + <maven-plugin-api-version>3.9.14</maven-plugin-api-version> |
| 55 | + <maven-plugin-annotations.version>3.15.2</maven-plugin-annotations.version> |
| 56 | + <junit.jupiter.version>5.14.3</junit.jupiter.version> |
| 57 | + <commons-io.version>2.21.0</commons-io.version> |
| 58 | + <maven-surefire-plugin-version>3.5.5</maven-surefire-plugin-version> |
| 59 | + <maven-compiler-plugin-version>3.15.0</maven-compiler-plugin-version> |
| 60 | + <maven-source-plugin-version>3.4.0</maven-source-plugin-version> |
| 61 | + <maven-javadoc-plugin-version>3.12.0</maven-javadoc-plugin-version> |
| 62 | + <maven-gpg-plugin-version>3.2.8</maven-gpg-plugin-version> |
| 63 | + <nexus-staging-maven-plugin-version>1.7.0</nexus-staging-maven-plugin-version> |
| 64 | + <saxon.version>12.9</saxon.version> |
22 | 65 | </properties> |
23 | 66 |
|
24 | 67 | <dependencies> |
25 | 68 | <dependency> |
26 | 69 | <groupId>org.apache.maven</groupId> |
27 | 70 | <artifactId>maven-plugin-api</artifactId> |
| 71 | + <version>${maven-plugin-api-version}</version> |
28 | 72 | <scope>provided</scope> |
29 | 73 | </dependency> |
30 | 74 | <dependency> |
31 | 75 | <groupId>org.apache.maven</groupId> |
32 | 76 | <artifactId>maven-project</artifactId> |
| 77 | + <version>2.2.1</version> |
33 | 78 | <scope>provided</scope> |
34 | 79 | </dependency> |
35 | 80 | <dependency> |
36 | 81 | <groupId>org.apache.maven.plugin-tools</groupId> |
37 | 82 | <artifactId>maven-plugin-annotations</artifactId> |
| 83 | + <version>${maven-plugin-annotations.version}</version> |
38 | 84 | <scope>provided</scope> |
39 | 85 | </dependency> |
40 | 86 | <dependency> |
|
45 | 91 | <dependency> |
46 | 92 | <groupId>org.junit.vintage</groupId> |
47 | 93 | <artifactId>junit-vintage-engine</artifactId> |
| 94 | + <version>${junit.jupiter.version}</version> |
48 | 95 | <scope>test</scope> |
49 | 96 | </dependency> |
50 | 97 | <dependency> |
51 | 98 | <groupId>commons-io</groupId> |
52 | 99 | <artifactId>commons-io</artifactId> |
53 | | - <scope>test</scope> |
| 100 | + <version>${commons-io.version}</version> |
| 101 | + <scope>test</scope> |
54 | 102 | </dependency> |
55 | 103 | </dependencies> |
56 | 104 |
|
57 | 105 | <build> |
| 106 | + <pluginManagement> |
| 107 | + <plugins> |
| 108 | + <plugin> |
| 109 | + <groupId>org.apache.maven.plugins</groupId> |
| 110 | + <artifactId>maven-compiler-plugin</artifactId> |
| 111 | + <version>${maven-compiler-plugin-version}</version> |
| 112 | + <configuration> |
| 113 | + <forceLegacyJavacApi>true</forceLegacyJavacApi> |
| 114 | + </configuration> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-source-plugin</artifactId> |
| 119 | + <version>${maven-source-plugin-version}</version> |
| 120 | + <executions> |
| 121 | + <execution> |
| 122 | + <id>attach-sources</id> |
| 123 | + <phase>package</phase> |
| 124 | + <goals> |
| 125 | + <goal>jar-no-fork</goal> |
| 126 | + </goals> |
| 127 | + </execution> |
| 128 | + </executions> |
| 129 | + </plugin> |
| 130 | + <plugin> |
| 131 | + <groupId>org.apache.maven.plugins</groupId> |
| 132 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 133 | + <version>${maven-javadoc-plugin-version}</version> |
| 134 | + <executions> |
| 135 | + <execution> |
| 136 | + <id>attach-javadocs</id> |
| 137 | + <goals> |
| 138 | + <goal>jar</goal> |
| 139 | + </goals> |
| 140 | + <configuration> |
| 141 | + <quiet>true</quiet> |
| 142 | + <doclint>none</doclint> |
| 143 | + </configuration> |
| 144 | + </execution> |
| 145 | + </executions> |
| 146 | + </plugin> |
| 147 | + <plugin> |
| 148 | + <groupId>org.apache.maven.plugins</groupId> |
| 149 | + <artifactId>maven-gpg-plugin</artifactId> |
| 150 | + <version>${maven-gpg-plugin-version}</version> |
| 151 | + <executions> |
| 152 | + <execution> |
| 153 | + <id>sign-artifacts</id> |
| 154 | + <phase>verify</phase> |
| 155 | + <goals> |
| 156 | + <goal>sign</goal> |
| 157 | + </goals> |
| 158 | + </execution> |
| 159 | + </executions> |
| 160 | + </plugin> |
| 161 | + <plugin> |
| 162 | + <groupId>org.sonatype.plugins</groupId> |
| 163 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 164 | + <version>${nexus-staging-maven-plugin-version}</version> |
| 165 | + <extensions>true</extensions> |
| 166 | + <configuration> |
| 167 | + <serverId>ossrh</serverId> |
| 168 | + <nexusUrl>https://oss.sonatype.org/service/local/staging/deploy/maven2/</nexusUrl> |
| 169 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 170 | + </configuration> |
| 171 | + </plugin> |
| 172 | + </plugins> |
| 173 | + </pluginManagement> |
58 | 174 | <plugins> |
| 175 | + <plugin> |
| 176 | + <artifactId>maven-surefire-plugin</artifactId> |
| 177 | + <version>${maven-surefire-plugin-version}</version> |
| 178 | + </plugin> |
59 | 179 | <plugin> |
60 | 180 | <artifactId>maven-jar-plugin</artifactId> |
| 181 | + <version>3.5.0</version> |
61 | 182 | <configuration> |
62 | 183 | <archive> |
63 | 184 | <manifest> |
|
75 | 196 | </plugin> |
76 | 197 | <plugin> |
77 | 198 | <artifactId>maven-pmd-plugin</artifactId> |
| 199 | + <version>3.28.0</version> |
| 200 | + </plugin> |
| 201 | + <plugin> |
| 202 | + <artifactId>maven-plugin-plugin</artifactId> |
| 203 | + <version>3.15.2</version> |
| 204 | + <configuration> |
| 205 | + <goalPrefix>quickfixj-codegenerator</goalPrefix> |
| 206 | + </configuration> |
78 | 207 | </plugin> |
79 | | - <plugin> |
80 | | - <artifactId>maven-plugin-plugin</artifactId> |
81 | | - <version>3.15.2</version> |
82 | | - <configuration> |
83 | | - <goalPrefix>quickfixj-codegenerator</goalPrefix> |
84 | | - </configuration> |
85 | | - </plugin> |
86 | 208 | </plugins> |
87 | 209 | </build> |
| 210 | + |
| 211 | + <profiles> |
| 212 | + <profile> |
| 213 | + <id>java-8-compilation</id> |
| 214 | + <activation> |
| 215 | + <jdk>[9,)</jdk> |
| 216 | + </activation> |
| 217 | + <properties> |
| 218 | + <maven.compiler.release>8</maven.compiler.release> |
| 219 | + </properties> |
| 220 | + </profile> |
| 221 | + <profile> |
| 222 | + <id>release</id> |
| 223 | + <activation> |
| 224 | + <activeByDefault>false</activeByDefault> |
| 225 | + </activation> |
| 226 | + <build> |
| 227 | + <plugins> |
| 228 | + <plugin> |
| 229 | + <groupId>org.apache.maven.plugins</groupId> |
| 230 | + <artifactId>maven-source-plugin</artifactId> |
| 231 | + </plugin> |
| 232 | + <plugin> |
| 233 | + <groupId>org.apache.maven.plugins</groupId> |
| 234 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 235 | + </plugin> |
| 236 | + <plugin> |
| 237 | + <groupId>org.sonatype.plugins</groupId> |
| 238 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 239 | + </plugin> |
| 240 | + </plugins> |
| 241 | + </build> |
| 242 | + </profile> |
| 243 | + <profile> |
| 244 | + <id>sign</id> |
| 245 | + <activation> |
| 246 | + <activeByDefault>false</activeByDefault> |
| 247 | + </activation> |
| 248 | + <build> |
| 249 | + <plugins> |
| 250 | + <plugin> |
| 251 | + <groupId>org.apache.maven.plugins</groupId> |
| 252 | + <artifactId>maven-gpg-plugin</artifactId> |
| 253 | + </plugin> |
| 254 | + </plugins> |
| 255 | + </build> |
| 256 | + </profile> |
| 257 | + </profiles> |
| 258 | + |
| 259 | + <distributionManagement> |
| 260 | + <snapshotRepository> |
| 261 | + <id>github</id> |
| 262 | + <url>https://maven.pkg.github.com/quickfix-j/quickfixj-codegenerator</url> |
| 263 | + </snapshotRepository> |
| 264 | + <repository> |
| 265 | + <id>ossrh</id> |
| 266 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 267 | + </repository> |
| 268 | + </distributionManagement> |
88 | 269 | </project> |
0 commit comments