diff --git a/NOTICE-CC-BY.txt b/NOTICE-CC-BY.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab3e0dd07391b76f98a87c4ea7a661560e12f448
--- /dev/null
+++ b/NOTICE-CC-BY.txt
@@ -0,0 +1,4 @@
+Copyright (c) 2005 Brian Goetz
+Released under the Creative Commons Attribution License
+ (http://creativecommons.org/licenses/by/2.5)
+Official home: http://www.jcip.net
diff --git a/jsr-305-3.0.2.tar.gz b/jsr-305-3.0.2.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0ff1aae25b569c64e99c35d2e0e805699aaf7e0c
Binary files /dev/null and b/jsr-305-3.0.2.tar.gz differ
diff --git a/jsr-305.spec b/jsr-305.spec
new file mode 100644
index 0000000000000000000000000000000000000000..0bdac954da942cda4eec60b4da712198d512a116
--- /dev/null
+++ b/jsr-305.spec
@@ -0,0 +1,71 @@
+%define anolis_release 1
+%bcond_without bootstrap
+
+Name: jsr-305
+Version: 3.0.2
+Release: %{anolis_release}%{?dist}
+Summary: Correctness annotations for Java code
+
+# The majority of code is BSD-licensed, but some Java sources
+# are licensed under CC-BY license, see: $ grep -r Creative .
+License: BSD and CC-BY
+URL: https://code.google.com/p/jsr-305
+BuildArch: noarch
+ExclusiveArch: %{java_arches} noarch
+
+# ./generate-tarball.sh
+Source0: %{name}-%{version}.tar.gz
+# File containing URL to CC-BY license text
+Source1: NOTICE-CC-BY.txt
+
+%if %{with bootstrap}
+BuildRequires: javapackages-bootstrap-openjdk8
+%else
+BuildRequires: maven-local-openjdk8
+BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
+%endif
+
+%description
+This package contains reference implementations, test cases, and other
+documents for Java Specification Request 305: Annotations for Software Defect
+Detection.
+
+%{?javadoc_package}
+
+%prep
+%setup -q
+cp %{SOURCE1} NOTICE-CC-BY
+
+%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/*" 1.6
+
+sed -i 's|com\.google\.code\.findbugs|org.jsr-305|' ri/pom.xml
+sed -i 's|jsr305|ri|' ri/pom.xml
+
+%mvn_file :ri %{name}
+%mvn_alias :ri com.google.code.findbugs:jsr305
+%mvn_package ":{proposedAnnotations,tcl}" __noinstall
+
+# do not build sampleUses module - it causes Javadoc generation to fail
+%pom_disable_module sampleUses
+
+%pom_remove_parent ri
+%pom_add_parent org.jsr-305:jsr-305:0.1-SNAPSHOT ri
+
+%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin ri
+%pom_remove_plugin org.apache.maven.plugins:maven-source-plugin ri
+%pom_remove_plugin org.apache.maven.plugins:maven-javadoc-plugin ri
+%pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin ri
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%license ri/LICENSE NOTICE-CC-BY
+%doc sampleUses
+
+%changelog
+* Sun Apr 16 2023 Funda Wang - 3.0.2-1
+- Import package for anolis 23