diff -Nru eclipse-3.5.2/debian/changelog eclipse-3.5.2/debian/changelog --- eclipse-3.5.2/debian/changelog 2010-05-09 02:40:27.000000000 +0400 +++ eclipse-3.5.2/debian/changelog 2010-06-24 16:11:24.000000000 +0400 @@ -1,3 +1,12 @@ +eclipse (3.5.2-2ubuntu4.2) maverick; urgency=low + + * Add the Maven POMs to thepackage in debian/poms, + * Add a Build-Depends-Indep dependency on maven-repo-helper and maven-ant-helper + * Use mh_installpom and mh_installjar to install the POM and the jar to the + Maven repository + + -- Yulia Novozhilova Tue, 22 Jun 2010 13:58:01 +0400 + eclipse (3.5.2-2ubuntu4.1) lucid-proposed; urgency=low [ Niels Thykier ] diff -Nru eclipse-3.5.2/debian/control eclipse-3.5.2/debian/control --- eclipse-3.5.2/debian/control 2010-05-09 02:37:32.000000000 +0400 +++ eclipse-3.5.2/debian/control 2010-06-22 14:09:44.000000000 +0400 @@ -42,6 +42,7 @@ unzip, xulrunner-dev (>= 1.9.1.3-2), zip +Build-Depends-Indep: maven-repo-helper (>> 0.5), maven-ant-helper (>> 4) Standards-Version: 3.8.4 DM-Upload-Allowed: yes Vcs-Git: git://git.debian.org/git/pkg-java/eclipse.git diff -Nru eclipse-3.5.2/debian/poms/pom-equinox-osgi.services.xml eclipse-3.5.2/debian/poms/pom-equinox-osgi.services.xml --- eclipse-3.5.2/debian/poms/pom-equinox-osgi.services.xml 1970-01-01 03:00:00.000000000 +0300 +++ eclipse-3.5.2/debian/poms/pom-equinox-osgi.services.xml 2010-06-23 20:13:44.000000000 +0400 @@ -0,0 +1,22 @@ + + + 4.0.0 + org.eclipse.osgi + org.eclipse.osgi.services + 3.2.0 + jar + Equinox OSGi framework + + Eclipse Equinox OSGi framework, which can be used outside Eclipse. + + http://freemarker.org + + http://www.eclipse.org/projects/project_summary.php?projectid=rt.equinox + scm:cvs::pserver:anonymous@dev.eclipse.org:/cvsroot/rt/org.eclipse.equinox + + + + + \ No newline at end of file diff -Nru eclipse-3.5.2/debian/poms/pom-equinox-osgi.util.xml eclipse-3.5.2/debian/poms/pom-equinox-osgi.util.xml --- eclipse-3.5.2/debian/poms/pom-equinox-osgi.util.xml 1970-01-01 03:00:00.000000000 +0300 +++ eclipse-3.5.2/debian/poms/pom-equinox-osgi.util.xml 2010-06-23 20:13:54.000000000 +0400 @@ -0,0 +1,22 @@ + + + 4.0.0 + org.eclipse.osgi + org.eclipse.osgi.util + 3.2.0 + jar + Equinox OSGi framework + + Eclipse Equinox OSGi framework, which can be used outside Eclipse. + + http://eclipse.org + + http://www.eclipse.org/projects/project_summary.php?projectid=rt.equinox + scm:cvs::pserver:anonymous@dev.eclipse.org:/cvsroot/rt/org.eclipse.equinox + + + + + \ No newline at end of file diff -Nru eclipse-3.5.2/debian/poms/pom-equinox-osgi.xml eclipse-3.5.2/debian/poms/pom-equinox-osgi.xml --- eclipse-3.5.2/debian/poms/pom-equinox-osgi.xml 1970-01-01 03:00:00.000000000 +0300 +++ eclipse-3.5.2/debian/poms/pom-equinox-osgi.xml 2010-06-23 20:14:03.000000000 +0400 @@ -0,0 +1,22 @@ + + + 4.0.0 + org.eclipse.osgi + org.eclipse.osgi + 3.5.2 + jar + Equinox OSGi framework + + Eclipse Equinox OSGi framework, which can be used outside Eclipse. + + http://eclipse.org + + http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.osgi/ + scm:cvs::pserver:anonymous@dev.eclipse.org:/cvsroot/rt/org.eclipse.equinox + + + + + \ No newline at end of file diff -Nru eclipse-3.5.2/debian/rules eclipse-3.5.2/debian/rules --- eclipse-3.5.2/debian/rules 2010-05-09 02:36:56.000000000 +0400 +++ eclipse-3.5.2/debian/rules 2010-06-24 13:55:31.000000000 +0400 @@ -106,6 +106,8 @@ elif which xulrunner-$(XULVERSION_STRIP1) > /dev/null 2>&1; then which xulrunner-$(XULVERSION_STRIP1); \ elif which xulrunner-$(XULVERSION_STRIP2) > /dev/null 2>&1; then which xulrunner-$(XULVERSION_STRIP2); fi) +POMS := debian/poms/pom-equinox-osgi.xml debian/poms/pom-equinox-osgi.services.xml debian/poms/pom-equinox-osgi.util.xml + override_dh_install: # Turn all following commands into patches and send them to eclipse-build # Remove some bad arguments that causes eclipse to fail @@ -210,3 +212,10 @@ ln -s $$FILE ; \ ln -s $$FILE `basename $$FILE | sed 's/_.*$$//g'`.jar ; \ done + + # Install poms and jars into Maven repo + for pom in $(POMS); do \ + mh_installpom -v -plibequinox-osgi-java $$pom; \ + SUFFIX=`basename $$pom .xml | sed 's/pom-equinox-//'`; \ + mh_installjar -v -plibequinox-osgi-java $$pom debian/libequinox-osgi-java/usr/share/java/org.eclipse.$$SUFFIX.jar; \ + done