Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.51 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/maven-v4_0_0.xsd">
  3.     <modelVersion>4.0.0</modelVersion>
  4.     <groupId>de.micromata.jak</groupId>
  5.     <artifactId>JavaAPIforKml</artifactId>
  6.     <version>2.2.0-SNAPSHOT</version>
  7.     <name>a Java API for Kml</name>
  8.     <description>This is JavaAPIforKMml, Micromata's library for use with applications that want to parse, generate and operate on KML. It is an implementation of the OGC KML 2.2 standard. It is written entirely in Java and makes heavy use of JAXB.</description>
  9.     <packaging>jar</packaging>
  10.     <url>http://code.google.com/p/javaapiforkml/</url>
  11.     <organization>
  12.         <name>Micromata GmbH</name>
  13.         <url>http://micromata.de</url>
  14.     </organization>
  15.     <scm>
  16.         <connection>scm:svn:http://javaapiforkml.googlecode.com/svn/trunk/</connection>
  17.         <developerConnection>scm:svn:https://javaapiforkml.googlecode.com/svn/trunk/</developerConnection>
  18.     </scm>
  19.     <developers>
  20.         <developer>
  21.             <id>bachmann.florian</id>
  22.             <name>Florian Bachmann</name>
  23.             <email>f.bachmann@micromata.de</email>
  24.             <organization>Micromata GmbH</organization>
  25.             <organizationUrl>http://www.micromata.com</organizationUrl>
  26.             <timezone>-1</timezone>
  27.             <roles>
  28.                 <role>architect</role>
  29.                 <role>developer</role>
  30.             </roles>
  31.         </developer>
  32.         <developer>
  33.             <id>schnitzelhugo</id>
  34.             <name>Bernd Kratz</name>
  35.             <email>b.kratz@micromata.de</email>
  36.             <organization>Micromata GmbH</organization>
  37.             <organizationUrl>http://www.micromata.com</organizationUrl>
  38.             <timezone>-1</timezone>
  39.             <roles>
  40.                 <role>developer</role>
  41.             </roles>
  42.         </developer>
  43.         <developer>
  44.             <id>landgraf1967</id>
  45.             <name>Thomas Landgraf</name>
  46.             <email>tl@micromata.de</email>
  47.             <organization>Micromata GmbH</organization>
  48.             <organizationUrl>http://www.micromata.com</organizationUrl>
  49.             <timezone>-1</timezone>
  50.             <roles>
  51.                 <role>developer</role>
  52.             </roles>
  53.         </developer>
  54.     </developers>
  55.     <licenses>
  56.         <license>
  57.             <name>BSD license</name>
  58.             <url>/LICENSE.txt</url>
  59.             <comments>All rights reserved.</comments>
  60.             <distribution>manual</distribution>
  61.         </license>
  62.     </licenses>
  63.     <build>
  64.         <finalName>${project.artifactId}</finalName>
  65.         <plugins>
  66.             <!-- code generation part disabled, till all files are in public maven
  67.                 repositories -->
  68.             <plugin>
  69.                 <groupId>org.apache.maven.plugins</groupId>
  70.                 <artifactId>maven-antrun-plugin</artifactId>
  71.                 <executions>
  72.                     <!--
  73.                     <execution>
  74.                         <id>xjc-invocation</id>
  75.                         <phase>generate-sources</phase>
  76.                         <configuration>
  77.                             <tasks>
  78.                                 <property name="src.dir" location="src/main" />
  79.                                 <property name="lib.dir" location="lib" />
  80.                                 <property name="src.dir.gen" location="${src.dir}/java" />
  81.                                 <property name="schema.dir" value="${src.dir}/resources/schema" />
  82.                                 <property name="schema.dir.kml" location="${schema.dir}/ogckml/ogckml22.xsd" />
  83.                                 <property name="schema.dir.kml.binding" value="${schema.dir}/ogckml/JAK_binding.xjb" />
  84.    
  85.                                 <property name="compile_classpath" refid="maven.compile.classpath"/>
  86.                                 <property name="runtime_classpath" refid="maven.runtime.classpath"/>
  87.                                 <property name="test_classpath" refid="maven.test.classpath"/>
  88.                                 <property name="plugin_classpath" refid="maven.plugin.classpath"/>
  89.                                 <echo message="src.dir: ${src.dir}"/>
  90.                                 <echo message="lib.dir: ${lib.dir}"/>
  91.                                 <echo message="src.dir.gen:    ${src.dir.gen}"/>
  92.                                 <echo message="schema.dir:  ${schema.dir}"/>
  93.                                 <echo message="schema.dir.kml: ${schema.dir.kml}"/>
  94.                                 <echo message="schema.dir.kml.binding: ${schema.dir.kml.binding}"/>
  95.                                 <echo message="compile classpath: ${compile_classpath}"/>
  96.                                 <echo message="runtime classpath: ${runtime_classpath}"/>
  97.                                 <echo message="test classpath:    ${test_classpath}"/>
  98.                                 <echo message="plugin classpath:  ${plugin_classpath}"/>
  99.                  
  100.                                 <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask" classpathref="maven.compile.classpath">
  101.                                     <classpath>  
  102.                                         <pathelement location = "${lib.dir}"/>  
  103.                                     </classpath>
  104.                                 </taskdef>
  105.                                 <description>generate JAK from OGC's KML schema</description>
  106.                                 <mkdir dir="${src.dir.gen}/de/micromata/opengis/kml/" />
  107.                                 <delete>
  108.                                     <fileset dir="${src.dir.gen}/de/micromata/opengis/kml/" includes="**" />
  109.                                 </delete>
  110.                                 <xjc extension="true" binding="${schema.dir.kml.binding}" destdir="${src.dir.gen}" removeOldOutput="yes"
  111.                                     schema="${schema.dir}/ogckml/kml22gx.xsd"> <arg value="-XJavaForKmlApi" />
  112.                                 </xjc>
  113.                                 <exec executable="perl" dir="${basedir}">
  114.                                     <arg file="scripts/CleanUpGeneratedJAXBSourceFolder.pl" />
  115.                                     <arg file="${src.dir.gen}/de/micromata/opengis/kml" />
  116.                                 </exec>
  117.                             </tasks>
  118.                         </configuration>
  119.                         <goals>
  120.                             <goal>run</goal>
  121.                         </goals>
  122.                     </execution>
  123.                      -->
  124.                 </executions>
  125.             </plugin>
  126.  
  127.             <plugin>
  128.                 <groupId>org.apache.maven.plugins</groupId>
  129.                 <artifactId>maven-antrun-plugin</artifactId>
  130.             </plugin>
  131.             <plugin>
  132.                 <groupId>org.apache.maven.plugins</groupId>
  133.                 <artifactId>maven-compiler-plugin</artifactId>
  134.                 <configuration>
  135.                     <source>1.5</source>
  136.                     <target>1.5</target>
  137.                     <encoding>UTF-8</encoding>
  138.                 </configuration>
  139.             </plugin>
  140.             <plugin>
  141.                 <groupId>org.apache.maven.plugins</groupId>
  142.                 <artifactId>maven-surefire-plugin</artifactId>
  143.                 <configuration>
  144.                     <testFailureIgnore>true</testFailureIgnore>
  145.                 </configuration>
  146.             </plugin>
  147.             <plugin>
  148.                 <artifactId>maven-assembly-plugin</artifactId>
  149.             </plugin>
  150.             <plugin>
  151.                 <groupId>org.apache.maven.plugins</groupId>
  152.                 <artifactId>maven-source-plugin</artifactId>
  153.                 <executions>
  154.                     <execution>
  155.                         <phase>package</phase>
  156.                         <goals>
  157.                             <goal>jar</goal>
  158.                         </goals>
  159.                     </execution>
  160.                 </executions>
  161.             </plugin>
  162.         </plugins>
  163.         <extensions>
  164.             <extension>
  165.                 <groupId>org.jvnet.wagon-svn</groupId>
  166.                 <artifactId>wagon-svn</artifactId>
  167.                 <version>1.9</version>
  168.             </extension>
  169.         </extensions>
  170.     </build>
  171.     <dependencies>
  172.         <dependency>
  173.             <groupId>com.sun.xml.bind</groupId>
  174.             <artifactId>jaxb-impl</artifactId>
  175.             <version>2.2</version>
  176.         </dependency>
  177.         <dependency>
  178.             <groupId>com.sun.xml.bind</groupId>
  179.             <artifactId>jaxb-xjc</artifactId>
  180.             <version>2.2</version>
  181.         </dependency>
  182.         <dependency>
  183.             <groupId>log4j</groupId>
  184.             <artifactId>log4j</artifactId>
  185.             <version>1.2.14</version>
  186.             <scope>test</scope>
  187.         </dependency>
  188.         <dependency>
  189.             <groupId>junit</groupId>
  190.             <artifactId>junit</artifactId>
  191.             <version>4.5</version>
  192.             <scope>test</scope>
  193.         </dependency>
  194.         <dependency>
  195.             <groupId>xmlunit</groupId>
  196.             <artifactId>xmlunit</artifactId>
  197.             <version>1.2</version>
  198.         </dependency>
  199.         <!--
  200.             code generation part disabled, till all files are in public maven repositories
  201.                     -->
  202.         <dependency>
  203.             <groupId>de.micromata.jak</groupId> <artifactId>XJCPluginJavaApiforKml</artifactId> <version>1.0-SNAPSHOT</version>
  204.             <type>jar</type> <scope>compile</scope>
  205.         </dependency>
  206.  
  207.     </dependencies>
  208.  
  209.     <distributionManagement>
  210.         <repository>
  211.             <id>java.net-m2-repository</id>
  212.             <url>java-net:/maven2-repository/trunk/repository/</url>
  213.         </repository>
  214.     </distributionManagement>
  215.  
  216.     <repositories>
  217.         <repository>
  218.             <id>maven2-repository.dev.java.net</id>
  219.             <name>Java.net Maven 2 Repository</name>
  220.             <url>http://download.java.net/maven/2</url>
  221.             <layout>default</layout>
  222.             <snapshots>
  223.                 <enabled>true</enabled>
  224.             </snapshots>
  225.         </repository>
  226.         <repository>
  227.             <id>maven-repository.dev.java.net</id>
  228.             <name>Java.net Maven 1 Repository (legacy)</name>
  229.             <url>http://download.java.net/maven/1</url>
  230.             <layout>legacy</layout>
  231.             <snapshots>
  232.                 <enabled>true</enabled>
  233.             </snapshots>
  234.         </repository>
  235.     </repositories>
  236.     <pluginRepositories>
  237.         <pluginRepository>
  238.             <id>maven2-repository.dev.java.net</id>
  239.             <name>Java.net Maven 2 Repository</name>
  240.             <url>http://download.java.net/maven/2</url>
  241.         </pluginRepository>
  242.         <pluginRepository>
  243.             <id>maven-repository.dev.java.net</id>
  244.             <name>Java.net Maven 1 Repository (legacy)</name>
  245.             <url>http://download.java.net/maven/1</url>
  246.             <layout>legacy</layout>
  247.         </pluginRepository>
  248.     </pluginRepositories>
  249.     <reporting>
  250.         <plugins>
  251.             <plugin>
  252.                 <groupId>org.apache.maven.plugins</groupId>
  253.                 <artifactId>maven-javadoc-plugin</artifactId>
  254.                 <version>2.5</version>
  255.                 <configuration>
  256.                 </configuration>
  257.                 <reportSets>
  258.                     <reportSet>
  259.                         <id>html</id>
  260.                         <configuration>
  261.                             <doctitle>My API for ${project.name} ${project.version}</doctitle>
  262.                             <windowtitle>My API for ${project.name} ${project.version}</windowtitle>
  263.                         </configuration>
  264.                         <reports>
  265.                             <report>javadoc</report>
  266.                         </reports>
  267.                     </reportSet>
  268.                     <reportSet>
  269.                         <id>test-html</id>
  270.                         <configuration>
  271.                             <testDoctitle>My Test API for ${project.name} ${project.version}</testDoctitle>
  272.                             <testWindowtitle>My Test API for ${project.name}
  273.                                 ${project.version}</testWindowtitle>
  274.                         </configuration>
  275.                         <reports>
  276.                             <report>test-javadoc</report>
  277.                         </reports>
  278.                     </reportSet>
  279.                 </reportSets>
  280.             </plugin>
  281.             <plugin>
  282.                 <groupId>org.apache.maven.plugins</groupId>
  283.                 <artifactId>maven-changelog-plugin</artifactId>
  284.                 <version>2.1</version>
  285.             </plugin>
  286.             <plugin>
  287.                 <groupId>org.apache.maven.plugins</groupId>
  288.                 <artifactId>maven-source-plugin</artifactId>
  289.                 <version>2.1</version>
  290.             </plugin>
  291.         </plugins>
  292.     </reporting>
  293.     <profiles>
  294.         <profile>
  295.             <id>clover.all</id>
  296.             <build>
  297.                 <plugins>
  298.                     <plugin>
  299.                         <groupId>com.atlassian.maven.plugins</groupId>
  300.                         <artifactId>maven-clover2-plugin</artifactId>
  301.                         <version>2.5.1</version>
  302.                         <configuration>
  303.                             <snapshot>${user.home}/.clover/${project.groupId}-${project.artifactId}/clover.snapshot</snapshot>
  304.                             <license><![CDATA[QPORQwLRnqofKiVJNSQIKsdKNrrATjdKLVUWxSxJsxdmrDo
  305.                                       mj2KlpGKhDbmto<pV8EfyyGI2L0GfmTXJbnDjh3vD0PmE2E
  306.                                       qNNNtTmqpmmnOnooqRRsuoRMPqnOoPopOrxxtWtVSsWXSMu
  307.                                       TWXVUqqonmqmUUnoqvnprommmmmUUnoqvnprommmmmUUDfZ
  308.                                       oljXqXW7jY8UUnmm]]>
  309.                             </license>
  310.                             <excludes>
  311.                                 <exclude>**/de/micromata/opengis/kml/v_2_2_0/annotations/**</exclude>
  312.                                 <exclude>**/de/micromata/opengis/kml/v_2_2_0/atom/**</exclude>
  313.                                 <exclude>**/de/micromata/opengis/kml/v_2_2_0/xal/**</exclude>
  314.                                 <exclude>**/de/micromata/jak/**</exclude>
  315.                                 <exclude>**/de/micromata/jak/jugh/**</exclude>
  316.                                 <exclude>**/de/micromata/jak/incubator/**</exclude>
  317.                                 <exclude>**/de/micromata/jak/internal/**</exclude>
  318.                             </excludes>
  319.                             <generatePdf>true</generatePdf>
  320.                             <generateXml>true</generateXml>
  321.                             <generateHtml>true</generateHtml>
  322.                         </configuration>
  323.                         <executions>
  324.                             <execution>
  325.                                 <id>clover</id>
  326.                                 <goals>
  327.                                     <goal>setup</goal>
  328.                                     <goal>optimize</goal>
  329.                                     <goal>snapshot</goal>
  330.                                 </goals>
  331.                             </execution>
  332.                             <execution>
  333.                                 <phase>verify</phase>
  334.                                 <goals>
  335.                                     <goal>clover</goal>
  336.                                     <goal>log</goal>
  337.                                 </goals>
  338.                             </execution>
  339.                         </executions>
  340.                     </plugin>
  341.                 </plugins>
  342.             </build>
  343.         </profile>
  344.     </profiles>
  345. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement