update to version 1.1.2

This commit is contained in:
wang--ge 2024-01-09 10:31:43 +08:00
parent 173f8491bb
commit 5d1ab2729d
4 changed files with 142 additions and 4 deletions

View File

@ -1,16 +1,21 @@
%global bundle org.apache.felix.gogo.command
Name: felix-gogo-command
Version: 1.0.2
Version: 1.1.2
Release: 1
Summary: Apache Felix Gogo command line shell for OSGi
License: ASL 2.0
URL: http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html
Source0: https://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.gogo.command/%{version}/org.apache.felix.gogo.command-%{version}-source-release.tar.gz
Source1: https://repo1.maven.org/maven2/org/apache/felix/gogo-parent/6/gogo-parent-6.pom
BuildRequires: maven-local mvn(org.apache.felix:gogo-parent:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.felix:org.apache.felix.gogo.runtime)
BuildRequires: mvn(org.mockito:mockito-core) mvn(org.osgi:osgi.cmpn) mvn(org.osgi:osgi.core)
BuildRequires: mvn(org.eclipse.aether:aether-connector-basic)
BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon)
BuildRequires: mvn(org.apache.maven.wagon:wagon-http)
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
BuildArch: noarch
%description
@ -26,12 +31,12 @@ This package contains API documentation for %{name}.
%prep
%setup -q -n %{bundle}-%{version}
mkdir ../gogo-parent
cp %{SOURCE1} ../gogo-parent/pom.xml
%mvn_file : felix/%{bundle}
%pom_change_dep :org.osgi.core :osgi.core::provided
%pom_change_dep :org.osgi.compendium :osgi.cmpn::provided
%build
%mvn_build
%mvn_build -b
%install
%mvn_install
@ -43,5 +48,8 @@ This package contains API documentation for %{name}.
%license LICENSE NOTICE
%changelog
* Tue Jan 9 2024 Ge Wang <wang__ge@126.com> - 1.1.2-1
- Update to version 1.1.2
* Mon Aug 3 2020 leiju <leiju4@huawei.com> - 1.0.2-1
- Package init

130
gogo-parent-6.pom Normal file
View File

@ -0,0 +1,130 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<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.apache.felix</groupId>
<artifactId>felix-parent</artifactId>
<version>5</version>
<relativePath>../pom/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<name>Apache Felix Gogo</name>
<description>Apache Felix Gogo Subproject</description>
<artifactId>gogo-parent</artifactId>
<version>6</version>
<url>http://felix.apache.org/</url>
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/felix-dev.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/felix-dev.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=felix-dev.git</url>
<tag>gogo-parent-6</tag>
</scm>
<properties>
<felix.java.version>7</felix.java.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<bnd.version>4.1.0</bnd.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.namespace.service</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.event</artifactId>
<version>1.3.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.log</artifactId>
<version>1.3.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.annotation</artifactId>
<version>7.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>6.0.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.2.29</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>4.1.0</version>
<extensions>true</extensions>
<configuration>
<obrRepository>NONE</obrRepository>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
<Include-Resource>{maven-resources},META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource>
<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
<_removeheaders>Private-Package,Ignore-Package,Include-Resource</_removeheaders>
</instructions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>