Commit c48d6975 authored by rwm's avatar rwm

Restructured maven project with submodules

parent d15d7dd5
.settings/
.classpath
.project
target/ target/
.settings/
.classpath
.project
target/
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.sekmi.histream</groupId>
<artifactId>histream-core</artifactId>
<version>0.2-alpha</version>
<parent>
<groupId>de.sekmi.histream</groupId>
<artifactId>histream</artifactId>
<version>0.2-alpha</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>de.sekmi.histream.impl.RunConfiguration</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<!-- Configures the used assembly descriptor -->
<descriptors>
<descriptor>src/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.4-1201-jdbc41</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
<artifactId>histream</artifactId> <artifactId>histream</artifactId>
<version>0.2-alpha</version> <version>0.2-alpha</version>
<packaging>pom</packaging>
<inceptionYear>2013</inceptionYear> <inceptionYear>2013</inceptionYear>
<organization> <organization>
<name>R.W.Majeed</name> <name>R.W.Majeed</name>
...@@ -13,6 +15,7 @@ ...@@ -13,6 +15,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties> </properties>
<licenses> <licenses>
<license> <license>
<name>Apache License, Version 2.0</name> <name>Apache License, Version 2.0</name>
...@@ -21,72 +24,62 @@ ...@@ -21,72 +24,62 @@
<comments>A business-friendly OSS license</comments> <comments>A business-friendly OSS license</comments>
</license> </license>
</licenses> </licenses>
<modules>
<module>histream-core</module>
</modules>
<build> <build>
<plugins> <pluginManagement>
<plugin> <plugins>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>3.3</version> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <version>3.3</version>
<source>1.8</source> <configuration>
<target>1.8</target> <source>1.8</source>
</configuration> <target>1.8</target>
</plugin> </configuration>
<plugin> </plugin>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>2.6</version> <artifactId>maven-jar-plugin</artifactId>
<configuration> <version>2.6</version>
<archive> </plugin>
<manifest> <plugin>
<addClasspath>true</addClasspath> <groupId>org.apache.maven.plugins</groupId>
<classpathPrefix>lib/</classpathPrefix> <artifactId>maven-resources-plugin</artifactId>
<mainClass>de.sekmi.histream.impl.RunConfiguration</mainClass> <version>2.6</version>
</manifest> <configuration>
</archive> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>maven-resources-plugin</artifactId> <artifactId>license-maven-plugin</artifactId>
<version>2.6</version> <version>1.8</version>
<configuration> <executions>
<encoding>UTF-8</encoding> <execution>
</configuration> <id>first</id>
</plugin> <goals>
<plugin> <goal>update-file-header</goal>
<groupId>org.codehaus.mojo</groupId> </goals>
<artifactId>license-maven-plugin</artifactId> <phase>process-sources</phase>
<version>1.8</version> <configuration>
<executions> <licenseName>apache_v2</licenseName>
<execution> <roots>
<id>first</id> <root>src/main/java</root>
<goals> <root>src/test</root>
<goal>update-file-header</goal> </roots>
</goals> </configuration>
<phase>process-sources</phase> </execution>
<configuration> </executions>
<licenseName>apache_v2</licenseName> </plugin>
<roots> <plugin>
<root>src/main/java</root> <groupId>org.apache.maven.plugins</groupId>
<root>src/test</root> <artifactId>maven-assembly-plugin</artifactId>
</roots> <version>2.5.4</version>
</configuration> </plugin>
</execution> </plugins>
</executions> </pluginManagement>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.4</version>
<configuration>
<!-- Configures the used assembly descriptor -->
<descriptors>
<descriptor>src/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</build> </build>
<reporting> <reporting>
<plugins> <plugins>
...@@ -104,11 +97,5 @@ ...@@ -104,11 +97,5 @@
<version>4.11</version> <version>4.11</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.4-1201-jdbc41</version>
<scope>runtime</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment