# # spec file for package plexus-utils # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # Name: plexus-utils Version: 3.1.0 Release: 0 Summary: Plexus Common Utilities # ASL 1.1: several files in src/main/java/org/codehaus/plexus/util/ # xpp: src/main/java/org/codehaus/plexus/util/xml/pull directory # ASL 2.0 and BSD: # src/main/java/org/codehaus/plexus/util/cli/StreamConsumer # src/main/java/org/codehaus/plexus/util/cli/StreamPumper # src/main/java/org/codehaus/plexus/util/cli/Commandline # Public domain: src/main/java/org/codehaus/plexus/util/TypeFormat.java # rest is ASL 2.0 License: Apache-1.1 AND Apache-2.0 AND xpp AND BSD AND SUSE-Public-Domain Group: Development/Libraries/Java URL: https://codehaus-plexus.github.io/plexus-utils/ Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz Source1: http://apache.org/licenses/LICENSE-2.0.txt # https://github.com/codehaus-plexus/plexus-utils/issues/45 Patch1: 0001-Follow-symlinks-in-NioFiles.copy.patch BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus.plexus:plexus:pom:) BuildArch: noarch %description The Plexus project seeks to create end-to-end developer tools for writing applications. At the core is the container, which can be embedded or for a full scale application server. There are many reusable components for hibernate, form processing, jndi, i18n, velocity, etc. Plexus also includes an application server which is like a J2EE application server, without all the baggage. %package javadoc Summary: Javadoc for %{name} %description javadoc Javadoc for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} %patch1 -p1 cp %{SOURCE1} . %{mvn_file} : plexus/utils %{mvn_alias} : plexus:plexus-utils # Generate OSGI info %pom_xpath_inject "pom:project" "bundle" %pom_xpath_inject "pom:build/pom:plugins" " org.apache.felix maven-bundle-plugin true <_nouses>true org.codehaus.plexus.util.*;org.codehaus.plexus.util.cli.*;org.codehaus.plexus.util.cli.shell.*;org.codehaus.plexus.util.dag.*;org.codehaus.plexus.util.introspection.*;org.codehaus.plexus.util.io.*;org.codehaus.plexus.util.reflection.*;org.codehaus.plexus.util.xml.*;org.codehaus.plexus.util.xml.pull.* " %pom_remove_plugin :maven-enforcer-plugin %build %{mvn_build} -f %install %mvn_install %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %doc NOTICE.txt LICENSE-2.0.txt %files javadoc -f .mfiles-javadoc %doc NOTICE.txt LICENSE-2.0.txt %changelog