!1 Add package jacorb

Merge pull request !1 from 王歌/master
This commit is contained in:
openeuler-ci-bot 2020-09-03 18:31:39 +08:00 committed by Gitee
commit 807bb0a7a6
13 changed files with 740 additions and 0 deletions

26
JDK8-support.patch Normal file
View File

@ -0,0 +1,26 @@
From f038592a60a50cdf263875c6ebc440a322f1c543 Mon Sep 17 00:00:00 2001
From: Marek Goldmann <marek.goldmann@gmail.com>
Date: Mon, 7 Jul 2014 12:43:24 +0200
Subject: [PATCH] JDK8 support
---
src/org/jacorb/security/sas/GSSUPCredentialSpi.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/org/jacorb/security/sas/GSSUPCredentialSpi.java b/src/org/jacorb/security/sas/GSSUPCredentialSpi.java
index efc8833..da5cb4c 100644
--- a/src/org/jacorb/security/sas/GSSUPCredentialSpi.java
+++ b/src/org/jacorb/security/sas/GSSUPCredentialSpi.java
@@ -97,4 +97,9 @@ public final class GSSUPCredentialSpi implements GSSCredentialSpi
{
return myMechOid;
}
+
+ public GSSCredentialSpi impersonate(GSSNameSpi name) throws GSSException
+ {
+ throw new GSSException(GSSException.FAILURE, -1, "Not supported yet");
+ }
}
--
1.9.3

View File

@ -0,0 +1,42 @@
From 42081daacf0cc13cdc1b60b626d1284f6646d055 Mon Sep 17 00:00:00 2001
From: Marek Goldmann <goldmann@fedoraproject.org>
Date: Wed, 29 Aug 2012 12:09:09 +0200
Subject: [PATCH] Implement a few methods in GSSUPContextSpi to make it work
with JDK 7
---
src/org/jacorb/security/sas/GSSUPContextSpi.java | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/org/jacorb/security/sas/GSSUPContextSpi.java b/src/org/jacorb/security/sas/GSSUPContextSpi.java
index ab070ae..1812680 100644
--- a/src/org/jacorb/security/sas/GSSUPContextSpi.java
+++ b/src/org/jacorb/security/sas/GSSUPContextSpi.java
@@ -33,6 +33,7 @@ import org.ietf.jgss.Oid;
import sun.security.jgss.spi.GSSContextSpi;
import sun.security.jgss.spi.GSSCredentialSpi;
import sun.security.jgss.spi.GSSNameSpi;
+import com.sun.security.jgss.InquireType;
/**
* This is the GSS-API Sercurity Provider Interface (SPI) for the GSSUP Context
@@ -310,4 +311,19 @@ public final class GSSUPContextSpi
{
return false;
}
+
+ public boolean getDelegPolicyState()
+ {
+ return false;
+ }
+
+ public void requestDelegPolicy(boolean state)
+ {
+ throw new RuntimeException("Method not implemented");
+ }
+
+ public Object inquireSecContext(InquireType type)
+ {
+ throw new RuntimeException("Method not implemented");
+ }
}

View File

@ -0,0 +1,12 @@
diff -Naur etc/jacorb_jar.manifest etc_new/jacorb_jar.manifest
--- etc/jacorb_jar.manifest 2013-05-27 11:47:38.931078552 +0200
+++ etc_new/jacorb_jar.manifest 2013-05-27 11:48:01.496241861 +0200
@@ -1,8 +1,3 @@
Manifest-Version: 1.0
-Class-Path:
- slf4j-api-1.5.6.jar
- slf4j-jdk14-1.5.6.jar
- concurrent-1.3.2.jar
- antlr-2.7.2.jar

View File

@ -0,0 +1,23 @@
From 2d224ff14b13ba8518c084816bcc781d417818c8 Mon Sep 17 00:00:00 2001
From: Marek Goldmann <goldmann@fedoraproject.org>
Date: Wed, 29 Aug 2012 19:50:52 +0200
Subject: [PATCH] Set encoding to UTF-8 when generating javadoc
---
build.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index 596b9c5..1389e0a 100644
--- a/build.xml
+++ b/build.xml
@@ -264,7 +264,8 @@ using VERSION_INFO: ${jacorb_version_info}
<mkdir dir="${basedir}/doc/api"/>
- <javadoc destdir="${basedir}/doc/api"
+ <javadoc encoding="utf-8"
+ destdir="${basedir}/doc/api"
additionalparam="${IGNORED_TAGS}"
classpathref="path.base"
Splitindex="Yes"

View File

@ -0,0 +1,80 @@
# This patch resets the port of the primary address to zero when an IORInterceptor adds
# a TAG_CSI_SEC_MECH_LIST component with transport protection requirements (SSL), as it
# should be per the CSI v2 specification.
--- src/org/jacorb/orb/ORB.java 2009-05-03 18:35:55.000000000 -0300
+++ src/org/jacorb/orb/ORB.java 2009-07-28 13:53:08.390160147 -0300
@@ -61,6 +61,7 @@
import org.omg.CORBA.portable.BoxedValueHelper;
import org.omg.CORBA.portable.StreamableValue;
import org.omg.CORBA.portable.ValueFactory;
+import org.omg.CSIIOP.*;
import org.omg.ETF.Profile;
import org.omg.IOP.IOR;
import org.omg.IOP.MultipleComponentProfileHelper;
@@ -812,9 +813,19 @@
}
}
- // add GIOP 1.0 profile if necessary
-
+ // patch the primary address if SSL (or TLS) is required by the target.
IIOPProfile iiopProfile = findIIOPProfile(profiles);
+ if (iiopProfile != null)
+ {
+ TaggedComponentList components =
+ (TaggedComponentList)componentMap.get(ObjectUtil.newInteger(TAG_INTERNET_IOP.value));
+ if(this.isSSLRequiredInComponentList(components))
+ {
+ iiopProfile.patchPrimaryAddress(new IIOPAddress(null, 0));
+ }
+ }
+
+ // add GIOP 1.0 profile if necessary
if ( (iiopProfile != null)
&& ( this.giopMinorVersion == 0 || this.giopAdd_1_0_Profiles ))
{
@@ -863,6 +874,43 @@
return new IOR(repId, tps);
}
+ public boolean isSSLRequiredInComponentList(TaggedComponentList components)
+ {
+ int minimum_options = Integrity.value | Confidentiality.value |
+ DetectReplay.value | DetectMisordering.value;
+
+ if(components == null)
+ {
+ return false;
+ }
+
+ CompoundSecMechList csmList =
+ (CompoundSecMechList)components.getComponent(
+ TAG_CSI_SEC_MECH_LIST.value,
+ CompoundSecMechListHelper.class);
+
+ if (csmList != null && csmList.mechanism_list.length > 0 &&
+ csmList.mechanism_list[0].transport_mech.tag ==
+ TAG_TLS_SEC_TRANS.value)
+ {
+ byte[] tlsSecTransData =
+ csmList.mechanism_list[0].transport_mech.component_data;
+ CDRInputStream in =
+ new CDRInputStream((org.omg.CORBA.ORB)null, tlsSecTransData);
+ try
+ {
+ in.openEncapsulatedArray();
+ TLS_SEC_TRANS tls = TLS_SEC_TRANSHelper.read(in);
+ return (tls.target_requires & minimum_options) != 0;
+ }
+ catch ( Exception ex )
+ {
+ throw new INTERNAL(ex.toString());
+ }
+ }
+ return false;
+ }
+
private TaggedProfile createMultipleComponentsProfile
(TaggedComponentList components)
{

View File

@ -0,0 +1,95 @@
# read_boolean() now only adjusts positions if the chunk_end_pos == pos, no longer calling
# handle_chunking(). The problem with handle_chunking() is that it aligns the current position
# and this can cause CDRInputStream to "skip" valid boolean values, as those are not padded.
--- src/org/jacorb/orb/CDRInputStream.java 2009-05-03 18:35:54.000000000 -0300
+++ src/org/jacorb/orb/CDRInputStream.java 2009-07-27 21:43:13.654728303 -0300
@@ -460,51 +460,52 @@
private final void handle_chunking()
{
- int remainder = 4 - (index % 4);
- int aligned_pos = (remainder != 4) ? pos + remainder : pos;
+ int remainder = 4 - (this.index % 4);
+ int aligned_pos = (remainder != 4) ? this.pos + remainder : this.pos;
- if (chunk_end_pos >= pos && chunk_end_pos <= aligned_pos)
+ if (this.chunk_end_pos >= pos && this.chunk_end_pos <= aligned_pos)
{
- chunk_end_pos = -1;
- int saved_pos = pos;
- int saved_index = index;
- int tag = read_long();
+ this.adjust_positions();
+ }
+ }
- if (tag < 0) {
+ private final void adjust_positions()
+ {
+ this.chunk_end_pos = -1;
+ int saved_pos = this.pos;
+ int saved_index = this.index;
+ int tag = this.read_long();
+ if (tag < 0)
+ {
// tag is an end tag
-
- if (-tag > valueNestingLevel)
+ if (-tag > this.valueNestingLevel)
{
throw new INTERNAL
(
"received end tag " + tag +
" with value nesting level " +
- valueNestingLevel
+ this.valueNestingLevel
);
}
- valueNestingLevel = -tag;
- valueNestingLevel--;
-
- if (valueNestingLevel > 0)
+ this.valueNestingLevel = -tag;
+ this.valueNestingLevel--;
+ if (this.valueNestingLevel > 0)
{
- chunk_end_pos = pos;
- handle_chunking();
+ this.chunk_end_pos = pos;
+ this.handle_chunking();
}
}
else if (tag > 0 && tag < 0x7fffff00)
{
// tag is the chunk size tag of another chunk
-
- chunk_end_pos = pos + tag;
+ this.chunk_end_pos = this.pos + tag;
}
else // (tag == 0 || tag >= 0x7fffff00)
{
// tag is the null value tag or the value tag of a nested value
-
- pos = saved_pos; // "unread" the tag
- index = saved_index;
- }
+ this.pos = saved_pos; // "unread" the tag
+ this.index = saved_index;
}
}
@@ -711,7 +712,11 @@
public final boolean read_boolean()
{
- handle_chunking();
+ // handle_chunking();
+ if (this.chunk_end_pos == this.pos)
+ {
+ this.adjust_positions();
+ }
index++;
byte value = buffer[pos++];

BIN
jacorb-2.3.1-src.zip Normal file

Binary file not shown.

View File

@ -0,0 +1,13 @@
--- src/org/jacorb/util/Version.java.orig 2009-07-29 15:55:13.000000000 -0400
+++ src/org/jacorb/util/Version.java 2009-07-29 15:56:08.000000000 -0400
@@ -28,8 +28,8 @@
*/
public final class Version
{
- public static final String version = "2.3.1";
- public static final String date = "27-May-2009";
+ public static final String version = "2.3.1 (JBoss patch01)";
+ public static final String date = "29-Jul-2009";
public static final String longVersion = version + ", " + date;
public static final String yearString = "1997-2009";
}

80
jacorb-2.3.1.pom Normal file
View File

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.jacorb</groupId>
<artifactId>jacorb-parent</artifactId>
<version>2.3.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jacorb</groupId>
<artifactId>jacorb</artifactId>
<version>2.3.1</version>
<name>JacORB :: Core</name>
<packaging>jar</packaging>
<properties>
<picocontainer.version>1.2</picocontainer.version>
</properties>
<dependencies>
<dependency>
<groupId>tanukisoft</groupId>
<artifactId>wrapper</artifactId>
<version>3.2.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>picocontainer</groupId>
<artifactId>picocontainer</artifactId>
<version>1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>nanocontainer</groupId>
<artifactId>nanocontainer</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>nanocontainer</groupId>
<artifactId>nanocontainer-remoting</artifactId>
<version>1.0-RC-1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.beanshell</groupId>
<artifactId>bsh</artifactId>
<version>1.3.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
<version>3.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.6</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.jacorb</groupId>
<artifactId>jacorb-parent</artifactId>
<version>2.3.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jacorb</groupId>
<artifactId>jacorb-idl-compiler</artifactId>
<version>2.3.1</version>
<name>JacORB :: IDL</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>avalon</groupId>
<artifactId>avalon-logkit</artifactId>
<version>1.2</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

259
jacorb-parent-2.3.1.pom Normal file
View File

