Projekt in ein eigenes GIT-Repository ohne Parent-Modul separiert
[percentcodec] / pom.xml
diff --git a/pom.xml b/pom.xml
index 4903566..9956078 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -5,19 +5,18 @@
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>de.juplo</groupId>
-  <artifactId>juplo</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <name>Juplo</name>
-  <packaging>pom</packaging>
-  <url>http://www.juplo.de</url>
+  <artifactId>juplo-percentcodec</artifactId>
+  <name>Juplo - Percent-Codec</name>
+  <version>1.0.1</version>
+  <url>http://www.juplo.de/percentcodec</url>
 
   <prerequisites>
     <maven>2.0.6</maven>
   </prerequisites>
 
   <scm>
-    <connection>scm:git:http://juplo.de/git</connection>
-    <developerConnection>scm:git:ssh://ich-geh-kaputt.de:/home/kai/git/juplo</developerConnection>
+    <connection>scm:git:http://juplo.de/git/percentcodec</connection>
+    <developerConnection>scm:git:ssh://ich-geh-kaputt.de:/home/kai/git/juplo/percentcodec</developerConnection>
     <url>http://juplo.de/git</url>
   </scm>
 
     </developer>
   </developers>
 
-  <modules>
-    <module>testingtools</module>
-    <module>percentcodec</module>
-    <module>maven-plugins</module>
-    <module>accelerator</module>
-    <module>accelerator-examples</module>
-  </modules>
-
   <properties>
     <!-- Zeichensatz -->
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <!-- Verwendete Versionen -->
+    <junit.version>4.8.1</junit.version>
+    <log4j.version>1.2.16</log4j.version>
+    <slf4j.version>1.6.1</slf4j.version>
   </properties>
 
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>${junit.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>${slf4j.version}</version>
+      <exclusions>
+        <exclusion>
+          <groupId>log4j</groupId>
+          <artifactId>log4j</artifactId>
+        </exclusion>
+      </exclusions>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>${log4j.version}</version>
+      <exclusions>
+        <exclusion>
+          <groupId>javax.mail</groupId>
+          <artifactId>mail</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.jms</groupId>
+          <artifactId>jms</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.sun.jdmk</groupId>
+          <artifactId>jmxtools</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.sun.jmx</groupId>
+          <artifactId>jmxri</artifactId>
+        </exclusion>
+      </exclusions>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
   <distributionManagement>
     <repository>
       <id>juplo.internal</id>
     </snapshotRepository>
   </distributionManagement>
 
-  <reporting>
+  <build>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+          <encoding>utf8</encoding>
+          <showWarnings>true</showWarnings>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>install</id>
+            <phase>install</phase>
+            <goals>
+              <goal>sources</goal>
+            </goals>
+          </execution>
+        </executions>
+      </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-scm-plugin</artifactId>
           <goals>install</goals>
         </configuration>
       </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
       <plugin>
         <artifactId>maven-changes-plugin</artifactId>
       </plugin>
       <plugin>
         <artifactId>maven-checkstyle-plugin</artifactId>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <version>2.0</version>
+      </plugin>
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <artifactId>maven-jxr-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <artifactId>maven-pmd-plugin</artifactId>
+        <configuration>
+          <linkXref>true</linkXref>
+          <targetJdk>1.5</targetJdk>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+        <version>2.7.2</version>
+      </plugin>
     </plugins>
   </reporting>