adding pom
authorn.hoffmann <n.hoffmann@localhost>
Tue, 2 Jun 2009 09:12:51 +0000 (09:12 +0000)
committern.hoffmann <n.hoffmann@localhost>
Tue, 2 Jun 2009 09:12:51 +0000 (09:12 +0000)
.gitattributes
pom.xml [new file with mode: 0644]

index 8c684243b0fcb2227b557533410ee9059cdea6fa..28ff923ecebb3e8d600cc6b9ff34a4f0d3234a41 100644 (file)
@@ -619,6 +619,7 @@ eclipseprojects/eu.etaxonomy.taxeditor/src/eu/etaxonomy/taxeditor/propertysheet/
 eclipseprojects/eu.etaxonomy.taxeditor/src/eu/etaxonomy/taxeditor/propertysheet/type/wizard/NameSearchDialog.java -text
 eclipseprojects/eu.etaxonomy.taxeditor/src/eu/etaxonomy/taxeditor/propertysheet/type/wizard/TypeDesignationWizard.java -text
 eclipseprojects/eu.etaxonomy.taxeditor/src/eu/etaxonomy/taxeditor/propertysheet/type/wizard/TypeListWizard.java -text
+/pom.xml -text
 taxeditor-application/META-INF/MANIFEST.MF -text
 taxeditor-application/TaxEditor.product -text
 taxeditor-application/build.properties -text
