From bc1da2d47d3de0ea1ec70a8c5ec53b8faa0dda3e Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 15 Oct 2020 14:06:52 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/xmvn#515a8a5737ed2174d24a4065bfff104c14220016 --- .gitignore | 48 + ...d-metadata-when-duplicates-are-found.patch | 59 ++ ...honor-settings-for-ignoring-duplicat.patch | 81 ++ ...neration-for-self-depending-packages.patch | 115 +++ 0004-Honour-source-parameter.patch | 37 + build.bash | 59 ++ fedora-rawhide-x86_64.cfg | 37 + sources | 1 + xmvn.spec | 884 ++++++++++++++++++ 9 files changed, 1321 insertions(+) create mode 100644 0001-Prefer-namespaced-metadata-when-duplicates-are-found.patch create mode 100644 0002-Make-xmvn-subst-honor-settings-for-ignoring-duplicat.patch create mode 100644 0003-Fix-requires-generation-for-self-depending-packages.patch create mode 100644 0004-Honour-source-parameter.patch create mode 100644 build.bash create mode 100644 fedora-rawhide-x86_64.cfg create mode 100644 sources create mode 100644 xmvn.spec diff --git a/.gitignore b/.gitignore index e69de29..fd97208 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,48 @@ +/results_* +/*.src.rpm + +/xmvn-0.tar.xz +/xmvn-0.0.1.tar.xz +/xmvn-0.0.2.tar.xz +/xmvn-0.1.0.tar.xz +/xmvn-0.1.1.tar.xz +/xmvn-0.1.2.tar.xz +/xmvn-0.1.3.tar.xz +/xmvn-0.1.4.tar.xz +/xmvn-0.1.5.tar.xz +/xmvn-0.2.0.tar.xz +/xmvn-0.2.1.tar.xz +/xmvn-0.2.2.tar.xz +/xmvn-0.2.3.tar.xz +/xmvn-0.2.4.tar.xz +/xmvn-0.2.5.tar.xz +/xmvn-0.2.6.tar.xz +/xmvn-0.3.0.tar.xz +/xmvn-0.3.1.tar.xz +/xmvn-snapshot.tar.xz +/xmvn-0.4.0.tar.xz +/xmvn-0.4.1.tar.xz +/xmvn-0.4.2.tar.xz +/xmvn-0.5.0.tar.xz +/xmvn-0.5.1.tar.xz +/xmvn-1.0.0.tar.xz +/xmvn-1.0.1.tar.xz +/xmvn-1.0.2.tar.xz +/xmvn-1.1.0.tar.xz +/xmvn-1.2.0.tar.xz +/xmvn-1.3.0.tar.xz +/xmvn-1.4.0.tar.xz +/xmvn-1.5.0-SNAPSHOT.tar.xz +/xmvn-2.0.0.tar.xz +/xmvn-2.0.1.tar.xz +/xmvn-2.1.0.tar.xz +/xmvn-2.1.1.tar.xz +/xmvn-2.2.0.tar.xz +/xmvn-2.2.1.tar.xz +/xmvn-2.3.0.tar.xz +/xmvn-2.3.1.tar.xz +/xmvn-2.3.2.tar.xz +/xmvn-2.4.0.tar.xz +/xmvn-2.5.0.tar.xz +/xmvn-3.0.0.tar.xz +/xmvn-3.1.0.tar.xz diff --git a/0001-Prefer-namespaced-metadata-when-duplicates-are-found.patch b/0001-Prefer-namespaced-metadata-when-duplicates-are-found.patch new file mode 100644 index 0000000..de58426 --- /dev/null +++ b/0001-Prefer-namespaced-metadata-when-duplicates-are-found.patch @@ -0,0 +1,59 @@ +From 1474fd57e606bdb00417524a7b648f7841b014c8 Mon Sep 17 00:00:00 2001 +From: Mikolaj Izdebski +Date: Fri, 28 Jun 2019 12:15:23 +0200 +Subject: [PATCH 1/3] Prefer namespaced metadata when duplicates are found + +--- + .../metadata/impl/DefaultMetadataResult.java | 33 +++++++++++-------- + 1 file changed, 19 insertions(+), 14 deletions(-) + +diff --git a/xmvn-core/src/main/java/org/fedoraproject/xmvn/metadata/impl/DefaultMetadataResult.java b/xmvn-core/src/main/java/org/fedoraproject/xmvn/metadata/impl/DefaultMetadataResult.java +index c8b63214..67bafef5 100644 +--- a/xmvn-core/src/main/java/org/fedoraproject/xmvn/metadata/impl/DefaultMetadataResult.java ++++ b/xmvn-core/src/main/java/org/fedoraproject/xmvn/metadata/impl/DefaultMetadataResult.java +@@ -94,23 +94,28 @@ class DefaultMetadataResult + } + + ArtifactMetadata otherMetadata = artifactMap.get( artifact ); +- if ( otherMetadata != null ) ++ ++ if ( otherMetadata == null ) ++ { ++ artifactMap.put( artifact, metadata ); ++ continue; ++ } ++ ++ duplicateArtifacts.add( artifact ); ++ ++ if ( ignoreDuplicates ) + { +- duplicateArtifacts.add( artifact ); +- +- if ( ignoreDuplicates ) +- { +- artifactMap.remove( artifact ); +- logger.warn( "Ignoring metadata for artifact {} as it has duplicate metadata", artifact ); +- continue; +- } +- else +- { +- logger.warn( "Duplicate metadata for artifact {}", artifact ); +- } ++ artifactMap.remove( artifact ); ++ logger.warn( "Ignoring metadata for artifact {} as it has duplicate metadata", artifact ); ++ continue; + } + +- artifactMap.put( artifact, metadata ); ++ logger.warn( "Duplicate metadata for artifact {}", artifact ); ++ ++ if ( otherMetadata.getNamespace().isEmpty() || !metadata.getNamespace().isEmpty() ) ++ { ++ artifactMap.put( artifact, metadata ); ++ } + } + } + +-- +2.21.0 + diff --git a/0002-Make-xmvn-subst-honor-settings-for-ignoring-duplicat.patch b/0002-Make-xmvn-subst-honor-settings-for-ignoring-duplicat.patch new file mode 100644 index 0000000..ee57d31 --- /dev/null +++ b/0002-Make-xmvn-subst-honor-settings-for-ignoring-duplicat.patch @@ -0,0 +1,81 @@ +From 4957492864d6a88a814bfd6f21798b52a4e70515 Mon Sep 17 00:00:00 2001 +From: Mikolaj Izdebski +Date: Sat, 29 Jun 2019 14:00:13 +0200 +Subject: [PATCH 2/3] Make xmvn-subst honor settings for ignoring duplicate + metadata + +--- + .../xmvn/tools/subst/SubstCli.java | 25 +++++++++++++------ + 1 file changed, 17 insertions(+), 8 deletions(-) + +diff --git a/xmvn-tools/xmvn-subst/src/main/java/org/fedoraproject/xmvn/tools/subst/SubstCli.java b/xmvn-tools/xmvn-subst/src/main/java/org/fedoraproject/xmvn/tools/subst/SubstCli.java +index 423b5e61..30b1ac63 100644 +--- a/xmvn-tools/xmvn-subst/src/main/java/org/fedoraproject/xmvn/tools/subst/SubstCli.java ++++ b/xmvn-tools/xmvn-subst/src/main/java/org/fedoraproject/xmvn/tools/subst/SubstCli.java +@@ -23,6 +23,7 @@ import java.util.ArrayList; + import java.util.List; + + import org.fedoraproject.xmvn.config.Configurator; ++import org.fedoraproject.xmvn.config.ResolverSettings; + import org.fedoraproject.xmvn.locator.ServiceLocator; + import org.fedoraproject.xmvn.locator.ServiceLocatorFactory; + import org.fedoraproject.xmvn.metadata.MetadataRequest; +@@ -34,26 +35,34 @@ import org.fedoraproject.xmvn.metadata.MetadataResult; + */ + public class SubstCli + { +- private final List configuredMetadataRepos; +- + private MetadataResolver metadataResolver; + ++ private ResolverSettings resolverSettings; ++ + public SubstCli( Configurator configurator, MetadataResolver metadataResolver ) + { + this.metadataResolver = metadataResolver; +- configuredMetadataRepos = configurator.getConfiguration().getResolverSettings().getMetadataRepositories(); ++ resolverSettings = configurator.getConfiguration().getResolverSettings(); ++ } ++ ++ private MetadataResult resolveMetadata( List repos ) ++ { ++ MetadataRequest request = new MetadataRequest( repos ); ++ request.setIgnoreDuplicates( resolverSettings.isIgnoreDuplicateMetadata() ); ++ MetadataResult result = metadataResolver.resolveMetadata( request ); ++ return result; + } + + private void run( SubstCliRequest cliRequest ) + { +- List metadataResolvers = new ArrayList<>(); ++ List metadataResults = new ArrayList<>(); + + if ( cliRequest.getRoot() != null ) + { + List metadataRepos = new ArrayList<>(); + Path root = Paths.get( cliRequest.getRoot() ); + +- for ( String configuredRepo : configuredMetadataRepos ) ++ for ( String configuredRepo : resolverSettings.getMetadataRepositories() ) + { + Path repoPath = Paths.get( configuredRepo ); + if ( repoPath.isAbsolute() ) +@@ -62,12 +71,12 @@ public class SubstCli + } + } + +- metadataResolvers.add( metadataResolver.resolveMetadata( new MetadataRequest( metadataRepos ) ) ); ++ metadataResults.add( resolveMetadata( metadataRepos ) ); + } + +- metadataResolvers.add( metadataResolver.resolveMetadata( new MetadataRequest( configuredMetadataRepos ) ) ); ++ metadataResults.add( resolveMetadata( resolverSettings.getMetadataRepositories() ) ); + +- ArtifactVisitor visitor = new ArtifactVisitor( cliRequest.isDebug(), metadataResolvers ); ++ ArtifactVisitor visitor = new ArtifactVisitor( cliRequest.isDebug(), metadataResults ); + + visitor.setTypes( cliRequest.getTypes() ); + visitor.setFollowSymlinks( cliRequest.isFollowSymlinks() ); +-- +2.21.0 + diff --git a/0003-Fix-requires-generation-for-self-depending-packages.patch b/0003-Fix-requires-generation-for-self-depending-packages.patch new file mode 100644 index 0000000..d722c09 --- /dev/null +++ b/0003-Fix-requires-generation-for-self-depending-packages.patch @@ -0,0 +1,115 @@ +From a07c7079d6e7ed3f799454a827836b3ca3033e45 Mon Sep 17 00:00:00 2001 +From: Mikolaj Izdebski +Date: Mon, 1 Jul 2019 12:22:04 +0200 +Subject: [PATCH 3/3] Fix requires generation for self-depending packages + +--- + .../tools/install/impl/DefaultInstaller.java | 5 ++++ + .../tools/install/impl/InstallerTest.java | 9 +++++++ + .../test/resources/self-requires-resolved.xml | 25 +++++++++++++++++++ + .../src/test/resources/self-requires.xml | 24 ++++++++++++++++++ + 4 files changed, 63 insertions(+) + create mode 100644 xmvn-tools/xmvn-install/src/test/resources/self-requires-resolved.xml + create mode 100644 xmvn-tools/xmvn-install/src/test/resources/self-requires.xml + +diff --git a/xmvn-tools/xmvn-install/src/main/java/org/fedoraproject/xmvn/tools/install/impl/DefaultInstaller.java b/xmvn-tools/xmvn-install/src/main/java/org/fedoraproject/xmvn/tools/install/impl/DefaultInstaller.java +index e051e823..671d79d3 100644 +--- a/xmvn-tools/xmvn-install/src/main/java/org/fedoraproject/xmvn/tools/install/impl/DefaultInstaller.java ++++ b/xmvn-tools/xmvn-install/src/main/java/org/fedoraproject/xmvn/tools/install/impl/DefaultInstaller.java +@@ -275,6 +275,11 @@ public class DefaultInstaller + dependency.setNamespace( resolvedMetadata.getNamespace() ); + return; + } ++ } ++ ++ for ( String version : Arrays.asList( dependency.getRequestedVersion(), Artifact.DEFAULT_VERSION ) ) ++ { ++ Artifact dependencyArtifact = dependency.toArtifact().setVersion( version ); + + // Next try system artifact resolver + ResolutionRequest request = new ResolutionRequest( dependencyArtifact ); +diff --git a/xmvn-tools/xmvn-install/src/test/java/org/fedoraproject/xmvn/tools/install/impl/InstallerTest.java b/xmvn-tools/xmvn-install/src/test/java/org/fedoraproject/xmvn/tools/install/impl/InstallerTest.java +index 48db907d..ccbbf63d 100644 +--- a/xmvn-tools/xmvn-install/src/test/java/org/fedoraproject/xmvn/tools/install/impl/InstallerTest.java ++++ b/xmvn-tools/xmvn-install/src/test/java/org/fedoraproject/xmvn/tools/install/impl/InstallerTest.java +@@ -204,6 +204,15 @@ public class InstallerTest + installRoot.resolve( "usr/share/maven-metadata/test-pkg.xml" ) ); + } + ++ @Test ++ public void testSelfRequires() ++ throws Exception ++ { ++ install( "self-requires.xml" ); ++ assertMetadataEqual( getResource( "self-requires-resolved.xml" ), ++ installRoot.resolve( "usr/share/maven-metadata/test-pkg.xml" ) ); ++ } ++ + @Test + public void testSubpackage() + throws Exception +diff --git a/xmvn-tools/xmvn-install/src/test/resources/self-requires-resolved.xml b/xmvn-tools/xmvn-install/src/test/resources/self-requires-resolved.xml +new file mode 100644 +index 00000000..59e8ad61 +--- /dev/null ++++ b/xmvn-tools/xmvn-install/src/test/resources/self-requires-resolved.xml +@@ -0,0 +1,25 @@ ++ ++ ++ bfb4d47f-4bf2-49bc-bd85-1d3528e97746 ++ ++ ++ org.apache.maven.wagon ++ wagon-provider-api ++ 3.3.2 ++ ???example.jar ++ ++ ++ org.apache.maven.wagon ++ wagon-file ++ 3.3.2 ++ ???example.jar ++ ++ ++ org.apache.maven.wagon ++ wagon-provider-api ++ 3.3.2 ++ ++ ++ ++ ++ +diff --git a/xmvn-tools/xmvn-install/src/test/resources/self-requires.xml b/xmvn-tools/xmvn-install/src/test/resources/self-requires.xml +new file mode 100644 +index 00000000..16a78328 +--- /dev/null ++++ b/xmvn-tools/xmvn-install/src/test/resources/self-requires.xml +@@ -0,0 +1,24 @@ ++ ++ ++ ++ ++ org.apache.maven.wagon ++ wagon-provider-api ++ 3.3.2 ++ src/test/resources/example.jar ++ ++ ++ org.apache.maven.wagon ++ wagon-file ++ 3.3.2 ++ src/test/resources/example.jar ++ ++ ++ org.apache.maven.wagon ++ wagon-provider-api ++ 3.3.2 ++ ++ ++ ++ ++ +\ No newline at end of file +-- +2.21.0 + diff --git a/0004-Honour-source-parameter.patch b/0004-Honour-source-parameter.patch new file mode 100644 index 0000000..2639357 --- /dev/null +++ b/0004-Honour-source-parameter.patch @@ -0,0 +1,37 @@ +From cc643c14f5f6d3c623e9d1afe48265be236db97a Mon Sep 17 00:00:00 2001 +From: Mat Booth +Date: Thu, 9 Jul 2020 17:52:47 +0100 +Subject: [PATCH 4/4] Honour source parameter + +--- + .../main/java/org/fedoraproject/xmvn/mojo/JavadocMojo.java | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/xmvn-mojo/src/main/java/org/fedoraproject/xmvn/mojo/JavadocMojo.java b/xmvn-mojo/src/main/java/org/fedoraproject/xmvn/mojo/JavadocMojo.java +index 3d6ef5e..ea18b2a 100644 +--- a/xmvn-mojo/src/main/java/org/fedoraproject/xmvn/mojo/JavadocMojo.java ++++ b/xmvn-mojo/src/main/java/org/fedoraproject/xmvn/mojo/JavadocMojo.java +@@ -84,6 +84,9 @@ public class JavadocMojo + @Parameter( defaultValue = "${project.build.directory}", required = true ) + private File buildDirectory; + ++ @Parameter( property = "source" ) ++ private String source; ++ + private static String quoted( Object obj ) + { + String arg = obj.toString(); +@@ -226,6 +229,10 @@ public class JavadocMojo + opts.add( quoted( docencoding ) ); + opts.add( "-doctitle" ); + opts.add( quoted( "Javadoc for package XXX" ) ); ++ if ( source != null ) { ++ opts.add( "-source" ); ++ opts.add( quoted( source ) ); ++ } + + for ( Path file : files ) + opts.add( quoted( file ) ); +-- +2.26.2 + diff --git a/build.bash b/build.bash new file mode 100644 index 0000000..ddff670 --- /dev/null +++ b/build.bash @@ -0,0 +1,59 @@ +#!/bin/bash -ex + +resultdir="/var/lib/mock/xmvn-rawhide/result" + +# create directories +repo=RPM/latest/ +[[ ! -d ${repo} ]] && mkdir -p ${repo} + +# update version and release tag in spec file +version=$(sed -n '//{s/.*>\(.*\)<.*/\1/;s/-SNAPSHOT$//;p;q}' pom.xml) +release=$(git describe --match="[^(jenkins)].*" --tags | sed 's/[^-]*-/0./;s/-/./;s/g/git/') +sed -i "s/^Version:\s\+[0-9.]*$/Version: ${version}/" xmvn.spec +sed -i "s/^Release:\s\+[0-9.]*%{?dist}$/Release: ${release}/" xmvn.spec + +# Skip patch application on Jenkins - it is supposed to always use the +# latest vanilla upstream snapshot. +sed -i "/^Patch[0-9]*:/d" xmvn.spec +sed -i "/^%patch[0-9]* -p/d" xmvn.spec + +# make tarball +git archive -v --prefix=xmvn-${version}/ HEAD | xz > xmvn-${version}.tar.xz + +# crate srpm +rm -f SRPMS/* +rpmbuild -bs --clean --define "_topdir `pwd`" --define "_sourcedir `pwd`" xmvn.spec + +# build RPM with custom mock config +rm -Rf ${resultdir}/* +# print root.log and build.log in case of failure +trap "cat ${resultdir}/{root,build}.log || :" 0 +mock -r ../..$PWD/fedora-rawhide-x86_64 SRPMS/*.src.rpm + +# remove unneeded stuff +rm -f xmvn-*.tar.xz + +last_bn=`grep "Build number" ${repo}/info.log | awk '{ print $3 }'` +if [ -n "${last_bn}" ]; then + mkdir -p RPM/${last_bn} + mv ${repo}/* RPM/${last_bn} + + # we only want keep RPMs from last 10 builds + blist=`find ./RPM/ -maxdepth 1 -name "[0-9]*"` + for bn in $blist; do + if [ `basename $bn` -lt `expr $last_bn - 10` ]; then + rm -Rf $bn + fi + done +fi + +# copy resulting RPMs to RPM/latest +cp ${resultdir}/* ${repo} + +tail -n 50 ${resultdir}/build.log + +createrepo ${repo} + +# store current build number into the file +echo "Build number: $BUILD_NUMBER" >> ${repo}/info.log + diff --git a/fedora-rawhide-x86_64.cfg b/fedora-rawhide-x86_64.cfg new file mode 100644 index 0000000..f8d9e71 --- /dev/null +++ b/fedora-rawhide-x86_64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'xmvn-rawhide' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) +config_opts['chroot_setup_cmd'] = 'install @buildsys-build' +config_opts['dist'] = 'rawhide' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '21' + +config_opts['yum.conf'] = """ +[main] +logfile=/var/log/yum.log +retries=20 +gpgcheck=0 +assumeyes=1 +syslog_ident=mock +syslog_device= +metadata_expire=1 +mirrorlist_expire=1 +debuglevel=2 + +[mock-rawhide] +name=mock-rawhide +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64 +failovermethod=priority +cost=1000 + +[mock-koji] +name=mock-koji +baseurl=http://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/ +cost=2000 + +[mock-override] +name=mock-override +baseurl=http://people.redhat.com/~mizdebsk/jenkins-extra-repo/ +gpgcheck=0 +cost=500 +""" diff --git a/sources b/sources new file mode 100644 index 0000000..b8c592c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xmvn-3.1.0.tar.xz) = 3351f00c81039cc2f856ac59562bcd6f6bcef44b86e9e1b31eec9828ee1ade227b36ef29e2a4981193e7c69e8cea07b7f9616b678ac150dfaccc688e465f7478 diff --git a/xmvn.spec b/xmvn.spec new file mode 100644 index 0000000..a72bda9 --- /dev/null +++ b/xmvn.spec @@ -0,0 +1,884 @@ +# XMvn uses OSGi environment provided by Tycho, it shouldn't require +# any additional bundles. +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^osgi\\($ + +# Integration tests are disabled by default, but you can run them by +# adding "--with its" to rpmbuild or mock invocation. +%bcond_with its + +%bcond_with gradle + +Name: xmvn +Version: 3.1.0 +Release: 7%{?dist} +Summary: Local Extensions for Apache Maven +License: ASL 2.0 + +URL: https://fedora-java.github.io/xmvn/ +Source0: https://github.com/fedora-java/xmvn/releases/download/%{version}/xmvn-%{version}.tar.xz + +# Upstream bug-fix patch: +# https://github.com/fedora-java/xmvn/commit/a4d655c +Patch1: 0001-Prefer-namespaced-metadata-when-duplicates-are-found.patch +# Upstream bug-fix patch: +# https://github.com/fedora-java/xmvn/commit/ccde1f4 +Patch2: 0002-Make-xmvn-subst-honor-settings-for-ignoring-duplicat.patch +# Downstream bug-fix patch from modular branch: +Patch3: 0003-Fix-requires-generation-for-self-depending-packages.patch +# Submitted upstream: https://github.com/fedora-java/xmvn/pull/57 +Patch4: 0004-Honour-source-parameter.patch + +BuildArch: noarch + +BuildRequires: maven >= 3.6.1 +BuildRequires: maven-local +BuildRequires: apache-commons-compress +BuildRequires: beust-jcommander +BuildRequires: cglib +BuildRequires: maven-dependency-plugin +BuildRequires: maven-plugin-build-helper +BuildRequires: maven-assembly-plugin +BuildRequires: maven-install-plugin +BuildRequires: maven-plugin-plugin +BuildRequires: objectweb-asm +BuildRequires: modello +BuildRequires: xmlunit-assertj +BuildRequires: apache-ivy +BuildRequires: junit +BuildRequires: easymock +BuildRequires: maven-invoker +BuildRequires: plexus-containers-container-default +BuildRequires: plexus-containers-component-annotations +BuildRequires: plexus-containers-component-metadata +%if %{with gradle} +BuildRequires: gradle >= 4.4.1 +%endif + +Requires: %{name}-minimal = %{version}-%{release} +Requires: maven >= 3.6.1 + +%description +This package provides extensions for Apache Maven that can be used to +manage system artifact repository and use it to resolve Maven +artifacts in offline mode, as well as Maven plugins to help with +creating RPM packages containing Maven artifacts. + +%package minimal +Summary: Dependency-reduced version of XMvn +Requires: maven-lib >= 3.6.1 +Requires: %{name}-api = %{version}-%{release} +Requires: %{name}-connector-aether = %{version}-%{release} +Requires: %{name}-core = %{version}-%{release} +Requires: apache-commons-cli +Requires: apache-commons-lang3 +Requires: atinject +Requires: google-guice +Requires: guava +Requires: maven-lib +Requires: maven-resolver-api +Requires: maven-resolver-impl +Requires: maven-resolver-spi +Requires: maven-resolver-util +Requires: maven-wagon-provider-api +Requires: plexus-cipher +Requires: plexus-classworlds +Requires: plexus-containers-component-annotations +Requires: plexus-interpolation +Requires: plexus-sec-dispatcher +Requires: plexus-utils +Requires: sisu-inject +Requires: sisu-plexus +Requires: slf4j + +%description minimal +This package provides minimal version of XMvn, incapable of using +remote repositories. + +%package parent-pom +Summary: XMvn Parent POM + +%description parent-pom +This package provides XMvn parent POM. + +%package api +Summary: XMvn API + +%description api +This package provides XMvn API module which contains public interface +for functionality implemented by XMvn Core. + +%package core +Summary: XMvn Core + +%description core +This package provides XMvn Core module, which implements the essential +functionality of XMvn such as resolution of artifacts from system +repository. + +%package connector-aether +Summary: XMvn Connector for Maven Resolver + +%description connector-aether +This package provides XMvn Connector for Maven Resolver, which +provides integration of Maven Resolver with XMvn. It provides an +adapter which allows XMvn resolver to be used as Maven workspace +reader. + +%if %{with gradle} +%package connector-gradle +Summary: XMvn Connector for Gradle + +%description connector-gradle +This package provides XMvn Connector for Gradle, which provides +integration of Gradle with XMvn. It provides an adapter which allows +XMvn resolver to be used as Gradle resolver. +%endif + +%package connector-ivy +Summary: XMvn Connector for Apache Ivy + +%description connector-ivy +This package provides XMvn Connector for Apache Ivy, which provides +integration of Apache Ivy with XMvn. It provides an adapter which +allows XMvn resolver to be used as Ivy resolver. + +%package mojo +Summary: XMvn MOJO + +%description mojo +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 tools-pom +Summary: XMvn Tools POM + +%description tools-pom +This package provides XMvn Tools parent POM. + +%package resolve +Summary: XMvn Resolver +# Explicit javapackages-tools requires since scripts use +# /usr/share/java-utils/java-functions +Requires: javapackages-tools + +%description resolve +This package provides XMvn Resolver, which is a very simple +commald-line tool to resolve Maven artifacts from system repositories. +Basically it's just an interface to artifact resolution mechanism +implemented by XMvn Core. The primary intended use case of XMvn +Resolver is debugging local artifact repositories. + +%package bisect +Summary: XMvn Bisect +# Explicit javapackages-tools requires since scripts use +# /usr/share/java-utils/java-functions +Requires: javapackages-tools + +%description bisect +This package provides XMvn Bisect, which is a debugging tool that can +diagnose build failures by using bisection method. + +%package subst +Summary: XMvn Subst +# Explicit javapackages-tools requires since scripts use +# /usr/share/java-utils/java-functions +Requires: javapackages-tools + +%description subst +This package provides XMvn Subst, which is a tool that can substitute +Maven artifact files with symbolic links to corresponding files in +artifact repository. + +%package install +Summary: XMvn Install +Requires: apache-commons-compress +# Explicit javapackages-tools requires since scripts use +# /usr/share/java-utils/java-functions +Requires: javapackages-tools + +%description install +This package provides XMvn Install, which is a command-line interface +to XMvn installer. The installer reads reactor metadata and performs +artifact installation according to specified configuration. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +This package provides %{summary}. + +%prep +%setup -q + +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 + +# Bisect IT has no chances of working in local, offline mode, without +# network access - it needs to access remote repositories. +find -name BisectIntegrationTest.java -delete + +# Resolver IT won't work either - it tries to execute JAR file, which +# relies on Class-Path in manifest, which is forbidden in Fedora... +find -name ResolverIntegrationTest.java -delete + +%pom_remove_plugin -r :maven-site-plugin + +%mvn_package ":xmvn{,-it}" __noinstall + +%if %{without gradle} +%pom_disable_module xmvn-connector-gradle +%endif + +# Upstream code quality checks, not relevant when building RPMs +%pom_remove_plugin -r :apache-rat-plugin +%pom_remove_plugin -r :maven-checkstyle-plugin +%pom_remove_plugin -r :jacoco-maven-plugin +# FIXME pom macros don't seem to support submodules in profile +%pom_remove_plugin :jacoco-maven-plugin xmvn-it + +# remove dependency plugin maven-binaries execution +# we provide apache-maven by symlink +%pom_xpath_remove "pom:executions/pom:execution[pom:id[text()='maven-binaries']]" + +# Don't put Class-Path attributes in manifests +%pom_remove_plugin :maven-jar-plugin xmvn-tools + +# get mavenVersion that is expected +maven_home=$(realpath $(dirname $(realpath $(which mvn)))/..) +mver=$(sed -n '//{s/.*>\(.*\)<.*/\1/;p}' \ + xmvn-parent/pom.xml) +mkdir -p target/dependency/ +cp -aL ${maven_home} target/dependency/apache-maven-$mver + +%build +%if %{with its} +%mvn_build -s -j -- -Prun-its +%else +%mvn_build -s -j -- -Dmaven.test.failure.ignore=true +%endif + +tar --delay-directory-restore -xvf target/*tar.bz2 +chmod -R +rwX %{name}-%{version}* +# These are installed as doc +rm -f %{name}-%{version}*/{AUTHORS-XMVN,README-XMVN.md,LICENSE,NOTICE,NOTICE-XMVN} +# Not needed - we use JPackage launcher scripts +rm -Rf %{name}-%{version}*/lib/{installer,resolver,subst,bisect}/ +# Irrelevant Maven launcher scripts +rm -f %{name}-%{version}*/bin/* + + +%install +%mvn_install + +maven_home=$(realpath $(dirname $(realpath $(which mvn)))/..) + +install -d -m 755 %{buildroot}%{_datadir}/%{name} +cp -r %{name}-%{version}*/* %{buildroot}%{_datadir}/%{name}/ + +for cmd in mvn mvnDebug; do + cat <%{buildroot}%{_datadir}/%{name}/bin/$cmd +#!/bin/sh -e +export _FEDORA_MAVEN_HOME="%{_datadir}/%{name}" +exec ${maven_home}/bin/$cmd "\${@}" +EOF + chmod 755 %{buildroot}%{_datadir}/%{name}/bin/$cmd +done + +# helper scripts +%jpackage_script org.fedoraproject.xmvn.tools.bisect.BisectCli "" "-Dxmvn.home=%{_datadir}/%{name}" xmvn/xmvn-bisect:beust-jcommander:maven-invoker:plexus/utils xmvn-bisect +%jpackage_script org.fedoraproject.xmvn.tools.install.cli.InstallerCli "" "" xmvn/xmvn-install:xmvn/xmvn-api:xmvn/xmvn-core:beust-jcommander:slf4j/api:slf4j/simple:objectweb-asm/asm:commons-compress xmvn-install +%jpackage_script org.fedoraproject.xmvn.tools.resolve.ResolverCli "" "" xmvn/xmvn-resolve:xmvn/xmvn-api:xmvn/xmvn-core:beust-jcommander xmvn-resolve +%jpackage_script org.fedoraproject.xmvn.tools.subst.SubstCli "" "" xmvn/xmvn-subst:xmvn/xmvn-api:xmvn/xmvn-core:beust-jcommander xmvn-subst + +# copy over maven lib directory +cp -r ${maven_home}/lib/* %{buildroot}%{_datadir}/%{name}/lib/ + +# possibly recreate symlinks that can be automated with xmvn-subst +%{name}-subst -s -R %{buildroot} %{buildroot}%{_datadir}/%{name}/ + +# /usr/bin/xmvn +ln -s %{_datadir}/%{name}/bin/mvn %{buildroot}%{_bindir}/%{name} + +# mvn-local symlink +ln -s %{name} %{buildroot}%{_bindir}/mvn-local + +# make sure our conf is identical to maven so yum won't freak out +install -d -m 755 %{buildroot}%{_datadir}/%{name}/conf/ +cp -P ${maven_home}/conf/settings.xml %{buildroot}%{_datadir}/%{name}/conf/ +cp -P ${maven_home}/bin/m2.conf %{buildroot}%{_datadir}/%{name}/bin/ + +%files +%{_bindir}/mvn-local + +%files minimal +%{_bindir}/%{name} +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/bin +%dir %{_datadir}/%{name}/lib +%{_datadir}/%{name}/lib/*.jar +%{_datadir}/%{name}/lib/ext +%{_datadir}/%{name}/lib/jansi-native +%{_datadir}/%{name}/bin/m2.conf +%{_datadir}/%{name}/bin/mvn +%{_datadir}/%{name}/bin/mvnDebug +%{_datadir}/%{name}/boot +%{_datadir}/%{name}/conf + +%files parent-pom -f .mfiles-xmvn-parent +%doc LICENSE NOTICE + +%files core -f .mfiles-xmvn-core + +%files api -f .mfiles-xmvn-api +%doc LICENSE NOTICE +%doc AUTHORS README.md + +%files connector-aether -f .mfiles-xmvn-connector-aether + +%if %{with gradle} +%files connector-gradle -f .mfiles-xmvn-connector-gradle +%endif + +%files connector-ivy -f .mfiles-xmvn-connector-ivy + +%files mojo -f .mfiles-xmvn-mojo + +%files tools-pom -f .mfiles-xmvn-tools + +%files resolve -f .mfiles-xmvn-resolve +%{_bindir}/%{name}-resolve + +%files bisect -f .mfiles-xmvn-bisect +%{_bindir}/%{name}-bisect + +%files subst -f .mfiles-xmvn-subst +%{_bindir}/%{name}-subst + +%files install -f .mfiles-xmvn-install +%{_bindir}/%{name}-install + +%files javadoc +%doc LICENSE NOTICE + +%changelog +* Wed Jul 29 2020 Fedora Release Engineering - 3.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Jiri Vanek - 3.1.0-6 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Thu Jul 09 2020 Mat Booth - 3.1.0-5 +- Honour source parameter in javadoc mojo + +* Fri Jun 26 2020 Alexander Kurtakov 3.1.0-4 +- Rebuild to pick jsr250-api switch to jakarta-annotations. + +* Thu Jun 25 2020 Alexander Kurtakov 3.1.0-3 +- Ignore test failures as they fail when built Java 11. + +* Fri Jan 31 2020 Fedora Release Engineering - 3.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 17 2019 Fabio Valentini - 3.1.0-1 +- Update to version 3.1.0. + +* Thu Oct 17 2019 Fabio Valentini - 3.0.0-28 +- Bump requirement to maven 3.6.1 and non-compat guava. + +* Mon Sep 02 2019 Marian Koncek - 3.0.0-27 +- Port to maven-invoker 3.0.1 + +* Thu Aug 22 2019 Fabio Valentini - 3.0.0-26 +- Port to xmlunit2. + +* Sun Aug 11 2019 Fabio Valentini - 3.0.0-25 +- Disable gradle support by default. + +* Sat Jul 27 2019 Fedora Release Engineering - 3.0.0-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 3.0.0-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Oct 30 2018 Mikolaj Izdebski - 3.0.0-22 +- Port to Gradle 4.4.1 + +* Wed Aug 01 2018 Severin Gehwolf - 3.0.0-21 +- Add requirement on javapackages-tools since scripts use + java-functions. + +* Sat Jul 14 2018 Fedora Release Engineering - 3.0.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 05 2018 Michael Simacek - 3.0.0-19 +- Remove now unnecessary objenesis from classpath + +* Fri May 18 2018 Mikolaj Izdebski - 3.0.0-18 +- Avoid creating temp files during manifest injection +- Resolves: rhbz#1579236 + +* Wed May 9 2018 Mikolaj Izdebski - 3.0.0-17 +- Switch to commons-compress for manifest manipulation +- Resolves: rhbz#1576358 + +* Fri Apr 27 2018 Mikolaj Izdebski - 3.0.0-16 +- Remove use of JAXB from xmvn-core to make it work with Java 9 + +* Thu Apr 19 2018 Michael Simacek - 3.0.0-15 +- Fix maven home lookup and layout to match current maven + +* Fri Mar 16 2018 Mikolaj Izdebski - 3.0.0-14 +- Fix configuration of aliased plugins +- Resolves: rhbz#1556974 + +* Fri Feb 09 2018 Igor Gnatenko - 3.0.0-13 +- Escape macros in %%changelog + +* Mon Feb 05 2018 Michael Simacek - 3.0.0-12 +- Use guava20 + +* Wed Jan 24 2018 Mikolaj Izdebski - 3.0.0-11 +- Build-require full maven again, instead of maven-lib + +* Tue Jan 9 2018 Mikolaj Izdebski - 3.0.0-10 +- BR maven-lib instead of full maven + +* Thu Dec 07 2017 Michael Simacek - 3.0.0-9 +- Support setting "-Xdoclint:none" in m-javadoc-p >= 3.0.0 + +* Fri Nov 10 2017 Michael Simacek - 3.0.0-8 +- Port to Gradle 4.3.1 + +* Mon Oct 02 2017 Michael Simacek - 3.0.0-7 +- Port to gradle 4.2 + +* Thu Jul 27 2017 Fedora Release Engineering - 3.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jun 21 2017 Mikolaj Izdebski - 3.0.0-5 +- Remove temporary workaround + +* Wed Jun 21 2017 Mikolaj Izdebski - 3.0.0-4 +- Fix installer crash when plugin directory is missing + +* Wed Jun 21 2017 Michael Simacek - 3.0.0-3 +- Include lib directories for now + +* Wed Jun 21 2017 Mikolaj Izdebski - 3.0.0-2 +- Fix loading of XMvn Installer plugins + +* Wed Jun 21 2017 Mikolaj Izdebski - 3.0.0-1 +- Update to upstream version 3.0.0 + +* Wed Apr 19 2017 Michael Simacek - 2.5.0-23 +- Update spec for maven 3.5.0 + +* Wed Apr 19 2017 Michael Simacek - 2.5.0-22 +- Temporary changes for maven upgrade + +* Sat Feb 11 2017 Fedora Release Engineering - 2.5.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 02 2017 Michael Simacek - 2.5.0-20 +- Remove requires added for maven 3.4.0 + +* Thu Feb 02 2017 Michael Simacek - 2.5.0-19 +- Remove BR on maven-site-plugin + +* Tue Jan 31 2017 Mikolaj Izdebski - 2.5.0-18 +- Allow to conditionally build without gradle + +* Mon Jan 16 2017 Michael Simacek - 2.5.0-17 +- Use reactor artifacts when running xmvn-subst + +* Mon Jan 16 2017 Mikolaj Izdebski - 2.5.0-16 +- Allow xmvn to install files who names whitespace + +* Mon Aug 15 2016 Michael Simacek - 2.5.0-15 +- Switch launcher scripts + +* Thu Aug 11 2016 Michael Simacek - 2.5.0-14 +- Add Requires on all symlinked jars to xmvn-minimal + +* Mon Aug 8 2016 Mikolaj Izdebski - 2.5.0-13 +- Remove temp symlinks + +* Mon Aug 8 2016 Mikolaj Izdebski - 2.5.0-12 +- Add temp symlinks needed for updating to Maven 3.4.0 + +* Mon Jul 04 2016 Michael Simacek - 2.5.0-11 +- Don't install POM files for Tycho projects + +* Thu Jun 30 2016 Mikolaj Izdebski - 2.5.0-10 +- Full xmvn should require full maven + +* Tue Jun 28 2016 Mikolaj Izdebski - 2.5.0-9 +- Introduce xmvn-minimal subpackage + +* Wed Jun 15 2016 Mikolaj Izdebski - 2.5.0-8 +- Add missing build-requires + +* Mon May 30 2016 Michael Simacek - 2.5.0-7 +- Add missing BR easymock + +* Fri Feb 05 2016 Fedora Release Engineering - 2.5.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Nov 26 2015 Mikolaj Izdebski - 2.5.0-5 +- Try to procect builddep MOJO against patological cases + +* Mon Nov 23 2015 Mikolaj Izdebski - 2.5.0-4 +- Remove temporary Maven 3.3.9 workaround + +* Mon Nov 23 2015 Mikolaj Izdebski - 2.5.0-3 +- Add temporary workaround for Maven 3.3.9 transition + +* Wed Oct 28 2015 Mikolaj Izdebski - 2.5.0-2 +- Fix symlinks in lib/core + +* Wed Oct 28 2015 Mikolaj Izdebski - 2.5.0-1 +- Update to upstream version 2.5.0 + +* Tue Jul 14 2015 Mikolaj Izdebski - 2.4.0-5 +- Require persistent artifact files in XML resolver API + +* Tue Jun 30 2015 Mikolaj Izdebski - 2.4.0-4 +- Port to Gradle 2.5-rc-1 + +* Fri Jun 19 2015 Fedora Release Engineering - 2.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon May 11 2015 Mikolaj Izdebski - 2.4.0-2 +- Add patches for rhbz#1220394 + +* Wed May 6 2015 Mikolaj Izdebski - 2.4.0-1 +- Update to upstream version 2.4.0 + +* Fri Apr 24 2015 Mikolaj Izdebski - 2.3.2-8 +- Port to Gradle 2.4-rc-1 + +* Thu Apr 16 2015 Mikolaj Izdebski - 2.3.2-7 +- Disable doclint in javadoc:aggregate MOJO executions + +* Thu Apr 9 2015 Mikolaj Izdebski - 2.3.2-6 +- Install mvn-local symlink + +* Wed Mar 25 2015 Mikolaj Izdebski - 2.3.2-5 +- Remove workarunds for RPM bug #646523 + +* Wed Mar 25 2015 Mikolaj Izdebski - 2.3.2-4 +- Port to Gradle 2.3 + +* Mon Mar 16 2015 Mikolaj Izdebski - 2.3.2-3 +- Build with Maven 3.3.0 + +* Mon Mar 16 2015 Mikolaj Izdebski - 2.3.2-2 +- Add temporary explicit maven-builder-support.jar symlink + +* Thu Mar 12 2015 Mikolaj Izdebski - 2.3.2-1 +- Update to upstream version 2.3.2 + +* Fri Mar 06 2015 Michal Srb - 2.3.1-4 +- Rebuild to fix symlinks in lib/core + +* Thu Feb 19 2015 Mikolaj Izdebski - 2.3.1-3 +- Remove temporary explicit ASM symlinks + +* Wed Feb 18 2015 Mikolaj Izdebski - 2.3.1-2 +- Temporarly add explicit symlinks to ASM + +* Fri Feb 13 2015 Mikolaj Izdebski - 2.3.1-1 +- Update to upstream version 2.3.1 + +* Wed Feb 11 2015 Mikolaj Izdebski - 2.3.0-1 +- Update to upstream version 2.3.0 + +* Wed Feb 4 2015 Mikolaj Izdebski - 2.2.1-1 +- Update to upstream version 2.2.1 + +* Fri Jan 23 2015 Mikolaj Izdebski - 2.2.0-1 +- Update to upstream version 2.2.0 +- Add connector-gradle subpackage + +* Wed Jan 21 2015 Mikolaj Izdebski - 2.1.1-2 +- Add BR on maven-site-plugin +- Resolves: rhbz#1184608 + +* Mon Jan 5 2015 Mikolaj Izdebski - 2.1.1-1 +- Update to upstream version 2.1.1 + +* Wed Dec 10 2014 Michal Srb - 2.1.0-8 +- Add fully qualified osgi version to install plan when tycho detected +- Resolves: rhbz#1172225 + +* Thu Dec 4 2014 Mikolaj Izdebski - 2.1.0-7 +- Ignore any system dependencies in Tycho projects + +* Wed Nov 26 2014 Mikolaj Izdebski - 2.1.0-6 +- Use topmost repository namespace during installation +- Resolves: rhbz#1166743 + +* Tue Oct 28 2014 Mikolaj Izdebski - 2.1.0-5 +- Fix conversion of Ivy to XMvn artifacts +- Resolves: rhbz#1127804 + +* Mon Oct 13 2014 Mikolaj Izdebski - 2.1.0-4 +- Fix FTBFS caused by new wersion of plexus-archiver + +* Wed Sep 24 2014 Mikolaj Izdebski - 2.1.0-3 +- Fix installation of attached Eclipse artifacts + +* Wed Sep 10 2014 Mikolaj Izdebski - 2.1.0-2 +- Avoid installing the same attached artifact twice + +* Thu Sep 4 2014 Mikolaj Izdebski - 2.1.0-1 +- Update to upstream version 2.1.0 +- Remove p2 subpackage + +* Fri Jun 6 2014 Mikolaj Izdebski - 2.0.1-1 +- Update to upstream version 2.0.1 + +* Thu Jun 5 2014 Mikolaj Izdebski - 2.0.0-6 +- Bump Maven version in build-requires + +* Thu Jun 5 2014 Mikolaj Izdebski - 2.0.0-5 +- Add missing requires on subpackages + +* Fri May 30 2014 Mikolaj Izdebski - 2.0.0-4 +- Don't modify system properties during artifact resolution + +* Fri May 30 2014 Mikolaj Izdebski - 2.0.0-3 +- Add patch to support xmvn.resolver.disableEffectivePom property + +* Thu May 29 2014 Mikolaj Izdebski - 2.0.0-2 +- Add patch for injecting Javapackages manifests + +* Thu May 29 2014 Mikolaj Izdebski - 2.0.0-1 +- Update to upstream version 2.0.0 + +* Tue Apr 22 2014 Mikolaj Izdebski - 1.5.0-0.25.gitcb3a0a6 +- Use ASM 5.0.1 directly instead of Sisu-shaded ASM + +* Fri Mar 28 2014 Mikolaj Izdebski - 1.5.0-0.24.gitcb3a0a6 +- Override extensions of skipped artifacts + +* Fri Mar 28 2014 Mikolaj Izdebski - 1.5.0-0.23.gitcb3a0a6 +- Skip installation of artifacts which files are not regular files +- Resolves: rhbz#1078967 + +* Mon Mar 17 2014 Michal Srb - 1.5.0-0.22.gitcb3a0a6 +- Add missing BR: modello-maven-plugin + +* Tue Mar 04 2014 Stanislav Ochotnicky - 1.5.0-0.21.gitcb3a0a6 +- Use Requires: java-headless rebuild (#1067528) + +* Wed Feb 19 2014 Mikolaj Izdebski - 1.5.0-0.20.gitcb3a0a6 +- Fix unowned directory + +* Tue Jan 14 2014 Mikolaj Izdebski - 1.5.0-0.19.gitcb3a0a6 +- Update to pre-release of upstream version 1.5.0 + +* Mon Dec 9 2013 Mikolaj Izdebski - 1.4.0-1 +- Update to upstream version 1.4.0 + +* Thu Nov 14 2013 Michael Simacek - 1.3.0-4 +- Update to Sisu 0.1.0 + +* Thu Nov 14 2013 Michal Srb - 1.3.0-3 +- Add dep org.sonatype.sisu:sisu-guice::no_aop: + +* Fri Nov 8 2013 Mikolaj Izdebski - 1.3.0-2 +- Add wagon-http-shared4 to plexus.core + +* Wed Nov 06 2013 Stanislav Ochotnicky - 1.3.0-1 +- Update to upstream release 1.3.0 + +* Tue Nov 5 2013 Mikolaj Izdebski - 1.2.0-5 +- Require Maven >= 3.1.1-5 +- Resolves: rhbz#1014355 + +* Wed Oct 23 2013 Mikolaj Izdebski - 1.2.0-4 +- Rebuild to regenerate broken POMs +- Related: rhbz#1021484 + +* Wed Oct 23 2013 Mikolaj Izdebski - 1.2.0-3 +- Temporarly skip running tests + +* Wed Oct 23 2013 Mikolaj Izdebski - 1.2.0-2 +- Don't inject manifest if it does not already exist +- Resolves: rhbz#1021484 + +* Fri Oct 18 2013 Mikolaj Izdebski - 1.2.0-1 +- Update to upstream version 1.2.0 + +* Mon Oct 07 2013 Stanislav Ochotnicky - 1.1.0-2 +- Apply patch for rhbz#1015596 + +* Tue Oct 01 2013 Stanislav Ochotnicky - 1.1.0-1 +- Update to upstream version 1.1.0 + +* Fri Sep 27 2013 Stanislav Ochotnicky - 1.0.2-3 +- Add __default package specifier support + +* Mon Sep 23 2013 Mikolaj Izdebski - 1.0.2-2 +- Don't try to relativize symlink targets +- Restotre support for relative symlinks + +* Fri Sep 20 2013 Mikolaj Izdebski - 1.0.2-1 +- Update to upstream version 1.0.2 + +* Tue Sep 10 2013 Stanislav Ochotnicky - 1.0.0-2 +- Workaround broken symlinks for core and connector (#986909) + +* Mon Sep 09 2013 Stanislav Ochotnicky - 1.0.0-1 +- Updating to upstream 1.0.0 + +* Tue Sep 3 2013 Stanislav Ochotnicky 1.0.0-0.2.alpha1 +- Update to upstream version 1.0.0 alpha1 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.5.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 23 2013 Mikolaj Izdebski - 0.5.1-3 +- Rebuild without bootstrapping + +* Tue Jul 23 2013 Mikolaj Izdebski - 0.5.1-2 +- Install symlink to simplelogger.properties in %%{_sysconfdir} + +* Tue Jul 23 2013 Mikolaj Izdebski - 0.5.1-1 +- Update to upstream version 0.5.1 + +* Tue Jul 23 2013 Mikolaj Izdebski - 0.5.0-7 +- Allow installation of Eclipse plugins in javadir + +* Mon Jul 22 2013 Mikolaj Izdebski - 0.5.0-6 +- Remove workaround for plexus-archiver bug +- Use sonatype-aether symlinks + +* Wed Jun 5 2013 Mikolaj Izdebski - 0.5.0-5 +- Fix resolution of tools.jar + +* Fri May 31 2013 Stanislav Ochotnicky - 0.5.0-4 +- Fix handling of packages with dots in groupId +- Previous versions also fixed bug #948731 + +* Tue May 28 2013 Stanislav Ochotnicky - 0.5.0-3 +- Move pre scriptlet to pretrans and implement in lua + +* Fri May 24 2013 Stanislav Ochotnicky - 0.5.0-2 +- Fix upgrade path scriptlet +- Add patch to fix NPE when debugging is disabled + +* Fri May 24 2013 Stanislav Ochotnicky - 0.5.0-1 +- Update to upstream version 0.5.0 + +* Fri May 17 2013 Mikolaj Izdebski - 0.4.2-3 +- Add patch: install MOJO fix + +* Wed Apr 17 2013 Mikolaj Izdebski - 0.4.2-2 +- Update plexus-containers-container-default JAR location + +* Tue Apr 9 2013 Mikolaj Izdebski - 0.4.2-1 +- Update to upstream version 0.4.2 + +* Thu Mar 21 2013 Michal Srb - 0.4.1-1 +- Update to upstream version 0.4.1 + +* Fri Mar 15 2013 Mikolaj Izdebski - 0.4.0-1 +- Update to upstream version 0.4.0 + +* Fri Mar 15 2013 Mikolaj Izdebski - 0.4.0-0.7 +- Enable tests + +* Thu Mar 14 2013 Mikolaj Izdebski - 0.4.0-0.6 +- Update to newer snapshot + +* Wed Mar 13 2013 Mikolaj Izdebski - 0.4.0-0.5 +- Update to newer snapshot + +* Wed Mar 13 2013 Mikolaj Izdebski - 0.4.0-0.4 +- Set proper permissions for scripts in _bindir + +* Tue Mar 12 2013 Mikolaj Izdebski - 0.4.0-0.3 +- Update to new upstream snapshot +- Create custom /usr/bin/xmvn instead of using %%jpackage_script +- Mirror maven directory structure +- Add Plexus Classworlds config file + +* Wed Mar 6 2013 Mikolaj Izdebski - 0.4.0-0.2 +- Update to newer snapshot + +* Wed Mar 6 2013 Mikolaj Izdebski - 0.4.0-0.1 +- Update to upstream snapshot of version 0.4.0 + +* Mon Feb 25 2013 Mikolaj Izdebski - 0.3.1-2 +- Install effective POMs into a separate directory + +* Thu Feb 7 2013 Mikolaj Izdebski - 0.3.1-1 +- Update to upstream version 0.3.1 + +* Tue Feb 5 2013 Mikolaj Izdebski - 0.3.0-1 +- Update to upstream version 0.3.0 +- Don't rely on JPP symlinks when resolving artifacts +- Blacklist more artifacts +- Fix dependencies + +* Thu Jan 24 2013 Mikolaj Izdebski - 0.2.6-1 +- Update to upstream version 0.2.6 + +* Mon Jan 21 2013 Mikolaj Izdebski - 0.2.5-1 +- Update to upstream version 0.2.5 + +* Fri Jan 11 2013 Mikolaj Izdebski - 0.2.4-1 +- Update to upstream version 0.2.4 + +* Wed Jan 9 2013 Mikolaj Izdebski - 0.2.3-1 +- Update to upstream version 0.2.3 + +* Tue Jan 8 2013 Mikolaj Izdebski - 0.2.2-1 +- Update to upstream version 0.2.2 + +* Tue Jan 8 2013 Mikolaj Izdebski - 0.2.1-1 +- Update to upstream version 0.2.1 + +* Mon Jan 7 2013 Mikolaj Izdebski - 0.2.0-1 +- Update to upstream version 0.2.0 +- New major features: depmaps, compat symlinks, builddep MOJO +- Install effective POMs for non-POM artifacts +- Multiple major and minor bugfixes +- Drop support for resolving artifacts from %%_javajnidir + +* Fri Dec 7 2012 Mikolaj Izdebski - 0.1.5-1 +- Update to upstream version 0.1.5 + +* Fri Dec 7 2012 Mikolaj Izdebski - 0.1.4-1 +- Update to upstream version 0.1.4 + +* Fri Dec 7 2012 Mikolaj Izdebski - 0.1.3-1 +- Update to upstream version 0.1.3 + +* Fri Dec 7 2012 Mikolaj Izdebski - 0.1.2-1 +- Update to upstream version 0.1.2 + +* Fri Dec 7 2012 Mikolaj Izdebski - 0.1.1-1 +- Update to upstream version 0.1.1 + +* Thu Dec 6 2012 Mikolaj Izdebski - 0.1.0-1 +- Update to upstream version 0.1.0 +- Implement auto requires generator + +* Mon Dec 3 2012 Mikolaj Izdebski - 0.0.2-1 +- Update to upstream version 0.0.2 + +* Thu Nov 29 2012 Mikolaj Izdebski - 0.0.1-1 +- Update to upstream version 0.0.1 + +* Wed Nov 28 2012 Mikolaj Izdebski - 0-2 +- Add jpackage scripts + +* Mon Nov 5 2012 Mikolaj Izdebski - 0-1 +- Initial packaging