Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. <groupId>org.geotools.tutorial</groupId>
  2. <artifactId>tutorial</artifactId>
  3. <version>0.0.1-SNAPSHOT</version>
  4. <packaging>jar</packaging>
  5.  
  6. <name>tutorial</name>
  7. <url>http://maven.apache.org</url>
  8.  
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <geotools.version>15.1</geotools.version>
  12. <geotools.version>17-SNAPSHOT</geotools.version>
  13. </properties>
  14.  
  15. <dependencies>
  16.  
  17. <dependency>
  18. <groupId>junit</groupId>
  19. <artifactId>junit</artifactId>
  20. <version>4.11</version>
  21. <scope>test</scope>
  22. </dependency>
  23.  
  24. <dependency>
  25. <groupId>org.geotools</groupId>
  26. <artifactId>gt-process</artifactId>
  27. <version>${geotools.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.geotools</groupId>
  31. <artifactId>gt-shapefile</artifactId>
  32. <version>${geotools.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.geotools</groupId>
  36. <artifactId>gt-swing</artifactId>
  37. <version>${geotools.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.geotools</groupId>
  41. <artifactId>gt-epsg-hsql</artifactId>
  42. <version>${geotools.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.geotools</groupId>
  46. <artifactId>gt-geotiff</artifactId>
  47. <version>${geotools.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.geotools</groupId>
  51. <artifactId>gt-image</artifactId>
  52. <version>${geotools.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.geotools</groupId>
  56. <artifactId>gt-wms</artifactId>
  57. <version>${geotools.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.geotools</groupId>
  61. <artifactId>gt-swing</artifactId>
  62. <version>${geotools.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.geotools</groupId>
  66. <artifactId>gt-render</artifactId>
  67. <version>${geotools.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>net.sourceforge.javacsv</groupId>
  71. <artifactId>javacsv</artifactId>
  72. <version>2.0</version>
  73. </dependency>
  74.  
  75.  
  76. <dependency>
  77. <groupId>org.geotools.jdbc</groupId>
  78. <artifactId>gt-jdbc-postgis</artifactId>
  79. <version>${geotools.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.opencsv</groupId>
  83. <artifactId>opencsv</artifactId>
  84. <version>3.9</version>
  85. </dependency>
  86.  
  87. </dependencies>
  88. <repositories>
  89. <repository>
  90. <id>maven2-repository.dev.java.net</id>
  91. <name>Java.net repository</name>
  92. <url>http://download.java.net/maven/2</url>
  93. </repository>
  94. <repository>
  95. <id>osgeo</id>
  96. <name>Open Source Geospatial Foundation Repository</name>
  97. <url>http://download.osgeo.org/webdav/geotools/</url>
  98. </repository>
  99. <repository>
  100. <snapshots>
  101. <enabled>true</enabled>
  102. </snapshots>
  103. <id>boundless</id>
  104. <name>Boundless Maven Repository</name>
  105. <url>http://repo.boundlessgeo.com/main</url>
  106. </repository>
  107. </repositories>
  108. <build>
  109.  
  110. <plugins>
  111. <plugin>
  112. <inherited>true</inherited>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-compiler-plugin</artifactId>
  115. <configuration>
  116. <source>1.8</source>
  117. <target>1.8</target>
  118. </configuration>
  119. </plugin>
  120. <plugin>
  121. <artifactId>maven-compiler-plugin</artifactId>
  122. <configuration>
  123. <encoding>UTF-8</encoding>
  124. <target>1.8</target>
  125. <source>1.8</source>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-shade-plugin</artifactId>
  131. <version>1.3.1</version>
  132. <executions>
  133. <execution>
  134. <phase>package</phase>
  135. <goals>
  136. <goal>shade</goal>
  137. </goals>
  138. <configuration>
  139. <transformers>
  140. <!-- This bit sets the main class for the executable jar as you otherwise -->
  141. <!-- would with the assembly plugin -->
  142. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  143. <manifestEntries>
  144. <Main-Class>org.geotools.tutorial.ImageLab</Main-Class>
  145. </manifestEntries>
  146. </transformer>
  147. <!-- This bit merges the various GeoTools META-INF/services files -->
  148. <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
  149. </transformers>
  150. </configuration>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. </plugins>
  155.  
  156. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement