Accepting request 946195 from Java:packages
2.0 OBS-URL: https://build.opensuse.org/request/show/946195 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plexus-cipher?expand=0&rev=2
This commit is contained in:
commit
4782955bec
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5286d465265e2e37e1ff6c729be5bfbe2497dcc7c26084bdd533fff651e58fc9
|
|
||||||
size 14930
|
|
BIN
plexus-cipher-2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
plexus-cipher-2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -9,20 +9,19 @@
|
|||||||
<property file="maven-build.properties"/>
|
<property file="maven-build.properties"/>
|
||||||
|
|
||||||
<property name="project.artifactId" value="plexus-cipher"/>
|
<property name="project.artifactId" value="plexus-cipher"/>
|
||||||
<property name="project.groupId" value="org.sonatype.plexus"/>
|
<property name="project.groupId" value="org.codehaus.plexus"/>
|
||||||
<property name="project.version" value="1.7"/>
|
<property name="project.version" value="2.0"/>
|
||||||
<property name="project.name" value="Plexus Cipher: encryption/decryption Component"/>
|
<property name="project.name" value="Plexus Cipher: encryption/decryption Component"/>
|
||||||
<property name="project.url" value="http://spice.sonatype.org/plexus-cipher"/>
|
<property name="project.url" value="https://github.com/codehaus-plexus/plexus-cipher"/>
|
||||||
<property name="project.organization.name" value="Sonatype, Inc."/>
|
<property name="project.organization.name" value="Sonatype, Inc."/>
|
||||||
|
|
||||||
<property name="compiler.source" value="1.6"/>
|
<property name="compiler.source" value="1.7"/>
|
||||||
<property name="compiler.target" value="${compiler.source}"/>
|
<property name="compiler.target" value="${compiler.source}"/>
|
||||||
|
|
||||||
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||||
<property name="build.dir" value="target"/>
|
<property name="build.dir" value="target"/>
|
||||||
<property name="build.outputDir" value="${build.dir}/classes"/>
|
<property name="build.outputDir" value="${build.dir}/classes"/>
|
||||||
<property name="build.srcDir" value="src/main/java"/>
|
<property name="build.srcDir" value="src/main/java"/>
|
||||||
<property name="build.resourceDir" value="src/main/resources"/>
|
|
||||||
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
||||||
|
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
@ -31,7 +30,6 @@
|
|||||||
|
|
||||||
<path id="build.classpath">
|
<path id="build.classpath">
|
||||||
<fileset dir="lib">
|
<fileset dir="lib">
|
||||||
<!-- cdi-api-1.0 jboss-interceptor-api-1.1 javax.inject-1 -->
|
|
||||||
<include name="**/*.jar"/>
|
<include name="**/*.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</path>
|
</path>
|
||||||
@ -64,9 +62,6 @@
|
|||||||
</src>
|
</src>
|
||||||
<classpath refid="build.classpath"/>
|
<classpath refid="build.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
<copy todir="${build.outputDir}">
|
|
||||||
<fileset dir="${build.resourceDir}"/>
|
|
||||||
</copy>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 13 17:22:41 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Update to upstream version 2.0
|
||||||
|
* needed by maven 3.8.4
|
||||||
|
* needed by plexus-sec-dispatcher 2.0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 20 16:22:23 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
Wed Mar 20 16:22:23 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package plexus-cipher
|
# spec file for package plexus-cipher
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,22 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: plexus-cipher
|
Name: plexus-cipher
|
||||||
Version: 1.7
|
Version: 2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Plexus Cipher: encryption/decryption Component
|
Summary: Plexus Cipher: encryption/decryption Component
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: https://github.com/codehaus-plexus/plexus-cipher
|
URL: https://github.com/codehaus-plexus/%{name}
|
||||||
# git clone https://github.com/sonatype/plexus-cipher.git
|
Source0: https://github.com/codehaus-plexus/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz
|
||||||
# cd plexus-cipher/
|
|
||||||
# note this is version 1.7 + our patches which were incorporated by upstream maintainer
|
|
||||||
# git archive --format tar --prefix=plexus-cipher-1.7/ 0cff29e6b2e | gzip -9 > plexus-cipher-1.7.tar.gz
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
|
||||||
Source1: %{name}-build.xml
|
Source1: %{name}-build.xml
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: atinject
|
BuildRequires: atinject
|
||||||
BuildRequires: cdi-api
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.7
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: sisu-inject
|
BuildRequires: sisu-inject
|
||||||
BuildRequires: xmvn-install
|
BuildRequires: xmvn-install
|
||||||
@ -50,33 +46,27 @@ Group: Development/Libraries/Java
|
|||||||
API documentation for %{name}.
|
API documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
cp %{SOURCE1} build.xml
|
cp %{SOURCE1} build.xml
|
||||||
|
|
||||||
# replace %{version}-SNAPSHOT with %{version}
|
# replace %{version}-SNAPSHOT with %{version}
|
||||||
%pom_xpath_replace pom:project/pom:version "<version>%{version}</version>"
|
%pom_xpath_set pom:project/pom:version %{version}
|
||||||
|
|
||||||
# fedora moved from sonatype sisu to eclipse sisu. sisu-inject-bean artifact
|
|
||||||
# doesn't exist in eclipse sisu. this artifact contains nothing but
|
|
||||||
# bundled classes from atinject, cdi-api, aopalliance and maybe others.
|
|
||||||
%pom_remove_dep org.sonatype.sisu:sisu-inject-bean
|
|
||||||
%pom_add_dep javax.inject:javax.inject:1:provided
|
|
||||||
%pom_add_dep javax.enterprise:cdi-api:1.0:provided
|
|
||||||
%pom_remove_dep junit:junit
|
|
||||||
%pom_add_dep junit:junit:3.8.2:test
|
|
||||||
|
|
||||||
%pom_remove_parent .
|
%pom_remove_parent .
|
||||||
|
%pom_xpath_inject pom:project "<groupId>org.codehaus.plexus</groupId>"
|
||||||
|
%pom_change_dep -r -f ::::: :::::
|
||||||
|
|
||||||
%mvn_file : plexus/%{name}
|
%mvn_file : plexus/%{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib cdi-api atinject org.eclipse.sisu.inject
|
build-jar-repository -s lib atinject org.eclipse.sisu.inject
|
||||||
|
|
||||||
%ant compile
|
%ant compile
|
||||||
%ant jar javadoc
|
%ant jar javadoc
|
||||||
|
|
||||||
%mvn_artifact pom.xml target/%{name}-%{version}.jar
|
%mvn_artifact pom.xml target/%{name}-%{version}.jar
|
||||||
|
%mvn_alias :{*} org.sonatype.plexus:@1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user