Skip to content
Commits on Source (6)
sudo: false
language: java
before_script:
- echo "MAVEN_OPTS='-Xmx512m -Dgpg.skip=true'" > ~/.mavenrc
- if [[ "x$JDK" == *'x9'* ]]; then remove_dir_from_path $JAVA_HOME/bin; export JAVA_HOME=/usr/lib/jvm/java-9-oracle; export PATH=$JAVA_HOME/bin:$PATH; java -Xmx32m -version; fi
cache:
directories:
- '$HOME/.m2/repository'
before_cache:
# No sense in caching current build artifacts
rm -rf $HOME/.m2/repository/cglib
before_script:
- wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
- unzip -qq apache-maven-3.2.5-bin.zip
- export M2_HOME="$PWD/apache-maven-3.2.5"
- export PATH="$M2_HOME/bin:$PATH"
- echo "MAVEN_OPTS='-Xmx512m -Dgpg.skip=true'" > ~/.mavenrc
- if [[ "x$JDK" == *'x9'* ]]; then remove_dir_from_path $JAVA_HOME/bin; export JAVA_HOME=/usr/lib/jvm/java-9-oracle; export PATH=$JAVA_HOME/bin:$PATH; java -Xmx32m -version; fi
# Skip default "mvn install" issued by Travis
install: true
script:
- mvn test -B -V
- mvn -Dgpg.skip=true -B -V test
matrix:
include:
- jdk: openjdk8
env: JDK8
- jdk: openjdk9
env: JDK=9
- jdk: oraclejdk11
env: JDK=11
fast_finish: true
allow_failures:
- env: JDK=9
include:
- jdk: oraclejdk8
- jdk: oraclejdk8
addons:
apt:
packages:
- oracle-java9-installer
env: JDK=9
- jdk: openjdk7
- env: JDK=11
branches:
only:
- master
......@@ -9,7 +9,7 @@
<parent>
<groupId>cglib</groupId>
<artifactId>cglib-parent</artifactId>
<version>3.2.10</version>
<version>3.2.12</version>
</parent>
<!-- ====================================================================== -->
......
......@@ -7,7 +7,7 @@
<parent>
<artifactId>cglib-parent</artifactId>
<groupId>cglib</groupId>
<version>3.2.10</version>
<version>3.2.12</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -9,7 +9,7 @@
<parent>
<groupId>cglib</groupId>
<artifactId>cglib-parent</artifactId>
<version>3.2.10</version>
<version>3.2.12</version>
</parent>
<!-- ====================================================================== -->
......@@ -23,6 +23,17 @@
<!-- ====================================================================== -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>net.sf.cglib</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>jarjar-maven-plugin</artifactId>
......
......@@ -9,7 +9,7 @@
<parent>
<groupId>cglib</groupId>
<artifactId>cglib-parent</artifactId>
<version>3.2.10</version>
<version>3.2.12</version>
</parent>
<!-- ====================================================================== -->
......
......@@ -9,7 +9,7 @@
<parent>
<groupId>cglib</groupId>
<artifactId>cglib-parent</artifactId>
<version>3.2.10</version>
<version>3.2.12</version>
</parent>
<!-- ====================================================================== -->
......@@ -64,6 +64,7 @@
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<optional>true</optional>
</dependency>
<dependency>
......
......@@ -849,10 +849,10 @@ public class CodeEmitter extends LocalVariablesSorter {
Signature sig = method.getSignature();
if (sig.getName().equals(Constants.CONSTRUCTOR_NAME)) {
invoke_constructor(type, sig);
} else if (TypeUtils.isInterface(classInfo.getModifiers())) {
invoke_interface(type, sig);
} else if (TypeUtils.isStatic(method.getModifiers())) {
invoke_static(type, sig);
} else if (TypeUtils.isInterface(classInfo.getModifiers())) {
invoke_interface(type, sig);
} else {
invoke_virtual(virtualType, sig);
}
......
cglib (3.2.12-1) unstable; urgency=medium
* Team upload.
* New upstream release
- Refreshed the patches
* Standards-Version updated to 4.4.0
-- Emmanuel Bourg <ebourg@apache.org> Mon, 15 Jul 2019 10:19:37 +0200
cglib (3.2.10-1) unstable; urgency=medium
* Team upload.
......
......@@ -12,7 +12,7 @@ Build-Depends:
libjarjar-maven-plugin-java,
libmaven-javadoc-plugin-java,
maven-debian-helper (>= 2.0.4)
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/java-team/cglib.git
Vcs-Browser: https://salsa.debian.org/java-team/cglib
Homepage: http://cglib.sourceforge.net
......
......@@ -4,7 +4,7 @@ Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/cglib-nodep/pom.xml
+++ b/cglib-nodep/pom.xml
@@ -89,6 +89,7 @@
@@ -100,6 +100,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cglib</artifactId>
......
From: Markus Koschany <apo@debian.org>
Date: Tue, 2 Oct 2018 20:27:22 +0200
Subject: 04-optional-ant-dependency
Really make the Ant dependency optional
Bug-Upstream: https://github.com/cglib/cglib/pull/87
Bug-Debian: https://bugs.debian.org/830204
---
cglib/pom.xml | 1 +
pom.xml | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/cglib/pom.xml b/cglib/pom.xml
index 632138d..76fabaf 100644
--- a/cglib/pom.xml
+++ b/cglib/pom.xml
@@ -64,6 +64,7 @@
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
+ <optional>true</optional>
</dependency>
<dependency>
diff --git a/pom.xml b/pom.xml
index 3a03f26..d68f3d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -232,7 +232,6 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>${ant.version}</version>
- <optional>true</optional>
</dependency>
<dependency>
03-cglib-version.patch
04-optional-ant-dependency.patch
......@@ -14,7 +14,7 @@
<!-- ====================================================================== -->
<groupId>cglib</groupId>
<artifactId>cglib-parent</artifactId>
<version>3.2.10</version>
<version>3.2.12</version>
<packaging>pom</packaging>
<name>Code Generation Library</name>
......@@ -54,7 +54,7 @@
<java.version.source>1.5</java.version.source>
<java.version.target>1.5</java.version.target>
<asm.version>7.0</asm.version>
<asm.version>7.1</asm.version>
<ant.version>1.10.3</ant.version>
<jmh.version>1.21</jmh.version>
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
......@@ -232,7 +232,6 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>${ant.version}</version>
<optional>true</optional>
</dependency>
<dependency>
......