-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overwriting maven-deploy-plugin ID 'default-deploy' otherwise all del…
…iverable will be uploaded twice
- Loading branch information
1 parent
192fb5a
commit cdd7900
Showing
1 changed file
with
6 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
|
@@ -18,26 +17,24 @@ | |
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
|
||
<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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.odftoolkit</groupId> | ||
<artifactId>odftoolkit</artifactId> | ||
<version>0.13.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<parent> | ||
<groupId>org.apache</groupId> | ||
<artifactId>apache</artifactId> | ||
<version>31</version> | ||
<relativePath /> | ||
</parent> | ||
|
||
<properties> | ||
<javadoc.bottom>Copyright © {inceptionYear}–2018 Apache Software Foundation; Copyright © 2018–{currentYear} {organizationName}. All rights reserved.</javadoc.bottom> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<!-- explicitly setting JDK version for compiler source & target --> | ||
<jdk.version>11</jdk.version> <!-- all three JDK versions should not differ --> | ||
<jdk.version>11</jdk.version> | ||
<!-- all three JDK versions should not differ --> | ||
<maven.compiler.source>11</maven.compiler.source> | ||
<maven.compiler.target>11</maven.compiler.target> | ||
<!-- ANT driven release bundle creation: 3 ZIPs for the complete Toolkit for binaries, documentation and sources --> | ||
|
@@ -60,7 +57,6 @@ | |
<maven.javadoc.failOnError>false</maven.javadoc.failOnError> | ||
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss</maven.build.timestamp.format> | ||
</properties> | ||
|
||
<!-- At root project level defining dependencies useable across all projects. | ||
Making version management easy and consistent! --> | ||
<dependencyManagement> | ||
|
@@ -187,15 +183,13 @@ | |
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<modules> | ||
<module>taglets</module> | ||
<module>generator</module> | ||
<module>xslt-runner</module> | ||
<module>odfdom</module> | ||
<module>validator</module> | ||
</modules> | ||
|
||
<name>The ODF Toolkit</name> | ||
<description> | ||
The ODF Toolkit is a set of Java modules that allow | ||
|
@@ -215,17 +209,14 @@ | |
<url>https://github.com/tdf/odftoolkit.git</url> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<issueManagement> | ||
<system>GitHub Issues</system> | ||
<url>https://github.com/tdf/odftoolkit/issues</url> | ||
</issueManagement> | ||
|
||
<ciManagement> | ||
<system>travis</system> | ||
<url>https://travis-ci.community</url> | ||
</ciManagement> | ||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
|
@@ -242,7 +233,6 @@ | |
<url>https://odftoolkit.org/reports/${project.version}/</url> | ||
</site> | ||
</distributionManagement> | ||
|
||
<developers> | ||
<developer> | ||
<id>svanteschubert</id> | ||
|
@@ -280,7 +270,6 @@ | |
<timezone>+1</timezone> | ||
</developer> | ||
</developers> | ||
|
||
<mailingLists> | ||
<mailingList> | ||
<!-- | ||
|
@@ -292,11 +281,10 @@ | |
<subscribe>[email protected]</subscribe> | ||
<unsubscribe>[email protected]</unsubscribe> | ||
<archive>https://listarchives.odftoolkit.org/dev/</archive> | ||
<name>dev.odftoolkit.org</name> <!-- List-Id --> | ||
<name>dev.odftoolkit.org</name> | ||
<!-- List-Id --> | ||
</mailingList> | ||
</mailingLists> | ||
|
||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
|
@@ -416,7 +404,6 @@ | |
<!-- see https://github.com/ec4j/editorconfig-maven-plugin/blob/master/ec4j-lint-api/src/main/java/org/ec4j/maven/lint/api/Constants.java#L37 --> | ||
<!-- See https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties --> | ||
<!-- !!! 'mvn editorconfig:format' fixes format via command line!!! --> | ||
|
||
<!-- You can exclude further files from processing: --> | ||
<!--<exclude>src/main/**/*.whatever</exclude>--> | ||
<exclude>target</exclude> | ||
|
@@ -429,7 +416,8 @@ | |
<version>2.8.2</version> | ||
<executions> | ||
<execution> | ||
<id>maven-deploy</id> | ||
<!-- any other ID will cause the deployment to happen twice --> | ||
<id>default-deploy</id> | ||
<phase>deploy</phase> | ||
<goals> | ||
<goal>deploy</goal> | ||
|
@@ -579,7 +567,6 @@ | |
</plugins> | ||
</build> | ||
</profile> | ||
|
||
<!-- The purpose of the following profile is to make a SonaType Maven release. | ||
PRECONDITION: | ||
1) You need to have a GPG Signature specified: | ||
|
@@ -630,7 +617,6 @@ | |
<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"> | ||
|
@@ -677,12 +663,10 @@ | |
<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}" /> | ||
|
||
<!-- SIGN 3 BUNDLES --> | ||
<checksum algorithm="SHA-512" fileext=".sha"> | ||
<fileset dir="${basedir}/target"> | ||
|
@@ -691,7 +675,6 @@ | |
<include name="*.tar.bz2" /> | ||
</fileset> | ||
</checksum> | ||
|
||
<!-- MOVE THE 3 BUNDLES --> | ||
<move todir="${release.dir.bin}"> | ||
<fileset dir="${basedir}/target"> | ||
|
@@ -708,11 +691,9 @@ | |
<include name="*-src.*" /> | ||
</fileset> | ||
</move> | ||
|
||
<!-- DELETE TEMPORARY DIRECTORIES>--> | ||
<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> | ||
</configuration> | ||
|