|
| 1 | +<?xml version="1.0"?> |
| 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 | + |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <parent> |
| 7 | + <groupId>org.sonatype.oss</groupId> |
| 8 | + <artifactId>oss-parent</artifactId> |
| 9 | + <version>7</version> |
| 10 | + <relativePath /> |
| 11 | + </parent> |
| 12 | + |
| 13 | + <groupId>org.exist-db</groupId> |
| 14 | + <artifactId>exist-documentation</artifactId> |
| 15 | + <version>0.6.0-SNAPSHOT</version> |
| 16 | + |
| 17 | + <name>eXist-db Documentation</name> |
| 18 | + <description>Documentation package for eXist-db</description> |
| 19 | + <url>https://www.github.com/exist-db/documentation</url> |
| 20 | + <inceptionYear>2001</inceptionYear> |
| 21 | + |
| 22 | + <organization> |
| 23 | + <name>eXist-db</name> |
| 24 | + <url>http://exist-db.org</url> |
| 25 | + </organization> |
| 26 | + |
| 27 | + <licenses> |
| 28 | + <license> |
| 29 | + <name>GNU Lesser General Public License, version 2.1</name> |
| 30 | + <url>http://opensource.org/licenses/LGPL-2.1</url> |
| 31 | + <distribution>repo</distribution> |
| 32 | + </license> |
| 33 | + </licenses> |
| 34 | + |
| 35 | + <scm> |
| 36 | + <connection>scm:git:https://www.github.com/exist-db/documentation.git</connection> |
| 37 | + <developerConnection>scm:git:https://www.github.com/exist-db/documentation.git</developerConnection> |
| 38 | + <url>scm:git:https://www.github.com/exist-db/documentation.git</url> |
| 39 | + <tag>HEAD</tag> |
| 40 | + </scm> |
| 41 | + |
| 42 | + <properties> |
| 43 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 44 | + <project.build.source>1.8</project.build.source> |
| 45 | + <project.build.target>1.8</project.build.target> |
| 46 | + |
| 47 | + <exist.version>3.5.0</exist.version> |
| 48 | + |
| 49 | + <package-title>${project.name}</package-title> |
| 50 | + <package-name>http://exist-db.org/apps/doc</package-name> |
| 51 | + <package-abbrev>${project.artifactId}</package-abbrev> |
| 52 | + <package-final-name>${project.artifactId}-${project.version}</package-final-name> |
| 53 | + </properties> |
| 54 | + |
| 55 | + <dependencies> |
| 56 | + <dependency> |
| 57 | + <groupId>org.exist-db</groupId> |
| 58 | + <artifactId>exist-testkit</artifactId> |
| 59 | + <version>${exist.version}</version> |
| 60 | + <scope>test</scope> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>junit</groupId> |
| 64 | + <artifactId>junit</artifactId> |
| 65 | + <version>4.12</version> |
| 66 | + <scope>test</scope> |
| 67 | + </dependency> |
| 68 | + </dependencies> |
| 69 | + |
| 70 | + <build> |
| 71 | + <plugins> |
| 72 | + <plugin> |
| 73 | + <groupId>com.mycila</groupId> |
| 74 | + <artifactId>license-maven-plugin</artifactId> |
| 75 | + <version>3.0</version> |
| 76 | + <configuration> |
| 77 | + <header>GPL2.1-template.txt</header> |
| 78 | + <failIfMissing>true</failIfMissing> |
| 79 | + <aggregate>true</aggregate> |
| 80 | + <strictCheck>true</strictCheck> |
| 81 | + <properties> |
| 82 | + <owner>${project.organization.name}</owner> |
| 83 | + <organisation>${project.organization.name}</organisation> |
| 84 | + |
| 85 | + <url>${project.organization.url}</url> |
| 86 | + </properties> |
| 87 | + <headerDefinitions> |
| 88 | + <headerDefinition>xquery-license-style.xml</headerDefinition> |
| 89 | + </headerDefinitions> |
| 90 | + <mapping> |
| 91 | + <xq>xquery_style</xq> |
| 92 | + <xqm>xquery_style</xqm> |
| 93 | + </mapping> |
| 94 | + <excludes> |
| 95 | + <exclude>pom.xml</exclude> |
| 96 | + <exclude>README.md</exclude> |
| 97 | + <exclude>LICENSE</exclude> |
| 98 | + <exclude>xquery-license-style.xml</exclude> |
| 99 | + <exclude>xar-assembly.xml</exclude> |
| 100 | + </excludes> |
| 101 | + </configuration> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-compiler-plugin</artifactId> |
| 106 | + <version>3.6.1</version> |
| 107 | + <configuration> |
| 108 | + <source>${project.build.source}</source> |
| 109 | + <target>${project.build.target}</target> |
| 110 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 111 | + </configuration> |
| 112 | + <executions> |
| 113 | + <execution> |
| 114 | + <phase>compile</phase> |
| 115 | + <goals> |
| 116 | + <goal>compile</goal> |
| 117 | + </goals> |
| 118 | + </execution> |
| 119 | + </executions> |
| 120 | + </plugin> |
| 121 | + <plugin> |
| 122 | + <groupId>com.code54.mojo</groupId> |
| 123 | + <artifactId>buildversion-plugin</artifactId> |
| 124 | + <version>1.0.3</version> |
| 125 | + <executions> |
| 126 | + <execution> |
| 127 | + <phase>validate</phase> |
| 128 | + <goals> |
| 129 | + <goal>set-properties</goal> |
| 130 | + </goals> |
| 131 | + </execution> |
| 132 | + </executions> |
| 133 | + </plugin> |
| 134 | + <plugin> |
| 135 | + <groupId>org.apache.maven.plugins</groupId> |
| 136 | + <artifactId>maven-jar-plugin</artifactId> |
| 137 | + <version>3.0.2</version> |
| 138 | + <configuration> |
| 139 | + <archive> |
| 140 | + <manifestEntries> |
| 141 | + <Build-Tag>${build-tag}</Build-Tag> |
| 142 | + <Git-Commit>${build-commit}</Git-Commit> |
| 143 | + <Git-Commit-Abbrev>${build-commit-abbrev}</Git-Commit-Abbrev> |
| 144 | + <Build-Version>${build-version}</Build-Version> |
| 145 | + <Build-Timestamp>${build-tstamp}</Build-Timestamp> |
| 146 | + <Source-Repository>${project.scm.connection}</Source-Repository> |
| 147 | + <Description>${project.description}</Description> |
| 148 | + <Implementation-URL>${project.url}</Implementation-URL> |
| 149 | + </manifestEntries> |
| 150 | + </archive> |
| 151 | + </configuration> |
| 152 | + </plugin> |
| 153 | + <plugin> |
| 154 | + <groupId>ro.kuberam.maven.plugins</groupId> |
| 155 | + <artifactId>kuberam-expath-plugin</artifactId> |
| 156 | + <version>0.4.9</version> |
| 157 | + <executions> |
| 158 | + <execution> |
| 159 | + <id>create-xar</id> |
| 160 | + <phase>package</phase> |
| 161 | + <goals> |
| 162 | + <goal>make-xar</goal> |
| 163 | + </goals> |
| 164 | + <configuration> |
| 165 | + <descriptor>xar-assembly.xml</descriptor> |
| 166 | + <finalName>${package-final-name}</finalName> |
| 167 | + </configuration> |
| 168 | + </execution> |
| 169 | + </executions> |
| 170 | + </plugin> |
| 171 | + <plugin> |
| 172 | + <!-- Attach source jars --> |
| 173 | + <groupId>org.apache.maven.plugins</groupId> |
| 174 | + <artifactId>maven-source-plugin</artifactId> |
| 175 | + <version>3.0.1</version> |
| 176 | + <configuration> |
| 177 | + <archive> |
| 178 | + <manifest> |
| 179 | + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 180 | + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 181 | + </manifest> |
| 182 | + <manifestEntries> |
| 183 | + <Build-Tag>${build-tag}</Build-Tag> |
| 184 | + <Git-Commit>${build-commit}</Git-Commit> |
| 185 | + <Git-Commit-Abbrev>${build-commit-abbrev}</Git-Commit-Abbrev> |
| 186 | + <Build-Version>${build-version}</Build-Version> |
| 187 | + <Build-Timestamp>${build-tstamp}</Build-Timestamp> |
| 188 | + <Source-Repository>${project.scm.connection}</Source-Repository> |
| 189 | + <Description>${project.description}</Description> |
| 190 | + <Implementation-URL>${project.url}</Implementation-URL> |
| 191 | + </manifestEntries> |
| 192 | + </archive> |
| 193 | + </configuration> |
| 194 | + <executions> |
| 195 | + <execution> |
| 196 | + <id>attach-sources</id> |
| 197 | + <phase>verify</phase> |
| 198 | + <goals> |
| 199 | + <goal>jar</goal> |
| 200 | + </goals> |
| 201 | + </execution> |
| 202 | + </executions> |
| 203 | + </plugin> |
| 204 | + <plugin> |
| 205 | + <groupId>org.apache.maven.plugins</groupId> |
| 206 | + <artifactId>maven-gpg-plugin</artifactId> |
| 207 | + <version>1.6</version> |
| 208 | + <configuration> |
| 209 | + <useAgent>true</useAgent> |
| 210 | + </configuration> |
| 211 | + </plugin> |
| 212 | + <plugin> |
| 213 | + <groupId>org.apache.maven.plugins</groupId> |
| 214 | + <artifactId>maven-release-plugin</artifactId> |
| 215 | + <version>2.5.3</version> |
| 216 | + <configuration> |
| 217 | + <mavenExecutorId>forked-path</mavenExecutorId> <!-- avoid a bug with GPG plugin hanging http://jira.codehaus.org/browse/MGPG-9 --> |
| 218 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 219 | + <tagNameFormat>@{project.version}</tagNameFormat> |
| 220 | + </configuration> |
| 221 | + </plugin> |
| 222 | + </plugins> |
| 223 | + </build> |
| 224 | + |
| 225 | + <repositories> |
| 226 | + <repository> |
| 227 | + <id>exist</id> |
| 228 | + <url>https://raw.github.com/eXist-db/mvn-repo/master/</url> |
| 229 | + </repository> |
| 230 | + </repositories> |
| 231 | + |
| 232 | + <pluginRepositories> |
| 233 | + <pluginRepository> |
| 234 | + <id>clojars.org</id> |
| 235 | + <url>http://clojars.org/repo</url> |
| 236 | + </pluginRepository> |
| 237 | + </pluginRepositories> |
| 238 | +</project> |
0 commit comments