Skip to content

Commit

Permalink
[maven-release-plugin] prepare release odftoolkit-0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
svanteschubert committed Nov 26, 2021
1 parent f0a39ec commit 9bb4975
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 71 deletions.
6 changes: 3 additions & 3 deletions generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
<parent>
<groupId>org.odftoolkit</groupId>
<artifactId>odftoolkit</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
</parent>

<!-- The Basics -->
<artifactId>schema2template-pom</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<packaging>pom</packaging>

<properties>
Expand Down Expand Up @@ -125,7 +125,7 @@
<connection>scm:git:git://github.com/tdf/odftoolkit.git</connection>
<developerConnection>scm:git:git@github.com:tdf/odftoolkit.git</developerConnection>
<url>https://github.com/tdf/odftoolkit/tree/trunk/generator</url>
<tag>HEAD</tag>
<tag>odftoolkit-0.10.0</tag>
</scm>

<profiles>
Expand Down
4 changes: 2 additions & 2 deletions generator/schema2template-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
<parent>
<groupId>org.odftoolkit</groupId>
<artifactId>schema2template-pom</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
</parent>

<!-- The Basics -->
<name>XML Schema to Template Mapping Tool: Maven2 Plugin</name>
<artifactId>schema2template-maven-plugin</artifactId>
<description>Maven Plugin for XML Schema to Template Mapping Tool</description>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<packaging>maven-plugin</packaging>
<dependencies>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions generator/schema2template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.odftoolkit</groupId>
<artifactId>schema2template-pom</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
</parent>

<!-- The Basics -->
<artifactId>schema2template</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions odfdom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.odftoolkit</groupId>
<artifactId>odftoolkit</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>odfdom-java</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down Expand Up @@ -445,7 +445,7 @@
<connection>scm:git:git://github.com/tdf/odftoolkit.git</connection>
<developerConnection>scm:git:git@github.com:tdf/odftoolkit.git</developerConnection>
<url>https://github.com/tdf/odftoolkit/tree/trunk/odfdom</url>
<tag>HEAD</tag>
<tag>odftoolkit-0.10.0</tag>
</scm>
<profiles>
<profile>
Expand Down
94 changes: 47 additions & 47 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.odftoolkit</groupId>
<artifactId>odftoolkit</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<packaging>pom</packaging>

<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>23</version>
<relativePath/>
<relativePath />
</parent>

<properties>
Expand Down Expand Up @@ -144,7 +144,7 @@
<connection>scm:git:git://github.com/tdf/odftoolkit.git</connection>
<developerConnection>scm:git:git@github.com:tdf/odftoolkit.git</developerConnection>
<url>https://github.com/tdf/odftoolkit.git</url>
<tag>HEAD</tag>
<tag>odftoolkit-0.10.0</tag>
</scm>

<issueManagement>
Expand Down Expand Up @@ -478,94 +478,94 @@
<configuration>
<target>
<!-- MAKE 3 DIRECTORIES -->
<mkdir dir="${release.dir.bin}"/>
<mkdir dir="${release.dir.doc}"/>
<mkdir dir="${release.dir.src}"/>
<mkdir dir="${release.tmpdir.bin}"/>
<mkdir dir="${release.tmpdir.doc}"/>
<mkdir dir="${release.tmpdir.src}"/>
<mkdir dir="${release.dir.bin}" />
<mkdir dir="${release.dir.doc}" />
<mkdir dir="${release.dir.src}" />
<mkdir dir="${release.tmpdir.bin}" />
<mkdir dir="${release.tmpdir.doc}" />
<mkdir dir="${release.tmpdir.src}" />