@ -0,0 +1,259 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jacorb</groupId>
<artifactId>jacorb-parent</artifactId>
<version>2.3.1</version>
<description>JacORB</description>
<name>JacORB</name>
<url>http://www.jacorb.org/</url>
<developers>
<developer>
<name>JacORB team</name>
<email>jacorb-developer@lists.spline.inf.fu-berlin.de</email>
</developer>
</developers>
<licenses>
<license>
<name>GNU LESSER GENERAL PUBLIC LICENSE Version 2</name>
<url>http://www.gnu.org/copyleft/lesser.html</url>
</license>
</licenses>
<packaging>pom</packaging>
<properties>
</properties>
<modules>
<module>idl-src</module>
<module>core-src</module>
</modules>
<build>
<defaultGoal>install</defaultGoal>
<!-- Prefered dependencies version of plugins -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<!-- Use GNU Tar -->
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
<version>2.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-one-plugin</artifactId>
<version>1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>2.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-repository-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.8.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-verifier-plugin</artifactId>
<version>1.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- Compile from 1.5 sources to 1.5 bytecode -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<encoding>UTF-8</encoding>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<!-- Attach the sources to the project -->
<!-- - - - - - - - - - - - - - - - - - - - - -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<!-- Attach the javadoc to the project -->
<!-- - - - - - - - - - - - - - - - - - - - - -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<!-- Sign all the artifacts -->
<!-- - - - - - - - - - - - - - - - - - - - - -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- Source code management -->
<scm>
<connection>scm:svn:cvs://www.jacorb.org/cvs</connection>
<developerConnection>scm:svn:cvs+ssh://${maven.username}@www.jacorb.org/cvs</developerConnection>
<url>http://www.jacorb.org/download.html</url>
</scm>
</project>

73
jacorb.spec Normal file
View File

@ -0,0 +1,73 @@
Name: jacorb
Version: 2.3.1
Release: 1
Summary: The Java implementation of the OMG's CORBA standard
License: LGPLv2
URL: http://www.jacorb.org/index.html
Source0: http://www.jacorb.org/releases/%{version}/jacorb-%{version}-src.zip
Source1: https://repo1.maven.org/maven2/org/jacorb/jacorb/%{version}/jacorb-parent-%{version}.pom
Source2: https://repo1.maven.org/maven2/org/jacorb/jacorb/%{version}/jacorb-%{version}.pom
Source3: https://repo1.maven.org/maven2/org/jacorb/jacorb-idl-compiler/%{version}/jacorb-idl-compiler-%{version}.pom
Patch0: jacorb-2.3.1-Implement-a-few-methods-in-GSSUPContextSpi-to-make-i.patch
Patch1: jacorb-2.3.1-version.patch
Patch2: jacorb-2.3.1-Set-encoding-to-UTF-8-when-generating-javadoc.patch
Patch3: jacorb-2.3.1-Removed-Class-Path-entry-from-MANIFEST.MF.patch
Patch4: jacorb-2.3.1-primaddress_port.patch
Patch5: jacorb-2.3.1-read_boolean.patch
Patch6: JDK8-support.patch
BuildArch: noarch
BuildRequires: javapackages-local java-devel ant antlr-tool avalon-logkit bsh slf4j
%description
This package contains the Java implementation of the OMG's CORBA standard
%package javadoc
Summary: Javadocs for %{name}
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jacorb-%{version}
cp %{SOURCE1} jacorb-parent.pom
cp %{SOURCE2} jacorb.pom
cp %{SOURCE3} jacorb-idl-compiler.pom
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
find -name '*.zip' -exec rm -f '{}' \;
%patch0 -p1
%patch1 -p0
%patch2 -p1
%patch3 -p0
%patch4 -p0
%patch5 -p0
%patch6 -p1
sed -i 's|,notification||' src/org/jacorb/build.xml
ln -s $(build-classpath antlr) lib/antlr-2.7.2.jar
ln -s $(build-classpath slf4j/api) lib/slf4j-api-1.5.6.jar
%mvn_alias "org.jacorb:" "jacorb:"
%build
export CLASSPATH=$(build-classpath avalon-logkit slf4j/api)
sed -i "s|>avalon<|>avalon-logkit<|g" jacorb-idl-compiler.pom
%pom_remove_dep "tanukisoft:wrapper" jacorb.pom
%pom_remove_dep "picocontainer:picocontainer" jacorb.pom
%pom_remove_dep "nanocontainer:nanocontainer" jacorb.pom
%pom_remove_dep "nanocontainer:nanocontainer-remoting" jacorb.pom
ant all doc
%install
%mvn_artifact jacorb-parent.pom
%mvn_artifact jacorb.pom lib/jacorb.jar
%mvn_artifact jacorb-idl-compiler.pom lib/idl.jar
%mvn_install -J doc/api
%files -f .mfiles
%dir %{_javadir}/%{name}
%doc doc/LICENSE
%files javadoc -f .mfiles-javadoc
%doc doc/LICENSE
%changelog
* Wed Sep 2 2020 Ge Wang <wangge20@huawei.com> - 2.3.1-1
- Package init

4
jacorb.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA