Advertisement
Guest User

Untitled

a guest
Nov 7th, 2012
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.72 KB | None | 0 0
  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.geotools</groupId>
  6.   <artifactId>interpolacao-api</artifactId>
  7.   <version>0.0.1-SNAPSHOT</version>
  8.   <packaging>jar</packaging>
  9.  
  10.   <name>interpolacao-api</name>
  11.   <url>http://maven.apache.org</url>
  12.  
  13.   <properties>
  14.     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15.     <geotools.version>9-SNAPSHOT</geotools.version>
  16.   </properties>
  17.  
  18.  
  19.  
  20. <build>
  21.       <plugins>
  22.           <plugin>
  23.               <artifactId>maven-compiler-plugin</artifactId>
  24.               <configuration>
  25.                   <encoding>UTF-8</encoding>
  26.                   <target>1.5</target>
  27.                   <source>1.5</source>
  28.               </configuration>
  29.           </plugin>
  30.           <plugin>
  31.               <groupId>org.apache.maven.plugins</groupId>
  32.               <artifactId>maven-shade-plugin</artifactId>
  33.               <version>1.3.1</version>
  34.               <executions>
  35.                   <execution>
  36.                       <phase>package</phase>
  37.                       <goals>
  38.                           <goal>shade</goal>
  39.                       </goals>
  40.                       <configuration>
  41.                           <transformers>
  42.                               <!-- This bit sets the main class for the executable jar as you otherwise -->
  43.                               <!-- would with the assembly plugin                                       -->
  44.                               <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  45.                                   <manifestEntries>
  46.                                       <Main-Class>interpolacao_api.MainFrame</Main-Class>
  47.                                   </manifestEntries>
  48.                               </transformer>
  49.                               <!-- This bit merges the various GeoTools META-INF/services files         -->
  50.                               <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
  51.                           </transformers>
  52.                       </configuration>
  53.                   </execution>
  54.               </executions>
  55.           </plugin>
  56.       </plugins>
  57.   </build>
  58.  
  59.  
  60.  
  61.   <dependencies>
  62.     <dependency>
  63.       <groupId>junit</groupId>
  64.       <artifactId>junit</artifactId>
  65.       <version>3.8.1</version>
  66.       <scope>test</scope>
  67.     </dependency>
  68.    
  69.        
  70.     <dependency>
  71.         <groupId>org.geotools</groupId>
  72.         <artifactId>gt-shapefile</artifactId>
  73.         <version>${geotools.version}</version>
  74.     </dependency>
  75.     <dependency>
  76.         <groupId>org.geotools</groupId>
  77.         <artifactId>gt-epsg-hsql</artifactId>
  78.         <version>${geotools.version}</version>
  79.     </dependency>
  80.     <dependency>
  81.         <groupId>org.geotools</groupId>
  82.         <artifactId>gt-swing</artifactId>
  83.         <version>${geotools.version}</version>
  84.     </dependency>
  85.    
  86.   </dependencies>
  87.     <repositories>
  88.       <repository>
  89.             <id>maven2-repository.dev.java.net</id>
  90.             <name>Java.net repository</name>
  91.             <url>http://download.java.net/maven/2</url>
  92.         </repository>
  93.         <repository>
  94.             <id>osgeo</id>
  95.             <name>Open Source Geospatial Foundation Repository</name>
  96.             <url>http://download.osgeo.org/webdav/geotools/</url>
  97.         </repository>
  98.         <repository>
  99.             <snapshots>
  100.                 <enabled>true</enabled>
  101.             </snapshots>
  102.             <id>opengeo</id>
  103.             <name>OpenGeo Maven Repository</name>
  104.             <url>http://repo.opengeo.org</url>
  105.         </repository>
  106.     </repositories>
  107. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement