!3 Update to version 24.0.1

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-09-18 12:42:08 +00:00 committed by Gitee
commit 16aa895745
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 36 additions and 163 deletions

Binary file not shown.

View File

@ -1,155 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>15.0</version>
<packaging>jar</packaging>
<name>IntelliJ IDEA Annotations</name>
<description>A set of annotations used for code inspection support and code documentation.</description>
<url>http://www.jetbrains.org</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<scm>
<url>https://github.com/JetBrains/intellij-community</url>
<connection>scm:git:https://github.com/JetBrains/intellij-community.git</connection>
</scm>
<developers>
<developer>
<id>JetBrains</id>
<name>JetBrains Team</name>
<organization>JetBrains</organization>
<organizationUrl>https://www.jetbrains.com</organizationUrl>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<profiles>
<profile>
<id>java5</id>
<properties>
<java.source.level>1.5</java.source.level>
<annotations.src.dir.name>java5</annotations.src.dir.name>
</properties>
</profile>
<profile>
<id>java8</id>
<properties>
<java.source.level>1.8</java.source.level>
<annotations.src.dir.name>java8</annotations.src.dir.name>
</properties>
<build>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<delete dir="${basedir}/src/main/java" />
<mkdir dir="${basedir}/src/main/java" />
<copy todir="${basedir}/src/main/java">
<fileset dir="${basedir}/../../../../community/platform/annotations/common/src" />
<fileset dir="${basedir}/../../../../community/platform/annotations/java8/src" />
</copy>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<configuration>
<keyname>66770193</keyname>
<homedir>${basedir}/../.gnupg</homedir>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<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</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>

Binary file not shown.

30
annotations-24.0.1.pom Normal file
View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>24.0.1</version>
<name>JetBrains Java Annotations</name>
<description>A set of annotations used for code inspection support and code documentation.</description>
<url>https://github.com/JetBrains/java-annotations</url>
<scm>
<url>https://github.com/JetBrains/java-annotations</url>
<connection>scm:git:git://github.com/JetBrains/java-annotations.git</connection>
<developerConnection>scm:git:ssh://github.com:JetBrains/java-annotations.git</developerConnection>
</scm>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>JetBrains</id>
<name>JetBrains Team</name>
<organization>JetBrains</organization>
<organizationUrl>https://www.jetbrains.com</organizationUrl>
</developer>
</developers>
</project>

View File

@ -1,12 +1,12 @@
%global oname annotations
Name: jetbrains-annotations
Version: 15.0
Version: 24.0.1
Release: 1
Summary: IntelliJ IDEA Annotations
License: ASL 2.0
URL: http://www.jetbrains.org
Source0: https://archiva.interlocsolutions.com/archiva/repository/internal/org/jetbrains/annotations/15.0/annotations-15.0-sources.jar
Source1: https://archiva.interlocsolutions.com/archiva/repository/internal/org/jetbrains/annotations/15.0/annotations-15.0.pom
Source0: https://archiva.interlocsolutions.com/archiva/repository/internal/org/jetbrains/annotations/24.0.1/annotations-24.0.1-sources.jar
Source1: https://archiva.interlocsolutions.com/archiva/repository/internal/org/jetbrains/annotations/24.0.1/annotations-24.0.1.pom
Source2: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: maven-local
BuildArch: noarch
@ -29,11 +29,6 @@ mkdir -p src/main/{java,resources}
rm -rf META-INF
)
cp -p %{SOURCE1} pom.xml
%pom_remove_plugin :maven-antrun-plugin
%pom_remove_plugin :maven-gpg-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-source-plugin
%pom_xpath_inject pom:properties "<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>"
cp -p %{SOURCE2} LICENSE.txt
sed -i 's/\r//' LICENSE.txt
%mvn_file org.jetbrains:%{oname} jetbrains-annotations
@ -52,5 +47,8 @@ sed -i 's/\r//' LICENSE.txt
%license LICENSE.txt
%changelog
* Mon Sep 18 2023 Ge Wang <wang__ge@126.com> - 24.0.1-1
- update to version 24.0.1
* Mon Aug 24 2020 yaokai <yaokai13@huawei.com> - 15.0-1
- package init