<!-- COLLECT FILES OF BUNDLES -->
<!-- collect binary artefacts -->
<copy todir="${release.tmpdir.bin}" flatten="true">
<fileset dir="${basedir}">
<include name="*.txt"/>
<include name="KEYS"/>
<include name="NOTICE"/>
<include name="LICENSE"/>
<include name="odfdom/target/*.jar"/>
<include name="simple/target/*.jar"/>
<include name="validator/target/*.war"/>
<include name="validator/target/*.jar"/>
<include name="xslt-runner/target/*.jar"/>
<include name="xslt-runner-task/target/*.jar"/>
<exclude name="**/target/**-javadoc.jar"/>
<exclude name="**/target/**-sources.jar"/>
<include name="*.txt" />
<include name="KEYS" />
<include name="NOTICE" />
<include name="LICENSE" />
<include name="odfdom/target/*.jar" />
<include name="simple/target/*.jar" />
<include name="validator/target/*.war" />
<include name="validator/target/*.jar" />
<include name="xslt-runner/target/*.jar" />
<include name="xslt-runner-task/target/*.jar" />
<exclude name="**/target/**-javadoc.jar" />
<exclude name="**/target/**-sources.jar" />
</fileset>
</copy>
<!-- collect documentation artefacts - without directory hierarchy -->
<copy todir="${release.tmpdir.doc}" flatten="true">
<fileset dir="${basedir}">
<include name="*.txt"/>
<include name="KEYS"/>
<include name="NOTICE"/>
<include name="LICENSE"/>
<include name="**/target/*-javadoc.jar"/>
<include name="*.txt" />
<include name="KEYS" />
<include name="NOTICE" />
<include name="LICENSE" />
<include name="**/target/*-javadoc.jar" />
</fileset>
</copy>
<!-- collect documentation artefacts - keeping directory hierarchy -->
<copy todir="${release.tmpdir.doc}/site">
<fileset dir="${basedir}/docs"/>
<fileset dir="${basedir}/docs" />
</copy>
<!-- collect source code -->
<copy todir="${release.tmpdir.src}">
<fileset dir="${basedir}">
<include name="**"/>
<exclude name="**/target/**"/>
<exclude name="**/.vscode/**"/>
<exclude name="**/.project"/>
<exclude name="**/.classpath"/>
<exclude name="**/.nb-configuration.xml"/>
<exclude name="**/.settings/**"/>
<exclude name="**/.classes/**"/>
<exclude name="**/.idea"/>
<include name="**" />
<exclude name="**/target/**" />
<exclude name="**/.vscode/**" />
<exclude name="**/.project" />
<exclude name="**/.classpath" />
<exclude name="**/.nb-configuration.xml" />
<exclude name="**/.settings/**" />
<exclude name="**/.classes/**" />
<exclude name="**/.idea" />
</fileset>
</copy>

<!-- ZIP FILES to 3 BUNDLES -->
<zip basedir="${release.tmpdir.bin}" destfile="${basedir}/target/${release.zip.bin}"/>
<zip basedir="${release.tmpdir.doc}" destfile="${basedir}/target/${release.zip.doc}"/>
<zip basedir="${release.tmpdir.src}" destfile="${basedir}/target/${release.zip.src}"/>
<zip basedir="${release.tmpdir.bin}" destfile="${basedir}/target/${release.zip.bin}" />
<zip basedir="${release.tmpdir.doc}" destfile="${basedir}/target/${release.zip.doc}" />
<zip basedir="${release.tmpdir.src}" destfile="${basedir}/target/${release.zip.src}" />

<!-- SIGN 3 BUNDLES -->
<checksum algorithm="SHA-512" fileext=".sha">
<fileset dir="${basedir}/target">
<include name="*.zip"/>
<include name="*.tar.gz"/>
<include name="*.tar.bz2"/>
<include name="*.zip" />
<include name="*.tar.gz" />
<include name="*.tar.bz2" />
</fileset>
</checksum>

<!-- MOVE THE 3 BUNDLES -->
<move todir="${release.dir.bin}">
<fileset dir="${basedir}/target">
<include name="*-bin.*"/>
<include name="*-bin.*" />
</fileset>
</move>
<move todir="${release.dir.doc}">
<fileset dir="${basedir}/target">
<include name="*-doc.*"/>
<include name="*-doc.*" />
</fileset>
</move>
<move todir="${release.dir.src}">
<fileset dir="${basedir}/target">
<include name="*-src.*"/>
<include name="*-src.*" />
</fileset>
</move>

