File jetty-modify-sources-maven-plugin.spec of Package jetty-modify-sources-maven-plugin

#
# spec file for package jetty-modify-sources-maven-plugin
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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:           jetty-modify-sources-maven-plugin
Version:        1.0.13
Release:        0
Summary:        Jetty Modify Sources Maven Plugin
License:        Apache-2.0 OR EPL-1.0
Group:          Development/Libraries/Java
URL:            https://github.com/jetty-project/jetty-modify-sources-maven-plugin
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  fdupes
BuildRequires:  java-devel >= 1.8
BuildRequires:  maven-local
BuildRequires:  xz
BuildRequires:  mvn(com.github.javaparser:javaparser-core)
BuildRequires:  mvn(commons-io:commons-io)
BuildRequires:  mvn(org.apache.commons:commons-lang3)
BuildRequires:  mvn(org.apache.commons:commons-text)
BuildRequires:  mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires:  mvn(org.apache.maven.shared:maven-filtering) >= 3.3.0
BuildRequires:  mvn(org.apache.maven:maven-artifact)
BuildRequires:  mvn(org.apache.maven:maven-core)
BuildRequires:  mvn(org.apache.maven:maven-plugin-api)
BuildRequires:  mvn(org.eclipse.sisu:sisu-maven-plugin)
BuildArch:      noarch

%description
Maven Plugin used for Jetty 12 to transform sources and
resources using jakarta namespace to EE8 javax namespace

%package        javadoc
Summary:        API documentation for %{name}
Group:          Documentation/HTML

%description    javadoc
%{summary}.

%prep
%setup -q
%pom_change_dep :hamcrest :::test
%pom_remove_plugin :maven-invoker-plugin
%pom_add_plugin org.eclipse.sisu:sisu-maven-plugin:0.9.0.M4 . "
        <executions>
          <execution>
            <id>index-project</id>
            <goals>
              <goal>main-index</goal>
            </goals>
          </execution>
        </executions>"


%build
%{mvn_build} -f -- -Dsource=8

%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}

%files -f .mfiles

%files javadoc -f .mfiles-javadoc

%changelog
openSUSE Build Service is sponsored by