|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + |
| 5 | + <properties> |
| 6 | + <build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version> |
| 7 | + <vertx.version>4.2.4</vertx.version> |
| 8 | + <revision>${vertx.version}.0-SNAPSHOT</revision> |
| 9 | + <log4j.version>2.17.1</log4j.version> |
| 10 | + <slf4j.version>1.7.35</slf4j.version> |
| 11 | + <commons-collections.version>3.2.2</commons-collections.version> |
| 12 | + </properties> |
| 13 | + |
| 14 | + <modelVersion>4.0.0</modelVersion> |
| 15 | + <groupId>org.computate</groupId> |
| 16 | + <artifactId>computate-base</artifactId> |
| 17 | + <version>${revision}</version> |
| 18 | + <packaging>pom</packaging> |
| 19 | + <name>Computate base project with default properties</name> |
| 20 | + <description>Computate base project with default properties. </description> |
| 21 | + <url>https://github.com/computate-org/computate-base</url> |
| 22 | + |
| 23 | + <licenses> |
| 24 | + <license> |
| 25 | + <name>GNU GENERAL PUBLIC LICENSE, Version 3</name> |
| 26 | + <url>https://www.gnu.org/licenses/gpl-3.0.en.html</url> |
| 27 | + </license> |
| 28 | + </licenses> |
| 29 | + |
| 30 | + <developers> |
| 31 | + <developer> |
| 32 | + <name>Christopher Tate</name> |
| 33 | + <organization>computate.org</organization> |
| 34 | + <organizationUrl>https://github.com/computate-org</organizationUrl> |
| 35 | + </developer> |
| 36 | + </developers> |
| 37 | + |
| 38 | + <scm> |
| 39 | + <connection>scm:git:git://github.com/computate-org/computate-base.git</connection> |
| 40 | + <developerConnection>scm:git:ssh://github.com:computate-org/computate-base.git</developerConnection> |
| 41 | + <url>http://github.com/computate-org/computate-base/tree/master</url> |
| 42 | + </scm> |
| 43 | + |
| 44 | + <profiles> |
| 45 | + <!-- Deployment profile (required so these plugins are only used when deploying) --> |
| 46 | + <profile> |
| 47 | + <id>release</id> |
| 48 | + <build> |
| 49 | + <plugins> |
| 50 | + <!-- Source plugin --> |
| 51 | + <plugin> |
| 52 | + <groupId>org.apache.maven.plugins</groupId> |
| 53 | + <artifactId>maven-source-plugin</artifactId> |
| 54 | + <version>2.4</version> |
| 55 | + <executions> |
| 56 | + <execution> |
| 57 | + <id>attach-sources</id> |
| 58 | + <goals> |
| 59 | + <goal>jar-no-fork</goal> |
| 60 | + </goals> |
| 61 | + </execution> |
| 62 | + </executions> |
| 63 | + </plugin> |
| 64 | + |
| 65 | + <!-- Javadoc plugin --> |
| 66 | + <plugin> |
| 67 | + <groupId>org.apache.maven.plugins</groupId> |
| 68 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 69 | + <version>2.10.4</version> |
| 70 | + <executions> |
| 71 | + <execution> |
| 72 | + <id>attach-javadocs</id> |
| 73 | + <goals> |
| 74 | + <goal>jar</goal> |
| 75 | + </goals> |
| 76 | + </execution> |
| 77 | + </executions> |
| 78 | + </plugin> |
| 79 | + |
| 80 | + <!-- GPG plugin --> |
| 81 | + <plugin> |
| 82 | + <groupId>org.apache.maven.plugins</groupId> |
| 83 | + <artifactId>maven-gpg-plugin</artifactId> |
| 84 | + <version>1.6</version> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <id>sign-artifacts</id> |
| 88 | + <phase>verify</phase> |
| 89 | + <goals> |
| 90 | + <goal>sign</goal> |
| 91 | + </goals> |
| 92 | + <configuration> |
| 93 | + <!-- Prevent `gpg` from using pinentry programs --> |
| 94 | + <gpgArguments> |
| 95 | + <arg>--pinentry-mode</arg> |
| 96 | + <arg>loopback</arg> |
| 97 | + </gpgArguments> |
| 98 | + </configuration> |
| 99 | + </execution> |
| 100 | + </executions> |
| 101 | + </plugin> |
| 102 | + </plugins> |
| 103 | + </build> |
| 104 | + </profile> |
| 105 | + </profiles> |
| 106 | + |
| 107 | + <build> |
| 108 | + <resources> |
| 109 | + <resource> |
| 110 | + <directory>src/main/resources</directory> |
| 111 | + </resource> |
| 112 | + </resources> |
| 113 | + |
| 114 | + <plugins> |
| 115 | + |
| 116 | + <plugin> |
| 117 | + <groupId>org.codehaus.mojo</groupId> |
| 118 | + <artifactId>flatten-maven-plugin</artifactId> |
| 119 | + <version>1.0.0</version> |
| 120 | + <configuration> |
| 121 | + <updatePomFile>true</updatePomFile> |
| 122 | + </configuration> |
| 123 | + <executions> |
| 124 | + <execution> |
| 125 | + <id>flatten</id> |
| 126 | + <phase>process-resources</phase> |
| 127 | + <goals> |
| 128 | + <goal>flatten</goal> |
| 129 | + </goals> |
| 130 | + </execution> |
| 131 | + <execution> |
| 132 | + <id>flatten.clean</id> |
| 133 | + <phase>clean</phase> |
| 134 | + <goals> |
| 135 | + <goal>clean</goal> |
| 136 | + </goals> |
| 137 | + </execution> |
| 138 | + </executions> |
| 139 | + </plugin> |
| 140 | + |
| 141 | + <plugin> |
| 142 | + <artifactId>maven-compiler-plugin</artifactId> |
| 143 | + <version>3.7.0</version> |
| 144 | + <configuration> |
| 145 | + <source>1.8</source> |
| 146 | + <target>1.8</target> |
| 147 | + </configuration> |
| 148 | + </plugin> |
| 149 | + |
| 150 | + <plugin> |
| 151 | + <groupId>org.apache.maven.plugins</groupId> |
| 152 | + <artifactId>maven-jar-plugin</artifactId> |
| 153 | + <version>3.1.0</version> |
| 154 | + </plugin> |
| 155 | + |
| 156 | + <plugin> |
| 157 | + <groupId>org.codehaus.mojo</groupId> |
| 158 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 159 | + <version>${build-helper-maven-plugin.version}</version> |
| 160 | + <executions> |
| 161 | + <execution> |
| 162 | + <phase>generate-sources</phase> |
| 163 | + <goals> |
| 164 | + <goal>add-source</goal> |
| 165 | + </goals> |
| 166 | + <configuration> |
| 167 | + <sources> |
| 168 | + <source>src/gen/java</source> |
| 169 | + </sources> |
| 170 | + </configuration> |
| 171 | + </execution> |
| 172 | + </executions> |
| 173 | + </plugin> |
| 174 | + |
| 175 | + <!-- Nexus Staging Plugin --> |
| 176 | + <plugin> |
| 177 | + <groupId>org.sonatype.plugins</groupId> |
| 178 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 179 | + <version>1.6.8</version> |
| 180 | + <extensions>true</extensions> |
| 181 | + <configuration> |
| 182 | + <serverId>ossrh</serverId> |
| 183 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 184 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 185 | + </configuration> |
| 186 | + </plugin> |
| 187 | + </plugins> |
| 188 | + </build> |
| 189 | + |
| 190 | + <distributionManagement> |
| 191 | + |
| 192 | + <repository> |
| 193 | + <id>github</id> |
| 194 | + <name>GitHub OWNER Apache Maven Packages</name> |
| 195 | + <url>https://maven.pkg.github.com/computate-org/computate-base</url> |
| 196 | + </repository> |
| 197 | + |
| 198 | + <!-- Central Repository --> |
| 199 | + <snapshotRepository> |
| 200 | + <id>ossrh</id> |
| 201 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 202 | + </snapshotRepository> |
| 203 | + </distributionManagement> |
| 204 | +</project> |
| 205 | + |
0 commit comments