<!-- DELETE TEMPORARY DIRECTORIES>-->
<delete quiet="true" dir="${basedir}/target/archive-tmp"/>
<delete quiet="true" dir="${release.tmpdir}"/>
<delete quiet="true" dir="${basedir}/target/archive-tmp" />
<delete quiet="true" dir="${release.tmpdir}" />

<echo>*** The release has been prepared in: ${release.dir} ***</echo>
</target>
Expand Down
6 changes: 3 additions & 3 deletions taglets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<parent>
<groupId>org.odftoolkit</groupId>
<artifactId>odftoolkit</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
</parent>

<artifactId>taglets</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<packaging>jar</packaging>

<properties>
Expand Down Expand Up @@ -130,7 +130,7 @@
<connection>scm:git:git://github.com/tdf/odftoolkit.git</connection>
<developerConnection>scm:git:git@github.com:tdf/odftoolkit.git</developerConnection>
<url>https://github.com/tdf/odftoolkit/tree/trunk/taglets</url>
<tag>HEAD</tag>
<tag>odftoolkit-0.10.0</tag>
</scm>
<profiles>
<profile>
Expand Down
8 changes: 4 additions & 4 deletions validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
<parent>
<groupId>org.odftoolkit</groupId>
<artifactId>odftoolkit</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
</parent>
<artifactId>odfvalidator</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
<packaging>war</packaging>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>odfdom-java</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
Expand Down Expand Up @@ -328,7 +328,7 @@
<connection>scm:git:git://github.com/tdf/odftoolkit.git</connection>
<developerConnection>scm:git:git@github.com:tdf/odftoolkit.git</developerConnection>
<url>https://github.com/tdf/odftoolkit/tree/trunk/validator</url>
<tag>HEAD</tag>
<tag>odftoolkit-0.10.0</tag>
</scm>
<profiles>
<profile>
Expand Down
12 changes: 5 additions & 7 deletions xslt-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
<parent>
<groupId>org.odftoolkit</groupId>
<artifactId>odftoolkit</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
</parent>

<artifactId>xslt-runner</artifactId>
<name>ODF XSLT-Runner</name>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>

<organization>
<name>The Document Foundation</name>
Expand All @@ -53,7 +53,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>odfdom-java</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.0</version>
</dependency>
<dependency>
<!-- a reliable XSLT processor -->
Expand Down Expand Up @@ -188,8 +188,7 @@
<goal>exec</goal>
</goals>
<!-- see https://tdf.github.io/odftoolkit/docs/xsltrunner/ODFXSLTRunner.html
java -jar odfxsltrunner.jar <style sheet>; [-v] [-f <factory>] [-p <path in package&gt;]
[-l log file] [-x <extract path> ...] -o <input package> <output file> [name=value ...] -->
java -jar odfxsltrunner.jar <style sheet>; [-v] [-f <factory>] [-p <path in package&gt;] [-l log file] [-x <extract path> ...] -o <input package> <output file> [name=value ...] -->
<configuration>
<executable>${java.home}/bin/java</executable>
<executableDependency>
Expand Down Expand Up @@ -217,8 +216,7 @@
<goal>exec</goal>
</goals>
<!-- see https://tdf.github.io/odftoolkit/docs/xsltrunner/ODFXSLTRunner.html
java -jar odfxsltrunner.jar <style sheet>; [-v] [-f <factory>] [-p <path in package&gt;]
[-l log file] [-x <extract path> ...] -o <input package> <output file> [name=value ...] -->
java -jar odfxsltrunner.jar <style sheet>; [-v] [-f <factory>] [-p <path in package&gt;] [-l log file] [-x <extract path> ...] -o <input package> <output file> [name=value ...] -->
<configuration>
<executable>${java.home}/bin/java</executable>
<executableDependency>
Expand Down

0 comments on commit 9bb4975

Please sign in to comment.