diff --git a/pom.xml b/pom.xml
new file mode 100644 (file)
index 0000000..90ba2b7
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,354 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<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/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>eu.etaxonomy</groupId>
+       <artifactId>taxeditor-parent</artifactId>
+       <version>1.0</version>
+
+       <name>EDIT Taxonomic Editor</name>
+       <description>The EDIT Taxonomic Editor for EDIT's platform for cybertaxonomy</description>
+       <url>http://wp5.e-taxonomy.eu/cdmlib/site/</url>
+       <packaging>pom</packaging>
+       <modules>
+               <module>taxeditor-store</module>
+               <module>taxeditor-navigation</module>
+               <module>taxeditor-editor</module>
+               <module>taxeditor-application</module>
+       </modules>
+       
+       <licenses>
+               <license>
+                       <name>Mozilla Public License Version 1.1</name>
+                       <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
+                       <distribution>repo</distribution>
+               </license>
+       </licenses>
+       
+       <developers>
+               <developer>
+                       <!-- your SVN account id please! -->
+                       <id>p.ciardelli</id>
+                       <name>
+                               Pepe Ciardelli
+                       </name>
+                       <email>p.ciardelli [at] bgbm.org</email>
+                       <organization>
+                               Botanical Garden Botanical Museum Berlin
+                       </organization>
+                       <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
+                       <timezone>+1</timezone>
+                       <roles>
+                               <role>developer</role>
+                       </roles>
+                       <url></url>
+               </developer>
+               <developer>
+                       <!-- your SVN account id please! -->
+                       <id>n.hoffmann</id>
+                       <name>
+                               Niels Hoffmann
+                       </name>
+                       <email>n.hoffmann [at] bgbm.org</email>
+                       <organization>
+                               Botanic Garden Botanical Museum Berlin
+                       </organization>
+                       <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
+                       <timezone>+1</timezone>
+                       <roles>
+                               <role>developer</role>
+                       </roles>
+                       <url></url>
+               </developer>
+       </developers>
+       
+       <issueManagement>
+               <system>Trac</system>
+               <url>http://dev.e-taxonomy.eu/trac/</url>
+       </issueManagement>
+       
+       
+       <!-- **** REPOSITORIES **** -->
+       <repositories>
+               <!-- sun repository -->
+               <repository>
+                       <id>java.net</id>
+                       <url>http://download.java.net/maven/1/</url>
+                       <layout>legacy</layout>
+               </repository>
+               <!-- the cdm internal repository -->
+               <repository>
+                       <id>EditRepository</id>
+                       <url>http://wp5.e-taxonomy.eu/cdmlib/mavenrepo/</url>
+               </repository>
+        <!-- apache incubating repository -->
+               <repository>
+                       <id>ApacheIncubating</id>
+                       <url>http://people.apache.org/repo/m2-incubating-repository/</url>
+               </repository>
+               <!-- Neccessary for hibernate-envers -->
+        <repository>
+          <releases>
+                 <enabled>true</enabled>
+                 <updatePolicy>always</updatePolicy>
+                 <checksumPolicy>warn</checksumPolicy>
+               </releases>
+               <snapshots>
+                 <enabled>false</enabled>
+                 <updatePolicy>never</updatePolicy>
+                 <checksumPolicy>fail</checksumPolicy>
+               </snapshots>
+               <id>jboss-repository</id>
+               <name>JBoss Repository</name>
+               <url>http://repository.jboss.com/maven2</url>
+             </repository>
+       </repositories>
+       
+       <build>
+               <plugins>
+                       <plugin>
+                       <artifactId>maven-compiler-plugin</artifactId>
+                       <configuration>
+                         <source>1.5</source>
+                         <target>1.5</target>
+                       </configuration>
+                     </plugin>
+                     <plugin>
+                       <artifactId>maven-surefire-plugin</artifactId>
+                       <configuration>
+                         <includes>
+                           <include>**/*Test.java</include>
+                         </includes>
+                       <systemProperties>
+                               <property>
+                                       <name>hibernate.connection.driver_class</name>
+                                       <value>${hibernate.connection.driver_class}</value>
+                               </property>
+                               <property>
+                                       <name>hibernate.connection.url</name>
+                                       <value>${hibernate.connection.url}</value>
+                               </property>
+                               <property>
+                                       <name>hibernate.connection.username</name>
+                                       <value>${hibernate.connection.username}</value>
+                               </property>
+                               <property>
+                                       <name>hibernate.connection.password</name>
+                                       <value>${hibernate.connection.password}</value>
+                               </property>
+                       </systemProperties>
+                </configuration>
+               </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-site-plugin</artifactId>
+                               <version>2.0</version>
+                               <configuration>
+                                       <locales>en</locales>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>attach-sources</id>
+                                               <phase>verify</phase>
+                                               <goals>
+                                                       <goal>jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-javadoc-plugin</artifactId>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                                       <stylesheet>maven</stylesheet>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-eclipse-plugin</artifactId>
+                               <configuration>
+                                       <downloadSources>true</downloadSources>
+                                       <downloadJavadocs>true</downloadJavadocs>       
+                               </configuration>
+                       </plugin>
+                       
+               </plugins>
+       </build>
+       
+       <reporting>
+               <plugins>
+                       <plugin>
+                               <!-- you will want to start by publishing your classes' Javadocs -->
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-javadoc-plugin</artifactId>
+                               <configuration>
+                                       <links>
+                                               <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+                                               <link>http://static.springframework.org/spring/docs/2.5.x/api/</link>
+                                               <link>http://www.hibernate.org/hib_docs/v3/api/</link>                                          
+                                               <!-- more libraries? -->
+                                       </links>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <!-- this will generate an indexed and cross-referenced HTML version of your source code -->
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jxr-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <!-- if you use @todo tags to remind you of things to be done (which is a good coding practice), the taglist report will generate a list of all the items marked @todo or TODO -->
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>taglist-maven-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <!-- Test coverage can be a useful indication of the quality of your unit tests. It basically tells you how much of your code is actually run by your unit tests, which, in turn, can give you a good idea of the tests' quality -->
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>cobertura-maven-plugin</artifactId>
+                               <!--
+                                       <executions>
+                                       <execution>
+                                       <id>clean</id>
+                                       <phase>clean</phase>
+                                       <goals>
+                                       <goal>clean</goal>
+                                       </goals>
+                                       </execution>
+                                       </executions>
+                               -->
+                       </plugin>
+                       <!--                    
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-project-info-reports-plugin</artifactId>
+                               <reportSets>
+                                       <reportSet>
+                                               <reports>
+                                                       <report>dependencies</report>
+                                                       <report>project-team</report>
+                                                       <report>mailing-list</report>
+                                                       <report>cim</report>
+                                                       <report>issue-tracking</report>
+                                                       <report>license</report>
+                                                       <report>scm</report>
+                                               </reports>
+                                       </reportSet>
+                               </reportSets>
+                       </plugin>       -->             
+                       <!-- The changes-maven-plugin plug-in uses a special XML file (src/changes/changes.xml) to track releases and changes in each release -->
+                       <!-- 
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>changes-maven-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                       </plugin>
+                       -->
+                       <!-- The changelog plug-in generates a nice report describing which files have been changed and by whom -->
+                       <!-- 
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>changelog-maven-plugin</artifactId>
+                       </plugin>
+                       -->
+               </plugins>
+       </reporting>
+       
+       <!--     DISTRIBUTION MANAGEMENT -->
+       <distributionManagement>
+               <site>
+                       <id>edit-wp5-taxeditor</id>
+                       <url>
+                               scp://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/site
+                       </url>
+               </site>
+        <repository>
+                       <id>edit-wp5</id>
+                       <name>Edit Maven Repository</name>
+                       <url>
+                               scp://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdmlib/mavenrepo
+                       </url>
+               </repository>
+       </distributionManagement>
+       
+       <!-- **** DEPENDENCIES **** -->
+       <dependencies>
+        <dependency>
+            <groupId>org.unitils</groupId>
+            <artifactId>unitils</artifactId>
+        </dependency>
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>log4j</groupId>
+                       <artifactId>log4j</artifactId>
+               </dependency>
+       </dependencies>
+       
+       <dependencyManagement>
+               <dependencies>
+                       <dependency>
+                               <groupId>eu.etaxonomy</groupId>
+                               <artifactId>taxeditor-store</artifactId>
+                               <version>${project.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>eu.etaxonomy</groupId>
+                               <artifactId>taxeditor-navigation</artifactId>
+                               <version>${project.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>eu.etaxonomy</groupId>
+                               <artifactId>taxeditor-editor</artifactId>
+                               <version>${project.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>eu.etaxonomy</groupId>
+                               <artifactId>taxeditor-application</artifactId>
+                               <version>${project.version}</version>
+                       </dependency>
+               
+                       <!-- ******* VARIOUS ******* -->
+                       <dependency>
+                               <groupId>log4j</groupId>
+                               <artifactId>log4j</artifactId>
+                               <version>1.2.15</version>
+                       </dependency>
+                  <!-- hibernate 3.4 uses slf4j -->
+                       <dependency>
+                          <groupId>org.slf4j</groupId>
+                          <artifactId>slf4j-log4j12</artifactId>
+                          <version>1.5.2</version>
+                  </dependency>
+                       <dependency>
+                               <groupId>junit</groupId>
+                               <artifactId>junit</artifactId>
+                               <version>4.5</version>
+                               <scope>test</scope>
+                       </dependency>
+                       <dependency>
+                         <groupId>org.unitils</groupId>
+                         <artifactId>unitils</artifactId>
+                         <version>2.2</version>
+                         <scope>test</scope>
+                       </dependency>
+                   <dependency>
+                     <groupId>org.dbunit</groupId>
+                     <artifactId>dbunit</artifactId>
+                     <version>2.4.4</version>
+                     <scope>test</scope>
+                   </dependency>
+               </dependencies>
+       </dependencyManagement>
+       
+</project>
\ No newline at end of file