Skip to content

Commit

Permalink
Changed pom.xml to be able to create jar files, execute tests and gen…
Browse files Browse the repository at this point in the history
…erate javadoc.

 - the Java language level was 6 and is 8 now.
 - javadoc uses error suppression but is able to generate (as replacement for the ant script)
 - there are now matching versions of different maven plugins
 - the .gitignore now ignores not only maven files but also testng files and eclipse project files.
  • Loading branch information
ChristianBeilschmidt committed Jan 29, 2016
1 parent f361821 commit e664bf1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .gitignore
@@ -0,0 +1,10 @@
# maven output
/target

# testng output
test-output/*

# eclipse files and directories
.classpath
.project
.settings/*
31 changes: 26 additions & 5 deletions pom.xml
Expand Up @@ -8,13 +8,20 @@
<packaging>jar</packaging> <packaging>jar</packaging>


<name>XXL</name> <name>XXL</name>
<url>http://xxl.googlecode.com</url> <description>The eXtensible and fleXible Library XXL for Java</description>
<url>https://github.com/umr-dbs/xxl</url>
<licenses> <licenses>
<license> <license>
<name>GNU LGPL</name> <name>GNU LGPL</name>
<url>http://www.gnu.org/licenses/lgpl.html</url> <url>http://www.gnu.org/licenses/lgpl.html</url>
</license> </license>
</licenses> </licenses>

<inceptionYear>2000</inceptionYear>
<organization>
<name>Prof. Dr. Bernhard Seeger - Head of the Database Research Group - Department of Mathematics and Computer Science - University of Marburg - Germany</name>
<url>https://dbs.mathematik.uni-marburg.de</url>
</organization>


<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -28,20 +35,34 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version> <version>3.5</version>
<configuration> <configuration>
<source>1.6</source> <source>1.8</source>
<target>1.6</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>

<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8.1</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<author>false</author>
<excludePackageNames>xxl.core.xxql,xxl.core.xxql.*</excludePackageNames>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>


<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.testng</groupId> <groupId>org.testng</groupId>
<artifactId>testng</artifactId> <artifactId>testng</artifactId>
<version>6.1.1</version> <version>6.9.10</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
Expand Down

0 comments on commit e664bf1

Please sign in to comment.