diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a2c4076 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +commons-parent (56-ok1) nile; urgency=medium + + * Build for openKylin. + + -- openKylinBot Tue, 07 May 2024 14:03:31 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0eae743 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: commons-parent +Section: java +Priority: optional +Maintainer: openKylin Developers +Uploaders: + Ludovic Claude , + Emmanuel Bourg +Build-Depends: + debhelper-compat (= 13), + default-jdk, + libapache-pom-java, + maven-repo-helper +Standards-Version: 4.6.2 +Vcs-Git: https://salsa.debian.org/java-team/commons-parent.git +Vcs-Browser: https://salsa.debian.org/java-team/commons-parent +Homepage: https://commons.apache.org + +Package: libcommons-parent-java +Architecture: all +Depends: ${misc:Depends}, libapache-pom-java +Description: Maven metadata for Apache Commons project + This package contains the Maven metadata shared between all components of + the Apache Commons project. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..25ec335 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,15 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Apache Commons Parent POM +Source: http://svn.apache.org/repos/asf/commons/proper/commons-parent/trunk/ + +Files: * +Copyright: 2006-2015, The Apache Software Foundation +License: Apache-2.0 + +Files: debian/* +Copyright: 2010, Ludovic Claude +License: Apache-2.0 + +License: Apache-2.0 + On Debian GNU/Linux system you can find the complete text of the + Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0' diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..d89f79f --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +NOTICE.txt diff --git a/debian/libcommons-parent-java.lintian-overrides b/debian/libcommons-parent-java.lintian-overrides new file mode 100644 index 0000000..59dbdc1 --- /dev/null +++ b/debian/libcommons-parent-java.lintian-overrides @@ -0,0 +1,3 @@ +# The purpose of this -java package is only to provide basis Maven +# coordinates. +javalib-but-no-public-jars diff --git a/debian/libcommons-parent-java.poms b/debian/libcommons-parent-java.poms new file mode 100644 index 0000000..7c4918e --- /dev/null +++ b/debian/libcommons-parent-java.poms @@ -0,0 +1,27 @@ +# List of POM files for the package +# Format of this file is: +# [option]* +# where option can be: +# --ignore: ignore this POM or +# --no-parent: remove the tag from the POM +# --package=: an alternative package to use when installing this POM +# and its artifact +# --has-package-version: to indicate that the original version of the POM is the same as the upstream part +# of the version for the package. +# --keep-elements=: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=: path to the build artifact associated with this POM, +# it will be installed when using the command mh_install +# --java-lib: install the jar into /usr/share/java to comply with Debian +# packaging guidelines +# --usj-name=: name to use when installing the library in /usr/share/java +# --usj-version=: version to use when installing the library in /usr/share/java +# --no-usj-versionless: don't install the versionless link in /usr/share/java +# --dest-jar=: the destination for the real jar +# it will be installed with mh_install. +# --classifier=: Optional, the classifier for the jar. Empty by default. +# --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created +# temporarily for certain artifacts such as Javadoc jars. +# +pom.xml --has-package-version --site-xml=src/site/site.xml --keep-elements=build + diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..76e7f2b --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,45 @@ +# Maven ignore rules - ignore some Maven dependencies and plugins +# Format of this file is: +# [group] [artifact] [type] [version] [classifier] [scope] +# where each element can be either +# - the exact string, for example org.apache for the group, or 3.1 +# for the version. In this case, the element is simply matched +# and left as it is +# - * (the star character, alone). In this case, anything will +# match and be left as it is. For example, using * on the +# position of the artifact field will match any artifact id +# All elements much match before a rule can be applied +# Example rule: match jar with groupid= junit, artifactid= junit +# and version starting with 3., this dependency is then removed +# from the POM +# junit junit jar s/3\\..*/3.x/ + +org.apache.commons commons-build-plugin +org.apache.commons commons-release-plugin +org.apache.maven.plugins maven-antrun-plugin +org.apache.maven.plugins maven-assembly-plugin +org.apache.maven.plugins maven-checkstyle-plugin +org.apache.maven.plugins maven-deploy-plugin +org.apache.maven.plugins maven-enforcer-plugin +org.apache.maven.plugins maven-gpg-plugin +org.apache.maven.plugins maven-install-plugin +org.apache.maven.plugins maven-pmd-plugin +org.apache.maven.plugins maven-project-info-reports-plugin +org.apache.maven.plugins maven-release-plugin +org.apache.maven.plugins maven-remote-resources-plugin +org.apache.maven.plugins maven-scm-publish-plugin +org.apache.maven.plugins maven-site-plugin +org.apache.maven.plugins maven-source-plugin +org.apache.maven.plugins maven-failsafe-plugin +org.apache.rat apache-rat-plugin +org.codehaus.mojo build-helper-maven-plugin +org.codehaus.mojo buildnumber-maven-plugin +org.codehaus.mojo javancss-maven-plugin +org.codehaus.mojo versions-maven-plugin +org.cyclonedx cyclonedx-maven-plugin +com.github.siom79.japicmp japicmp-maven-plugin +com.github.spotbugs spotbugs-maven-plugin +org.jacoco jacoco-maven-plugin +org.spdx spdx-maven-plugin +org.apache.maven.wagon wagon-ssh +org.junit junit-bom diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..bebf071 --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,20 @@ +# Maven rules - transform Maven dependencies and plugins +# Format of this file is: +# [group] [artifact] [type] [version] [classifier] [scope] +# where each element can be either +# - the exact string, for example org.apache for the group, or 3.1 +# for the version. In this case, the element is simply matched +# and left as it is +# - * (the star character, alone). In this case, anything will +# match and be left as it is. For example, using * on the +# position of the artifact field will match any artifact id +# - a regular expression of the form s/match/replace/ +# in this case, elements that match are transformed using +# the regex rule. +# All elements much match before a rule can be applied +# Example rule: match jar with groupid= junit, artifactid= junit +# and version starting with 3., replacing the version with 3.x +# junit junit jar s/3\\..*/3.x/ + +org.apache apache pom s/.*/debian/ * * +org.apache.commons commons-parent pom s/.*/debian/ * * diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9e05862 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with maven_repo_helper diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..7f96882 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +--- +Bug-Database: https://issues.apache.org/jira/browse/COMMONSSITE +Repository: http://gitbox.apache.org/repos/asf/commons-parent.git +Repository-Browse: https://gitbox.apache.org/repos/asf?p=commons-parent.git diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..a4d78f7 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="mode=git" \ +https://github.com/apache/commons-parent refs/tags/(?:rel/)?commons-parent-(\d+)