|
| 1 | +<?xml version="1.0"?> |
| 2 | +<project |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 4 | + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <artifactId>3DBuildableHull</artifactId> |
| 8 | + <groupId>fr.ign.cogit</groupId> |
| 9 | + <version>1.0</version> |
| 10 | + <packaging>jar</packaging> |
| 11 | + <name>GeOxygene SIG 3D application</name> |
| 12 | + |
| 13 | + <properties> |
| 14 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + </properties> |
| 16 | + |
| 17 | + <licenses> |
| 18 | + <license> |
| 19 | + <name>CeCILL License</name> |
| 20 | + <url>http://www.cecill.info/</url> |
| 21 | + <distribution>repo</distribution> |
| 22 | + </license> |
| 23 | + </licenses> |
| 24 | + |
| 25 | + <build> |
| 26 | + <sourceDirectory>src/main/java</sourceDirectory> |
| 27 | + <testSourceDirectory>src/test/java</testSourceDirectory> |
| 28 | + <resources> |
| 29 | + <resource> |
| 30 | + <directory>src/main/resources</directory> |
| 31 | + </resource> |
| 32 | + </resources> |
| 33 | + <testResources> |
| 34 | + <testResource> |
| 35 | + <directory>src/test/resources</directory> |
| 36 | + </testResource> |
| 37 | + </testResources> |
| 38 | + <plugins> |
| 39 | + <plugin> |
| 40 | + <groupId>org.apache.maven.plugins</groupId> |
| 41 | + <artifactId>maven-compiler-plugin</artifactId> |
| 42 | + <version>3.1</version> |
| 43 | + <configuration> |
| 44 | + <compilerVersion>1.8</compilerVersion> |
| 45 | + <source>1.8</source> |
| 46 | + <complianceLevel>1.8</complianceLevel> |
| 47 | + <target>1.8</target> |
| 48 | + <includes> |
| 49 | + <include>**/*.java</include> |
| 50 | + </includes> |
| 51 | + </configuration> |
| 52 | + </plugin> |
| 53 | + <plugin> |
| 54 | + <groupId>org.apache.maven.plugins</groupId> |
| 55 | + <artifactId>maven-resources-plugin</artifactId> |
| 56 | + <version>2.4.3</version> |
| 57 | + <executions> |
| 58 | + <execution> |
| 59 | + <goals> |
| 60 | + <goal>resources</goal> |
| 61 | + </goals> |
| 62 | + </execution> |
| 63 | + </executions> |
| 64 | + </plugin> |
| 65 | + <plugin> |
| 66 | + <groupId>org.apache.maven.plugins</groupId> |
| 67 | + <artifactId>maven-shade-plugin</artifactId> |
| 68 | + <version>2.4.3</version> |
| 69 | + <executions> |
| 70 | + <execution> |
| 71 | + <goals> |
| 72 | + <goal>shade</goal> |
| 73 | + </goals> |
| 74 | + <configuration> |
| 75 | + <!-- <minimizeJar>true</minimizeJar> --> |
| 76 | + <filters> |
| 77 | + <filter> |
| 78 | + <artifact>*:*</artifact> |
| 79 | + <excludes> |
| 80 | + <exclude>META-INF/*.SF</exclude> |
| 81 | + <exclude>META-INF/*.DSA</exclude> |
| 82 | + <exclude>META-INF/*.RSA</exclude> |
| 83 | + <exclude>MANIFEST.MF</exclude> |
| 84 | + </excludes> |
| 85 | + </filter> |
| 86 | + </filters> |
| 87 | + </configuration> |
| 88 | + </execution> |
| 89 | + </executions> |
| 90 | + </plugin> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-source-plugin</artifactId> |
| 94 | + <version>2.1.2</version> |
| 95 | + </plugin> |
| 96 | + <plugin> |
| 97 | + <groupId>org.apache.maven.plugins</groupId> |
| 98 | + <artifactId>maven-jar-plugin</artifactId> |
| 99 | + <version>2.3</version> |
| 100 | + </plugin> |
| 101 | + <plugin> |
| 102 | + <groupId>org.apache.maven.plugins</groupId> |
| 103 | + <artifactId>maven-shade-plugin</artifactId> |
| 104 | + <version>2.4.3</version> |
| 105 | + <executions> |
| 106 | + <execution> |
| 107 | + <goals> |
| 108 | + <goal>shade</goal> |
| 109 | + </goals> |
| 110 | + <configuration> |
| 111 | + <!-- <minimizeJar>true</minimizeJar> --> |
| 112 | + <filters> |
| 113 | + <filter> |
| 114 | + <artifact>*:*</artifact> |
| 115 | + <excludes> |
| 116 | + <exclude>META-INF/*.SF</exclude> |
| 117 | + <exclude>META-INF/*.DSA</exclude> |
| 118 | + <exclude>META-INF/*.RSA</exclude> |
| 119 | + </excludes> |
| 120 | + </filter> |
| 121 | + </filters> |
| 122 | + <!-- Additional configuration. --> |
| 123 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
| 124 | + <transformers> |
| 125 | + <transformer |
| 126 | + implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| 127 | + </transformers> |
| 128 | + </configuration> |
| 129 | + </execution> |
| 130 | + </executions> |
| 131 | + </plugin> |
| 132 | + <plugin> |
| 133 | + <groupId>org.codehaus.mojo</groupId> |
| 134 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 135 | + <version>2.6</version> |
| 136 | + <configuration> |
| 137 | + <formats> |
| 138 | + <format>xml</format> |
| 139 | + </formats> |
| 140 | + </configuration> |
| 141 | + </plugin> |
| 142 | + </plugins> |
| 143 | + </build> |
| 144 | + |
| 145 | + |
| 146 | + <dependencies> |
| 147 | + <dependency> |
| 148 | + <groupId>fr.ign.cogit</groupId> |
| 149 | + <artifactId>simplu3d-rules</artifactId> |
| 150 | + <version>1.2-SNAPSHOT</version> |
| 151 | + </dependency> |
| 152 | + <dependency> |
| 153 | + <groupId>junit</groupId> |
| 154 | + <artifactId>junit</artifactId> |
| 155 | + <version>4.10</version> |
| 156 | + <scope>test</scope> |
| 157 | + </dependency> |
| 158 | + </dependencies> |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + <distributionManagement> |
| 164 | + <repository> |
| 165 | + <id>releases</id> |
| 166 | + <name>Nexus Releases Repository</name> |
| 167 | + <url>https://forge-cogit.ign.fr/nexus/content/repositories/releases</url> |
| 168 | + </repository> |
| 169 | + <snapshotRepository> |
| 170 | + <id>snapshots</id> |
| 171 | + <name>Nexus Snapshots Repository</name> |
| 172 | + <url>https://forge-cogit.ign.fr/nexus/content/repositories/snapshots/</url> |
| 173 | + </snapshotRepository> |
| 174 | + </distributionManagement> |
| 175 | + |
| 176 | + <pluginRepositories> |
| 177 | + <pluginRepository> |
| 178 | + <id>Central</id> |
| 179 | + <name>Central Repository</name> |
| 180 | + <url>http://repo1.maven.org/maven2</url> |
| 181 | + <snapshots> |
| 182 | + <enabled>false</enabled> |
| 183 | + </snapshots> |
| 184 | + </pluginRepository> |
| 185 | + </pluginRepositories> |
| 186 | + |
| 187 | + <repositories> |
| 188 | + <repository> |
| 189 | + <id>Central</id> |
| 190 | + <name>Central Repository</name> |
| 191 | + <url>http://repo1.maven.org/maven2</url> |
| 192 | + <snapshots> |
| 193 | + <enabled>false</enabled> |
| 194 | + </snapshots> |
| 195 | + </repository> |
| 196 | + <repository> |
| 197 | + <id>cogit-snapshots</id> |
| 198 | + <name>Cogit Snapshots Repository</name> |
| 199 | + <url>https://forge-cogit.ign.fr/nexus/content/repositories/snapshots/</url> |
| 200 | + <snapshots> |
| 201 | + <enabled>true</enabled> |
| 202 | + </snapshots> |
| 203 | + <releases> |
| 204 | + <enabled>false</enabled> |
| 205 | + </releases> |
| 206 | + </repository> |
| 207 | + <repository> |
| 208 | + <id>cogit-releases</id> |
| 209 | + <name>Cogit Releases Repository</name> |
| 210 | + <url>https://forge-cogit.ign.fr/nexus/content/repositories/releases/</url> |
| 211 | + <snapshots> |
| 212 | + <enabled>false</enabled> |
| 213 | + </snapshots> |
| 214 | + <releases> |
| 215 | + <enabled>true</enabled> |
| 216 | + </releases> |
| 217 | + </repository> |
| 218 | + </repositories> |
| 219 | + |
| 220 | + |
| 221 | +</project> |
0 commit comments