Merge lp:~james-page/ubuntu/oneiric/ecj/maven-artifacts into lp:ubuntu/oneiric/ecj

Proposed by James Page
Status: Merged
Merged at revision: 40
Proposed branch: lp:~james-page/ubuntu/oneiric/ecj/maven-artifacts
Merge into: lp:ubuntu/oneiric/ecj
Diff against target: 127 lines (+65/-4)
6 files modified
debian/changelog (+13/-0)
debian/control (+3/-1)
debian/libecj-java.install (+0/-1)
debian/libecj-java.poms (+1/-0)
debian/poms/ecj.pom (+37/-0)
debian/rules (+11/-2)
To merge this branch: bzr merge lp:~james-page/ubuntu/oneiric/ecj/maven-artifacts
Reviewer Review Type Date Requested Status
Matthias Klose Needs Information
Ubuntu branches Pending
Review via email: mp+75128@code.launchpad.net

Description of the change

Enable maven artifact deployment to fix FTBFS issues with tomcat-maven-plugin

Required due to changes in tomcat6 dependencies.

To post a comment you must log in.
Revision history for this message
Matthias Klose (doko) wrote :

can the maven-repo-helper b-d moved to build-depends-indep? I'd like to avoid it for bootstraps and new ports.

review: Needs Information
Revision history for this message
James Page (james-page) wrote :

Matthias - that should work - I'll update the branch

42. By James Page

debian/control: added maven-repo-helper to Build-Depends-Indep

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-07-13 22:13:12 +0000
3+++ debian/changelog 2011-09-14 14:26:36 +0000
4@@ -1,3 +1,16 @@
5+ecj (3.5.1-2.1ubuntu1) oneiric; urgency=low
6+
7+ * Add maven artifact deployment to resolve FTBFS for
8+ tomcat-maven-plugin (LP: #835769):
9+ - debian/control: added maven-repo-helper to Build-Depends-Indep
10+ - debian/rules: install maven artifacts, added get-orig-poms target
11+ to retrieve original pom files
12+ - debian/libecj-java.poms: POM file locator.
13+ - debian/poms/ecj.pom: Upstream POM file from Maven repo1.
14+ - debian/libecj-java.install: removed - install handled by m-r-h.
15+
16+ -- James Page <james.page@ubuntu.com> Mon, 12 Sep 2011 22:47:00 +0100
17+
18 ecj (3.5.1-2.1) unstable; urgency=low
19
20 * Non-maintainer upload.
21
22=== modified file 'debian/control'
23--- debian/control 2011-07-13 22:13:12 +0000
24+++ debian/control 2011-09-14 14:26:36 +0000
25@@ -1,13 +1,15 @@
26 Source: ecj
27 Section: java
28 Priority: optional
29-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
30+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
31+XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
32 Uploaders: Jerry Haltom <wasabi@larvalstage.net>, Michael Koch <konqueror@gmx.de>, Matthias Klose <doko@debian.org>
33 Build-Depends: cdbs (>= 0.4.90ubuntu9), debhelper (>= 5),
34 gcj-jdk,
35 libgcj-bc (>= 4.4.6),
36 libecj-java (>= 3.3.0+0728) [arm], unzip [arm],
37 fastjar, ant, zip, dpkg (>= 1.13.19), python, time
38+Build-Depends-Indep: maven-repo-helper
39 Build-Conflicts: ecj-bootstrap-gcj (<< 3.2.2)
40 Standards-Version: 3.9.2
41
42
43=== removed file 'debian/libecj-java.install'
44--- debian/libecj-java.install 2007-07-07 02:13:27 +0000
45+++ debian/libecj-java.install 1970-01-01 00:00:00 +0000
46@@ -1,1 +0,0 @@
47-debian/tmp/usr/share/java/eclipse-ecj.jar
48
49=== added file 'debian/libecj-java.poms'
50--- debian/libecj-java.poms 1970-01-01 00:00:00 +0000
51+++ debian/libecj-java.poms 2011-09-14 14:26:36 +0000
52@@ -0,0 +1,1 @@
53+debian/poms/ecj.pom
54
55=== added directory 'debian/poms'
56=== added file 'debian/poms/ecj.pom'
57--- debian/poms/ecj.pom 1970-01-01 00:00:00 +0000
58+++ debian/poms/ecj.pom 2011-09-14 14:26:36 +0000
59@@ -0,0 +1,37 @@
60+<?xml version="1.0" encoding="UTF-8"?>
61+<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">
62+
63+<!-- originally downloaded here:
64+http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/index.php#JDTCORE
65+the md5 were copied from there:
66+http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/checksum/ecj-3.5.1.jar.md5
67+http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/checksum/ecjsrc-3.5.1.zip.md5
68+the sha1 checksums were missing.
69+
70+re-packaged the sources with buildr4osgi see bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=291391
71+
72+ -->
73+
74+ <modelVersion>4.0.0</modelVersion>
75+ <groupId>org.eclipse.jdt.core.compiler</groupId>
76+ <artifactId>ecj</artifactId>
77+ <version>3.5.1</version>
78+ <packaging>jar</packaging>
79+
80+ <name>Eclipse ECJ</name>
81+ <url>http://www.eclipse.org/jdt/</url>
82+
83+ <licenses>
84+ <license>
85+ <name>Eclipse Public License v1.0</name>
86+ <url>http://www.eclipse.org/org/documents/epl-v10.php</url>
87+ <distribution>repo</distribution>
88+ </license>
89+ </licenses>
90+
91+ <scm>
92+ <url>http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/</url>
93+ </scm>
94+
95+
96+</project>
97
98=== modified file 'debian/rules'
99--- debian/rules 2011-06-08 19:25:06 +0000
100+++ debian/rules 2011-09-14 14:26:36 +0000
101@@ -168,8 +168,9 @@
102
103
104 install/libecj-java::
105- mkdir -p debian/tmp/usr/share/java
106- install -m 644 build/dist/$(JAR) debian/tmp/usr/share/java/
107+ mh_installpoms -plibecj-java
108+ mh_installjar -plibecj-java -l debian/poms/ecj.pom build/dist/$(JAR) \
109+ --usj-name=eclipse-ecj
110
111 install/ecj::
112 mkdir -p debian/tmp/usr/bin
113@@ -224,6 +225,14 @@
114 RR=../cvs/R3_5_1/
115 tag = R3_5_1
116
117+MAVEN_REPO := http://repo1.maven.org/maven2
118+PACKAGE := ecj
119+
120+get-orig-pom:
121+ mkdir -p debian/poms
122+ wget -U NoSuchBrowser/1.0 -O debian/poms/$(PACKAGE).pom \
123+ $(MAVEN_REPO)/org/eclipse/jdt/core/compiler/$(PACKAGE)/$(DEB_UPSTREAM_VERSION)/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).pom
124+
125 get-source:
126 rm -rf org.eclipse.jdt.core
127 # @echo Press enter for the password

Subscribers

People subscribed via source and target branches

to all changes: