|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + 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>org.commonjava</groupId> |
| 6 | + <artifactId>commonjava</artifactId> |
| 7 | + <version>1-SNAPSHOT</version> |
| 8 | + <packaging>pom</packaging> |
| 9 | + |
| 10 | + <name>CommonJava Top-Level Parent POM</name> |
| 11 | + <name>Monolith-Generator Maven Plugin</name> |
| 12 | + |
| 13 | + <url>http://github.com/jdcasey/commonjava</url> |
| 14 | + |
| 15 | + <description>CommonJava top-level parent POM.</description> |
| 16 | + |
| 17 | + <licenses> |
| 18 | + <license> |
| 19 | + <name>APLv2.0</name> |
| 20 | + <distribution>repo</distribution> |
| 21 | + </license> |
| 22 | + </licenses> |
| 23 | + |
| 24 | + <developers> |
| 25 | + <developer> |
| 26 | + <id>jdcasey</id> |
| 27 | + <email>jdcasey@commonjava.org</email> |
| 28 | + <name>John Casey</name> |
| 29 | + </developer> |
| 30 | + </developers> |
| 31 | + |
| 32 | + <scm> |
| 33 | + <connection>scm:git:http://jdcasey@github.com/jdcasey/commonjava.git</connection> |
| 34 | + <developerConnection>scm:git:git@github.com:jdcasey/commonjava.git</developerConnection> |
| 35 | + <url>http://github.com/jdcasey/commonjava</url> |
| 36 | + </scm> |
| 37 | + |
| 38 | + <properties> |
| 39 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 40 | + <version.plugin.compiler>3.1</version.plugin.compiler> |
| 41 | + <version.plugin.plugin>3.2</version.plugin.plugin> |
| 42 | + <version.plugin.plexus-component-metadata>1.5.5</version.plugin.plexus-component-metadata> |
| 43 | + <version.plugin.release>2.1</version.plugin.release> |
| 44 | + <version.plugin.enforcer>1.0</version.plugin.enforcer> |
| 45 | + <version.plugin.assembly>2.3</version.plugin.assembly> |
| 46 | + <version.plugin.jar>2.4</version.plugin.jar> |
| 47 | + <version.plugin.source>2.1.2</version.plugin.source> |
| 48 | + <version.plugin.javadoc>2.8.1</version.plugin.javadoc> |
| 49 | + <version.plugin.gpg>1.1</version.plugin.gpg> |
| 50 | + <repo.snapshots>http://localhost:9080/aprox/api/1.0/group/public/</repo.snapshots> |
| 51 | + </properties> |
| 52 | + |
| 53 | + <build> |
| 54 | + <pluginManagement> |
| 55 | + <plugins> |
| 56 | + <plugin> |
| 57 | + <artifactId>maven-compiler-plugin</artifactId> |
| 58 | + <version>${version.plugin.compiler}</version> |
| 59 | + <configuration> |
| 60 | + <source>1.7</source> |
| 61 | + <target>1.7</target> |
| 62 | + </configuration> |
| 63 | + </plugin> |
| 64 | + <plugin> |
| 65 | + <artifactId>maven-plugin-plugin</artifactId> |
| 66 | + <version>${version.plugin.plugin}</version> |
| 67 | + <executions> |
| 68 | + <execution> |
| 69 | + <id>generate-descriptor</id> |
| 70 | + <goals> |
| 71 | + <goal>descriptor</goal> |
| 72 | + </goals> |
| 73 | + </execution> |
| 74 | + </executions> |
| 75 | + <configuration> |
| 76 | + <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 77 | + </configuration> |
| 78 | + </plugin> |
| 79 | + <plugin> |
| 80 | + <groupId>org.codehaus.plexus</groupId> |
| 81 | + <artifactId>plexus-component-metadata</artifactId> |
| 82 | + <version>${version.plugin.plexus-component-metadata}</version> |
| 83 | + <executions> |
| 84 | + <execution> |
| 85 | + <id>components.xml</id> |
| 86 | + <goals> |
| 87 | + <goal>generate-metadata</goal> |
| 88 | + </goals> |
| 89 | + </execution> |
| 90 | + </executions> |
| 91 | + </plugin> |
| 92 | + <plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-release-plugin</artifactId> |
| 95 | + <version>${version.plugin.release}</version> |
| 96 | + <configuration> |
| 97 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 98 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 99 | + <useReleaseProfile>false</useReleaseProfile> |
| 100 | + <arguments>-Prelease</arguments> |
| 101 | + </configuration> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 105 | + <version>${version.plugin.enforcer}</version> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <id>enforce-maven</id> |
| 109 | + <goals> |
| 110 | + <goal>enforce</goal> |
| 111 | + </goals> |
| 112 | + <configuration> |
| 113 | + <rules> |
| 114 | + <requireMavenVersion> |
| 115 | + <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version> |
| 116 | + <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message> |
| 117 | + </requireMavenVersion> |
| 118 | + </rules> |
| 119 | + </configuration> |
| 120 | + </execution> |
| 121 | + </executions> |
| 122 | + </plugin> |
| 123 | + <plugin> |
| 124 | + <artifactId>maven-assembly-plugin</artifactId> |
| 125 | + <version>${version.plugin.assembly}</version> |
| 126 | + </plugin> |
| 127 | + <plugin> |
| 128 | + <artifactId>maven-jar-plugin</artifactId> |
| 129 | + <version>${version.plugin.jar}</version> |
| 130 | + </plugin> |
| 131 | + </plugins> |
| 132 | + </pluginManagement> |
| 133 | + <plugins> |
| 134 | + <plugin> |
| 135 | + <artifactId>maven-plugin-plugin</artifactId> |
| 136 | + </plugin> |
| 137 | + <plugin> |
| 138 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 139 | + </plugin> |
| 140 | + <plugin> |
| 141 | + <groupId>org.codehaus.plexus</groupId> |
| 142 | + <artifactId>plexus-component-metadata</artifactId> |
| 143 | + </plugin> |
| 144 | + </plugins> |
| 145 | + </build> |
| 146 | + |
| 147 | + <profiles> |
| 148 | + <profile> |
| 149 | + <id>release</id> |
| 150 | + <build> |
| 151 | + <plugins> |
| 152 | + <plugin> |
| 153 | + <groupId>org.apache.maven.plugins</groupId> |
| 154 | + <artifactId>maven-source-plugin</artifactId> |
| 155 | + <version>${version.plugin.source}</version> |
| 156 | + <executions> |
| 157 | + <execution> |
| 158 | + <id>attach-sources</id> |
| 159 | + <goals> |
| 160 | + <goal>jar-no-fork</goal> |
| 161 | + </goals> |
| 162 | + </execution> |
| 163 | + </executions> |
| 164 | + </plugin> |
| 165 | + <plugin> |
| 166 | + <groupId>org.apache.maven.plugins</groupId> |
| 167 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 168 | + <version>${version.plugin.javadoc}</version> |
| 169 | + <executions> |
| 170 | + <execution> |
| 171 | + <id>attach-javadocs</id> |
| 172 | + <goals> |
| 173 | + <goal>jar</goal> |
| 174 | + </goals> |
| 175 | + <configuration> |
| 176 | + <detectOfflineLinks>false</detectOfflineLinks> |
| 177 | + </configuration> |
| 178 | + </execution> |
| 179 | + </executions> |
| 180 | + </plugin> |
| 181 | + <plugin> |
| 182 | + <groupId>org.apache.maven.plugins</groupId> |
| 183 | + <artifactId>maven-gpg-plugin</artifactId> |
| 184 | + <version>${version.plugin.gpg}</version> |
| 185 | + <executions> |
| 186 | + <execution> |
| 187 | + <id>sign-artifacts</id> |
| 188 | + <phase>verify</phase> |
| 189 | + <goals> |
| 190 | + <goal>sign</goal> |
| 191 | + </goals> |
| 192 | + </execution> |
| 193 | + </executions> |
| 194 | + </plugin> |
| 195 | + </plugins> |
| 196 | + </build> |
| 197 | + </profile> |
| 198 | + </profiles> |
| 199 | + |
| 200 | + <distributionManagement> |
| 201 | + <snapshotRepository> |
| 202 | + <id>snapshots</id> |
| 203 | + <name>Snapshots</name> |
| 204 | + <url>${repo.snapshots}</url> |
| 205 | + </snapshotRepository> |
| 206 | + <repository> |
| 207 | + <id>sonatype-nexus-staging</id> |
| 208 | + <name>Release Repository</name> |
| 209 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 210 | + </repository> |
| 211 | + </distributionManagement> |
| 212 | + |
| 213 | +</project> |
0 commit comments