[modello] 24/32: * New version
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jul 9 10:49:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch modello-1.1
in repository modello.
commit a8d0e8a1388d8ad8c890afda2b4f86e3949c44d7
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Mon Jul 6 21:41:14 2009 +0000
* New version
---
debian/build.properties | 6 ++-
debian/build.xml | 98 +++++++++++++++++----------------------------
debian/changelog | 21 ++++++++++
debian/control | 25 +++++-------
debian/libmodello-java.poms | 12 ++++++
debian/maven.rules | 2 +
debian/orig-tar.sh | 7 +++-
debian/rules | 33 +++++++--------
8 files changed, 106 insertions(+), 98 deletions(-)
diff --git a/debian/build.properties b/debian/build.properties
index e15ae31..735ab37 100644
--- a/debian/build.properties
+++ b/debian/build.properties
@@ -1,9 +1,11 @@
classpath.compile=\
/usr/share/java/plexus-container-default.jar:\
+ /usr/share/java/plexus-compiler-api.jar:\
+ /usr/share/java/plexus-compiler-javac.jar:\
/usr/share/java/plexus-utils.jar:\
- ${basedir}/modello-db-keywords/build/modello-db-keywords-${version}.jar:\
${basedir}/modello-core/build/modello-core-${version}.jar:\
- ${basedir}/modello-plugins/modello-plugin-store/build/modello-plugin-store-${version}.jar:\
+ ${basedir}/modello-plugins/modello-plugin-java/build/modello-plugin-java-${version}.jar:\
${basedir}/modello-plugins/modello-plugin-xml/build/modello-plugin-xml-${version}.jar
classpath.test=
javadoc.dir=build/api
+maven.test.skip=true
diff --git a/debian/build.xml b/debian/build.xml
index c6c6588..1f4c11e 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -1,93 +1,67 @@
<?xml version="1.0"?>
-
+
<project name="pkg-java" default="package" basedir="..">
-
+
<property file="debian/build.properties"/>
- <property name="maven.test.skip" value="true"/>
+ <property name="maven.build" value="/usr/share/maven-ant-helper/maven-build.xml"/>
<property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
-
+
<macrodef name="cleanmodule">
- <attribute name="dir"/>
+ <attribute name="dir"/>
<sequential>
- <ant target="clean"
- antfile="/usr/share/maven-ant-helper/maven-build.xml" dir="@{dir}"/>
+ <ant target="clean" antfile="${maven.build}" dir="@{dir}">
+ <property name="debian.dir" location="debian" />
+ <property name="project.dir" value="@{dir}" />
+ </ant>
</sequential>
</macrodef>
<macrodef name="packagemodule">
- <attribute name="dir"/>
- <attribute name="artifactId"/>
+ <attribute name="dir"/>
<sequential>
- <ant target="package"
- antfile="/usr/share/maven-ant-helper/maven-build.xml" dir="@{dir}">
- <property name="artifactId" value="@{artifactId}"/>
+ <ant target="package" antfile="${maven.build}" dir="@{dir}">
+ <property name="debian.dir" location="debian" />
+ <property name="project.dir" value="@{dir}" />
</ant>
</sequential>
</macrodef>
<target name="clean">
<delete dir="build"/>
- <cleanmodule dir="modello-test"/>
- <cleanmodule dir="modello-core"/>
- <cleanmodule dir="modello-db-keywords"/>
- <cleanmodule dir="modello-maven-plugin"/>
- <cleanmodule dir="modello-plugins/modello-plugin-converters"/>
- <cleanmodule dir="modello-plugins/modello-plugin-dom4j"/>
- <cleanmodule dir="modello-plugins/modello-plugin-jdom"/>
- <cleanmodule dir="modello-plugins/modello-plugin-jpox"/>
- <cleanmodule dir="modello-plugins/modello-plugin-plexus-registry"/>
- <cleanmodule dir="modello-plugins/modello-plugin-stax"/>
- <cleanmodule dir="modello-plugins/modello-plugin-store"/>
- <cleanmodule dir="modello-plugins/modello-plugin-xdoc"/>
- <cleanmodule dir="modello-plugins/modello-plugin-xml"/>
- <cleanmodule dir="modello-plugins/modello-plugin-xpp3"/>
- <cleanmodule dir="modello-plugins/modello-plugin-xsd"/>
+ <cleanmodule dir="modello-core"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-java"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-converters"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-dom4j"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-jdom"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-stax"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-xdoc"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-xml"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-xpp3"/>
+ <cleanmodule dir="modello-plugins/modello-plugin-xsd"/>
</target>
<target name="package">
- <packagemodule dir="modello-test" artifactId="modello-test"/>
- <packagemodule dir="modello-core" artifactId="modello-core"/>
- <packagemodule dir="modello-db-keywords"
- artifactId="modello-db-keywords"/>
- <packagemodule dir="modello-maven-plugin"
- artifactId="modello-maven-plugin"/>
- <packagemodule dir="modello-plugins/modello-plugin-converters"
- artifactId="modello-plugin-converters"/>
- <packagemodule dir="modello-plugins/modello-plugin-xml"
- artifactId="modello-plugin-xml"/>
- <packagemodule dir="modello-plugins/modello-plugin-dom4j"
- artifactId="modello-plugin-dom4j"/>
- <packagemodule dir="modello-plugins/modello-plugin-jdom"
- artifactId="modello-plugin-jdom"/>
- <packagemodule dir="modello-plugins/modello-plugin-store"
- artifactId="modello-plugin-store"/>
- <packagemodule dir="modello-plugins/modello-plugin-jpox"
- artifactId="modello-plugin-jpox"/>
- <packagemodule dir="modello-plugins/modello-plugin-plexus-registry"
- artifactId="modello-plugin-plexus-registry"/>
- <packagemodule dir="modello-plugins/modello-plugin-stax"
- artifactId="modello-plugin-stax"/>
- <packagemodule dir="modello-plugins/modello-plugin-xdoc"
- artifactId="modello-plugin-xdoc"/>
- <packagemodule dir="modello-plugins/modello-plugin-xpp3"
- artifactId="modello-plugin-xpp3"/>
- <packagemodule dir="modello-plugins/modello-plugin-xsd"
- artifactId="modello-plugin-xsd"/>
+ <packagemodule dir=""/>
+ <packagemodule dir="modello-core"/>
+ <packagemodule dir="modello-plugins/modello-plugin-java"/>
+ <packagemodule dir="modello-plugins/modello-plugin-converters"/>
+ <packagemodule dir="modello-plugins/modello-plugin-xml"/>
+ <packagemodule dir="modello-plugins/modello-plugin-dom4j"/>
+ <packagemodule dir="modello-plugins/modello-plugin-jdom"/>
+ <packagemodule dir="modello-plugins/modello-plugin-stax"/>
+ <packagemodule dir="modello-plugins/modello-plugin-xdoc"/>
+ <packagemodule dir="modello-plugins/modello-plugin-xpp3"/>
+ <packagemodule dir="modello-plugins/modello-plugin-xsd"/>
</target>
<target name="javadoc">
<javadoc destdir="${javadoc.dir}">
- <packageset dir="modello-test/src/main/java/"/>
- <packageset dir="modello-core/src/main/java/"/>
- <packageset dir="modello-db-keywords/src/main/java/"/>
- <packageset dir="modello-maven-plugin/src/main/java/"/>
+ <packageset dir="modello-core/src/main/java/"/>
+ <packageset dir="modello-plugins/modello-plugin-java/src/main/java/"/>
<packageset dir="modello-plugins/modello-plugin-converters/src/main/java/"/>
<packageset dir="modello-plugins/modello-plugin-dom4j/src/main/java/"/>
<packageset dir="modello-plugins/modello-plugin-jdom/src/main/java/"/>
- <packageset dir="modello-plugins/modello-plugin-jpox/src/main/java/"/>
- <packageset dir="modello-plugins/modello-plugin-plexus-registry/src/main/java/"/>
<packageset dir="modello-plugins/modello-plugin-stax/src/main/java/"/>
- <packageset dir="modello-plugins/modello-plugin-store/src/main/java/"/>
<packageset dir="modello-plugins/modello-plugin-xdoc/src/main/java/"/>
<packageset dir="modello-plugins/modello-plugin-xml/src/main/java/"/>
<packageset dir="modello-plugins/modello-plugin-xpp3/src/main/java/"/>
diff --git a/debian/changelog b/debian/changelog
index 256af5a..df2a15d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,24 @@
+modello (1.0.1-2) unstable; urgency=low
+
+ * New upstream release.
+ * Add myself to Uploaders.
+ * Add descriptors for the Maven repository
+ * Remove modello-maven-plugin from this package as it was missing some
+ essential Maven descriptors, move it in a separate package
+ (modello-maven-plugin), remove modello-test from the build as well.
+ * Add Depends: for libmodello-java and libplexus-build-api-java
+ * Add a Build-Depends-Indep dependency on maven-repo-helper and
+ libplexus-build-api-java
+ * Remove the dependency on maven2, as it was needed only for the modello
+ plugin, replace it by a Recommends:
+ * Use mh_installpom and mh_installjar to install the POM and the jar to the
+ Maven repository
+ * debian/rules: add java plugin, remove jpox,plexus-registry,store plugins,
+ remove base module db-keywords
+ * update build.properties and build.xml for the new version
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Mon, 06 Jul 2009 22:37:50 +0100
+
modello (1.0-alpha-21-3) unstable; urgency=low
* Change debian/rules to really use default-jdk.
diff --git a/debian/control b/debian/control
index 678992f..ff8c0fa 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,13 @@ Source: modello
Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Paul Cager <paul-debian at home.paulcager.org>, Torsten Werner <twerner at debian.org>
-Build-Depends-Indep: ant-optional, classpath-doc, default-jdk, junit,
+Uploaders: Paul Cager <paul-debian at home.paulcager.org>, Torsten Werner <twerner at debian.org>,
+ Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional,
+ classpath-doc, junit, libplexus-containers-java-doc, libplexus-utils-java-doc,
libplexus-compiler-api-java, libplexus-compiler-javac-java,
- libplexus-container-default-java, libplexus-container-default-java-doc,
- libplexus-utils-java, libplexus-utils-java-doc, libplexus-velocity-java,
- maven-ant-helper, maven2, velocity
-Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+ libplexus-build-api-java, libplexus-containers-java
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk
Standards-Version: 3.8.2
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/modello
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/modello/
@@ -16,8 +16,9 @@ Homepage: http://modello.codehaus.org
Package: libmodello-java
Architecture: all
-Depends: ${misc:Depends}
-Suggests: libmodello-java-doc
+Depends: ${misc:Depends}, libplexus-build-api-java, libplexus-containers-java
+Recommends: libmaven2-core-java
+Suggests: maven2, libmodello-java-doc
Description: a Data Model toolkit in use by the Maven 2 Project
Once a DataModel is defined, the toolkit can be used to generate any of the
following at compile time.
@@ -27,10 +28,6 @@ Description: a Data Model toolkit in use by the Maven 2 Project
* XML to Java Pojos Reader. (provided via xpp3, stax or dom4j)
* XDOC documentation of the DataModel.
* XML Schema to validate the DataModel.
- * Java Model to Prevayler Store (actually this plugin is in the
- sandbox).
- * Java Model to JPOX Store.
- * Java Model to JPOX Mapping.
.
Modello is used to build the maven system.
@@ -48,10 +45,6 @@ Description: a Data Model toolkit in use by the Maven 2 Project
* XML to Java Pojos Reader. (provided via xpp3, stax or dom4j)
* XDOC documentation of the DataModel.
* XML Schema to validate the DataModel.
- * Java Model to Prevayler Store (actually this plugin is in the
- sandbox).
- * Java Model to JPOX Store.
- * Java Model to JPOX Mapping.
.
Modello is used to build the maven system.
.
diff --git a/debian/libmodello-java.poms b/debian/libmodello-java.poms
new file mode 100644
index 0000000..86f1754
--- /dev/null
+++ b/debian/libmodello-java.poms
@@ -0,0 +1,12 @@
+pom.xml --no-parent
+modello-core/pom.xml
+modello-plugins/pom.xml
+modello-plugins/modello-plugin-converters/pom.xml
+modello-plugins/modello-plugin-dom4j/pom.xml
+modello-plugins/modello-plugin-java/pom.xml
+modello-plugins/modello-plugin-jdom/pom.xml
+modello-plugins/modello-plugin-stax/pom.xml
+modello-plugins/modello-plugin-xdoc/pom.xml
+modello-plugins/modello-plugin-xml/pom.xml
+modello-plugins/modello-plugin-xpp3/pom.xml
+modello-plugins/modello-plugin-xsd/pom.xml
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..8486979
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+junit junit jar s/3\..*/3.x/
+
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 1fb86c7..558d242 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,10 +1,13 @@
#!/bin/sh -e
-TAR=../modello_$2.orig.tar.gz
-DIR=modello-$2
+VERSION=$2
+TAR=../modello_$VERSION.orig.tar.gz
+DIR=modello-$VERSION
TAG=modello-$2
svn export https://svn.codehaus.org/modello/tags/$TAG $DIR
+rm -rf $DIR/modello-maven-plugin
+rm -rf $DIR/modello-test
tar -c -z -f $TAR $DIR
rm -rf $DIR ../$TAG
diff --git a/debian/rules b/debian/rules
index 3ba8220..8798d58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,33 +2,34 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
-PACKAGE := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
-VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed "s,Version: \(.*\)-.*,\1,g")
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/default-java
-DEB_JARS := ant-nodeps junit maven2 plexus-compiler-api \
- plexus-compiler-javac plexus-velocity velocity
+DEB_JARS := ant-nodeps junit plexus-build-api plexus-compiler-api \
+ plexus-compiler-javac plexus-velocity plexus-utils velocity
DEB_ANT_BUILD_TARGET := package javadoc
-DEB_ANT_BUILDFILE := ./debian/build.xml
+DEB_ANT_BUILDFILE := debian/build.xml
DEB_ANT_ARGS := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
API_DOCS := build/api
-BASE_MODULES := core db-keywords maven-plugin test
-PLUGINS := converters dom4j jdom jpox plexus-registry stax store xdoc \
+BASE_MODULES := core
+PLUGINS := converters dom4j java jdom stax xdoc \
xml xpp3 xsd
get-orig-source:
- uscan --force-download
+ uscan --force-download --download-version $(VERSION) --rename
binary-post-install/lib$(PACKAGE)-java::
- for MODULE in $(BASE_MODULES); do \
- dh_install -plib$(PACKAGE)-java modello-$$MODULE/build/$(PACKAGE)-$$MODULE-$(VERSION).jar usr/share/java; \
- dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-$$MODULE-$(VERSION).jar usr/share/java/$(PACKAGE)-$$MODULE.jar; \
+ mh_installpoms -plib$(PACKAGE)-java
+ set -e; for MODULE in $(BASE_MODULES); do \
+ mh_installjar -plib$(PACKAGE)-java -l modello-$$MODULE/pom.xml modello-$$MODULE/build/$(PACKAGE)-$$MODULE-$(VERSION).jar; \
done
- for MODULE in $(PLUGINS); do \
- dh_install -plib$(PACKAGE)-java modello-plugins/modello-plugin-$$MODULE/build/$(PACKAGE)-plugin-$$MODULE-$(VERSION).jar usr/share/java; \
- dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-plugin-$$MODULE-$(VERSION).jar usr/share/java/$(PACKAGE)-plugin-$$MODULE.jar; \
+ set -e; for MODULE in $(PLUGINS); do \
+ mh_installjar -plib$(PACKAGE)-java -l modello-plugins/modello-plugin-$$MODULE/pom.xml modello-plugins/modello-plugin-$$MODULE/build/$(PACKAGE)-plugin-$$MODULE-$(VERSION).jar; \
done
binary-post-install/lib$(PACKAGE)-java-doc::
- dh_install -plib$(PACKAGE)-java-doc build/api usr/share/doc/lib$(PACKAGE)-java
+ dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java
+
+clean::
+ -rm -rf debian/tmp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/modello.git
More information about the pkg-java-commits
mailing list