This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
21
LICENSE.MIT
Normal file
21
LICENSE.MIT
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2005, The Codehaus
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
15
_service
Normal file
15
_service
Normal file
@@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/codehaus-plexus/plexus-interactivity.git</param>
|
||||
<param name="revision">plexus-interactivity-1.4</param>
|
||||
<param name="match-tag">plexus-interactivity-*</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">plexus-interactivity-(.*)</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
plexus-interactivity-1.3.tar.xz
(Stored with Git LFS)
Normal file
BIN
plexus-interactivity-1.3.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
plexus-interactivity-1.4.tar.xz
Normal file
3
plexus-interactivity-1.4.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3fc1c008337e761a8641518d899c7ee255a23886952c363214ec65daea0dfb11
|
||||
size 5972
|
3
plexus-interactivity-build.tar.xz
Normal file
3
plexus-interactivity-build.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b0d93ef02444fd7fe07e2052a0831fd12f75e7fd3a019a410dac66b3f672148
|
||||
size 1804
|
33
plexus-interactivity-jline2.patch
Normal file
33
plexus-interactivity-jline2.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
diff --git a/plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/jline/JLineInputHandler.java b/plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/jline/JLineInputHandler.java
|
||||
index 93c8bd6..068a6e4 100644
|
||||
--- a/plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/jline/JLineInputHandler.java
|
||||
+++ b/plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/jline/JLineInputHandler.java
|
||||
@@ -28,9 +28,8 @@ import javax.inject.Named;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
+import jline.console.ConsoleReader;
|
||||
import org.codehaus.plexus.components.interactivity.AbstractInputHandler;
|
||||
-import org.jline.reader.LineReader;
|
||||
-import org.jline.reader.LineReaderBuilder;
|
||||
|
||||
/**
|
||||
* Default input handler, that uses the console.
|
||||
@@ -39,7 +38,16 @@ import org.jline.reader.LineReaderBuilder;
|
||||
*/
|
||||
@Named("jline")
|
||||
public class JLineInputHandler extends AbstractInputHandler {
|
||||
- private final LineReader consoleReader = LineReaderBuilder.builder().build();
|
||||
+ private final ConsoleReader consoleReader;
|
||||
+
|
||||
+ public JLineInputHandler() {
|
||||
+ ConsoleReader cr = null;
|
||||
+ try {
|
||||
+ cr = new ConsoleReader();
|
||||
+ } catch (IOException e) {
|
||||
+ }
|
||||
+ this.consoleReader = cr;
|
||||
+ }
|
||||
|
||||
public String readLine() throws IOException {
|
||||
return consoleReader.readLine();
|
54
plexus-interactivity.changes
Normal file
54
plexus-interactivity.changes
Normal file
@@ -0,0 +1,54 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 6 15:04:00 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to version 1.4
|
||||
* Changes
|
||||
+ Bump org.jline:jline-reader from 3.25.1 to 3.29.0
|
||||
+ Bump org.eclipse.sisu:org.eclipse.sisu.inject from 0.9.0.M2
|
||||
to 0.9.0.M3
|
||||
+ Apply spotless re-formatting
|
||||
+ Bump org.codehaus.plexus:plexus from 16 to 20
|
||||
+ Bump release-drafter/release-drafter from 5 to 6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 08:24:37 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Add dependency on objectweb-asm to build with sisu 0.9.0.M4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 11:04:22 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to version 1.3
|
||||
* New features and improvements
|
||||
+ ensure prompter does not double colon
|
||||
+ java 8 as mininum
|
||||
+ Move off plexus
|
||||
- The class previously in plexus-interactivity-jdom artifact is
|
||||
folded into the main plexus-interactivity-api.
|
||||
- Removed patch:
|
||||
* plexus-interactivity-dependencies.patch
|
||||
+ not needed any more
|
||||
- Modified patch:
|
||||
* plexus-interactivity-jline2.patch
|
||||
+ port from jline3 to jline2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 15:00:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 20 17:37:26 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 1 23:13:32 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Describe package, not the project vision.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 10:55:15 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Intial packaging of plexus-interactivity 1.0-alpha-6
|
||||
- Generate and customize ant build files
|
105
plexus-interactivity.spec
Normal file
105
plexus-interactivity.spec
Normal file
@@ -0,0 +1,105 @@
|
||||
#
|
||||
# spec file for package plexus-interactivity
|
||||
#
|
||||
# Copyright (c) 2025 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/
|
||||
#
|
||||
|
||||
|
||||
Name: plexus-interactivity
|
||||
Version: 1.4
|
||||
Release: 0
|
||||
Summary: Plexus Interactivity Handler Component
|
||||
License: MIT
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://github.com/codehaus-plexus/plexus-interactivity
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: LICENSE.MIT
|
||||
Source100: %{name}-build.tar.xz
|
||||
Patch0: %{name}-jline2.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: atinject
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: javapackages-local >= 6
|
||||
BuildRequires: jline >= 2
|
||||
BuildRequires: objectweb-asm
|
||||
BuildRequires: plexus-utils
|
||||
BuildRequires: sisu-inject
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Plexus contains end-to-end developer tools for writing applications.
|
||||
At the core is the container, which can be embedded or for an
|
||||
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.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description javadoc
|
||||
This package provides %{summary}.
|
||||
|
||||
%package api
|
||||
Summary: API for %{name}
|
||||
Group: Development/Libraries/Java
|
||||
Obsoletes: %{name}-jline
|
||||
|
||||
%description api
|
||||
API module for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -a100
|
||||
|
||||
%patch -P 0 -p1
|
||||
%pom_change_dep :jline-reader jline:jline:2.10 %{name}-api
|
||||
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
mkdir -p lib
|
||||
build-jar-repository -s lib \
|
||||
atinject \
|
||||
jline \
|
||||
objectweb-asm/asm \
|
||||
org.eclipse.sisu.inject \
|
||||
plexus/utils
|
||||
%{ant} package javadoc
|
||||
|
||||
%install
|
||||
|
||||
# jar
|
||||
install -dm 0755 %{buildroot}%{_javadir}/plexus
|
||||
install -pm 0644 %{name}-api/target/%{name}-api-%{version}.jar %{buildroot}%{_javadir}/plexus/interactivity-api.jar
|
||||
|
||||
# pom
|
||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
|
||||
%{mvn_install_pom} %{name}-api/pom.xml %{buildroot}%{_mavenpomdir}/plexus/interactivity-api.pom
|
||||
%add_maven_depmap plexus/interactivity-api.pom plexus/interactivity-api.jar -f api
|
||||
|
||||
# javadoc
|
||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}/api
|
||||
cp -pr %{name}-api/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/api/
|
||||
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
|
||||
%files api -f .mfiles-api
|
||||
%license LICENSE.MIT
|
||||
|
||||
%files javadoc
|
||||
%license LICENSE.MIT
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user