[ca-certificates-java] 34/58: Mavenized the project
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed May 31 13:13:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository ca-certificates-java.
commit 23b9327a8f9114f7f4a78650cfec697dfc7f5336
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Mon Mar 24 10:31:35 2014 +0000
Mavenized the project
---
debian/changelog | 1 +
debian/rules | 4 +--
pom.xml | 33 ++++++++++++++++++++++
.../main/java/org/debian/security/Exceptions.java | 2 ++
.../org/debian/security/UpdateCertificates.java | 2 ++
.../debian/security/UpdateCertificatesTest.java | 2 ++
6 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index deafef4..36586ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ ca-certificates-java (20130816) UNRELEASED; urgency=medium
certificate from the ca-certificates package (Closes: #741755)
* Limit the memory used by java to 64M when updating the certificates
(Closes: 576453)
+ * Mavenized the project
* d/control: Standards-Version updated to 3.9.5 (no changes)
* Switch to debhelper level 9
diff --git a/debian/rules b/debian/rules
index 632b9c6..fe4453b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ endif
JAVA_HOME := /usr/lib/jvm/default-java
export JAVA_HOME
-OPTS := --no-javadoc --main=UpdateCertificates --javacopts="-source 1.6 -target 1.6"
+OPTS := --no-javadoc --main=org.debian.security.UpdateCertificates --javacopts="-source 1.6 -target 1.6"
CLASSPATH := /usr/share/java/junit4.jar
export CLASSPATH
@@ -33,7 +33,7 @@ build-stamp:
ifeq ($(do_junit),yes)
$(JAVA_HOME)/bin/java -cp /usr/share/java/junit4.jar:./ca-certificates-java.jar \
org.junit.runner.JUnitCore \
- UpdateCertificatesTest
+ org.debian.security.UpdateCertificatesTest
endif
touch $@
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..46c98ce
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,33 @@
+<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>org.debian</groupId>
+ <artifactId>ca-certificates-java</artifactId>
+ <version>20130815</version>
+ <packaging>jar</packaging>
+ <name>ca-certificates-java</name>
+ <description>Common CA certificates</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.11</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/Exceptions.java b/src/main/java/org/debian/security/Exceptions.java
similarity index 98%
rename from Exceptions.java
rename to src/main/java/org/debian/security/Exceptions.java
index 582db56..32a71ae 100644
--- a/Exceptions.java
+++ b/src/main/java/org/debian/security/Exceptions.java
@@ -17,6 +17,8 @@
*
*/
+package org.debian.security;
+
/**
* Custom exceptions used by {@link UpdateCertificates}
*
diff --git a/UpdateCertificates.java b/src/main/java/org/debian/security/UpdateCertificates.java
similarity index 99%
rename from UpdateCertificates.java
rename to src/main/java/org/debian/security/UpdateCertificates.java
index cb37447..18ba3dc 100644
--- a/UpdateCertificates.java
+++ b/src/main/java/org/debian/security/UpdateCertificates.java
@@ -18,6 +18,8 @@
*
*/
+package org.debian.security;
+
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
diff --git a/UpdateCertificatesTest.java b/src/test/java/org/debian/security/UpdateCertificatesTest.java
similarity index 99%
rename from UpdateCertificatesTest.java
rename to src/test/java/org/debian/security/UpdateCertificatesTest.java
index f0f683a..ddee418 100644
--- a/UpdateCertificatesTest.java
+++ b/src/test/java/org/debian/security/UpdateCertificatesTest.java
@@ -17,6 +17,8 @@
*
*/
+package org.debian.security;
+
import java.io.File;
import java.io.IOException;
import java.security.GeneralSecurityException;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ca-certificates-java.git
More information about the pkg-java-commits
mailing list