Sync from SUSE:ALP:Source:Standard:1.0 xmvn-connector-ivy revision d12a3b84ae3984ff45bad7fc249ba7a7

This commit is contained in:
Adrian Schröter 2023-12-19 16:31:37 +01:00
commit 430f7fce1c
6 changed files with 289 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

13
_service Normal file
View File

@ -0,0 +1,13 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/fedora-java/xmvn-connector-ivy.git</param>
<param name="revision">8da91ea478427a4d241949ab5ca240cc983fde0f</param>
<param name="versionformat">4.0.0~%cd.%h</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

BIN
xmvn-connector-ivy-4.0.0~20220623.8da91ea.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="xmvn-connector-ivy" default="package" basedir=".">
<!-- ====================================================================== -->
<!-- Build environment properties -->
<!-- ====================================================================== -->
<property file="build.properties"/>
<property name="project.version" value="4.0.0-SNAPSHOT"/>
<property name="project.groupId" value="org.fedoraproject.xmvn"/>
<property name="compiler.source" value="1.8"/>
<property name="compiler.target" value="${compiler.source}"/>
<property name="project.artifactId" value="xmvn-connector-ivy"/>
<property name="project.name" value="XMvn Connector for Apache Ivy"/>
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
<property name="build.dir" value="target"/>
<property name="build.outputDir" value="${build.dir}/classes"/>
<property name="build.srcDir" value="src/main/java"/>
<property name="build.resourceDir" value="src/main/resources"/>
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
<!-- ====================================================================== -->
<!-- Defining classpaths -->
<!-- ====================================================================== -->
<path id="build.classpath">
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="build.test.classpath">
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</path>
<!-- ====================================================================== -->
<!-- Cleaning up target -->
<!-- ====================================================================== -->
<target name="clean" description="Clean the output directory">
<delete dir="${build.dir}"/>
</target>
<!-- ====================================================================== -->
<!-- Compilation target -->
<!-- ====================================================================== -->
<target name="compile" description="Compile the code">
<mkdir dir="${build.outputDir}"/>
<javac destdir="${build.outputDir}"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="${compiler.target}"
verbose="false"
fork="false"
source="${compiler.source}">
<src>
<pathelement location="${build.srcDir}"/>
</src>
<classpath refid="build.classpath"/>
</javac>
<mkdir dir="${build.outputDir}/META-INF/maven/${project.groupId}/${project.artifactId}"/>
<propertyfile file="${build.outputDir}/META-INF/maven/${project.groupId}/${project.artifactId}/pom.properties">
<entry key="artifactId" value="${project.artifactId}"/>
<entry key="groupId" value="${project.groupId}"/>
<entry key="version" value="${project.version}"/>
</propertyfile>
<copy file="pom.xml" tofile="${build.outputDir}/META-INF/maven/${project.groupId}/${project.artifactId}/pom.xml"/>
</target>
<!-- ====================================================================== -->
<!-- Javadoc target -->
<!-- ====================================================================== -->
<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${build.srcDir}"
packagenames="*"
destdir="${reporting.outputDirectory}/apidocs"
access="protected"
source="${compiler.source}"
verbose="false"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
charset="ISO-8859-1"
linksource="false"
breakiterator="false"
additionalparam="-notimestamp">
<classpath refid="build.classpath"/>
</javadoc>
</target>
<!-- ====================================================================== -->
<!-- Package target -->
<!-- ====================================================================== -->
<target name="package" depends="compile" description="Package the application">
<jar jarfile="${build.dir}/${build.finalName}.jar"
compress="true"
index="false"
basedir="${build.outputDir}"
excludes="**/package.html"/>
</target>
<!-- ====================================================================== -->
<!-- A dummy target for the package named after the type it creates -->
<!-- ====================================================================== -->
<target name="jar" depends="package" description="Builds the jar for the application"/>
</project>

View File

@ -0,0 +1,42 @@
-------------------------------------------------------------------
Tue Sep 12 12:49:11 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Reproducible: don't include timestamp in javadoc
-------------------------------------------------------------------
Fri May 5 08:41:22 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Upgrade to git checkout from June 2022 with our patch integrated
-------------------------------------------------------------------
Tue May 10 12:50:05 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Upgrade to a git checkout of unreleased upcoming 4.0.0
* Allow building with Java 8
* 'argLine' should not be a global property
* Enable access to non-public elements of java.lang
* Remove dependency on xmvn-parent POM
* Import xmvn-connector-ivy sources from xmvn
- Become a standalone package independent of xmvn sources
-------------------------------------------------------------------
Thu Nov 21 14:24:55 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.1.0
* Remove unused IvyLoggerAdapter
- Removed patches:
* 0001-Fix-installer-plugin-loading.patch
* 0001-Port-to-Gradle-4.2.patch
* 0001-Port-to-Gradle-4.3.1.patch
* 0001-Support-setting-Xdoclint-none-in-m-javadoc-p-3.0.0.patch
* 0001-Fix-configuration-of-aliased-plugins.patch
* 0001-Don-t-use-JAXB-for-converting-bytes-to-hex-string.patch
* 0001-Use-apache-commons-compress-for-manifest-injection-a.patch
* 0001-port-to-gradle-4.4.1.patch
* 0001-Replace-JAXB-parser.patch
+ Integrated in this version
-------------------------------------------------------------------
Wed Mar 27 06:25:55 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Initial packaging of xmvn-connector-ivy 3.0.0

82
xmvn-connector-ivy.spec Normal file
View File

@ -0,0 +1,82 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global parent xmvn
%global subname connector-ivy
Name: %{parent}-%{subname}
Version: 4.0.0~20220623.8da91ea
Release: 0
Summary: XMvn Connector for Apache Ivy
License: Apache-2.0
Group: Development/Tools/Building
URL: https://fedora-java.github.io/xmvn/
Source0: %{name}-%{version}.tar.xz
Source1: %{name}-build.xml
BuildRequires: %{parent}-api >= 4.0.0
BuildRequires: ant
BuildRequires: apache-ivy
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: slf4j
BuildRequires: xmvn-install
BuildRequires: xmvn-resolve
BuildArch: noarch
%description
This package provides XMvn MOJO, which is a Maven plugin that consists
of several MOJOs. Some goals of these MOJOs are intended to be
attached to default Maven lifecycle when building packages, others can
be called directly from Maven command line.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
This package provides %{summary}.
%prep
%setup -q
cp %{SOURCE1} build.xml
%{mvn_file} :%{name} %{parent}/%{name}
%build
mkdir -p lib
build-jar-repository -s lib \
ivy slf4j %{parent}
%{ant} \
-Dtest.skip=true \
package javadoc
%{mvn_artifact} pom.xml target/%{name}-*.jar
%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%license LICENSE NOTICE
%doc AUTHORS README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog