Skip to content

Commit

Permalink
Merge pull request #240 from Ladicek/release-fix
Browse files Browse the repository at this point in the history
release fix
  • Loading branch information
Ladicek authored Aug 17, 2022
2 parents 77b4af4 + 3e896dc commit 2ef0be7
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/org/jboss/jandex/IndexView.java
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ default Collection<ClassInfo> getKnownUsers(Class<?> clazz) {
* @param packageName package name in the common, dot-separated form (e.g. {@code com.example.foobar});
* {@code null} means the unnamed package
* @return immutable collection of classes present in given package, never {@code null}
* @since 3.0
*/
Collection<ClassInfo> getClassesInPackage(DotName packageName);

Expand All @@ -511,6 +512,7 @@ default Collection<ClassInfo> getKnownUsers(Class<?> clazz) {
* @param packageName package name in the common, dot-separated form (e.g. {@code com.example.foobar});
* {@code null} means the unnamed package
* @return immutable collection of classes present in given package, never {@code null}
* @since 3.0
*/
default Collection<ClassInfo> getClassesInPackage(String packageName) {
return getClassesInPackage(DotName.createSimple(packageName));
Expand All @@ -531,6 +533,7 @@ default Collection<ClassInfo> getClassesInPackage(String packageName) {
* @param packageName package name in the common, dot-separated form (e.g. {@code com.example.foobar});
* {@code null} means the unnamed package
* @return immutable set of subpackages of given package, never {@code null}
* @since 3.0
*/
Set<DotName> getSubpackages(DotName packageName);

Expand All @@ -549,6 +552,7 @@ default Collection<ClassInfo> getClassesInPackage(String packageName) {
* @param packageName package name in the common, dot-separated form (e.g. {@code com.example.foobar});
* {@code null} means the unnamed package
* @return immutable set of subpackages of given package, never {@code null}
* @since 3.0
*/
default Set<DotName> getSubpackages(String packageName) {
return getSubpackages(DotName.createSimple(packageName));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public final String name() {
* Returns the type of this parameter.
*
* @return the type of this parameter
* @since 3.0
*/
public final Type type() {
return method.parameterType(position);
Expand Down
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,17 @@
</pluginManagement>
</build>

<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>!release.maven.bug.always.be.active</name>
</property>
</activation>
<modules>
<module>release</module>
</modules>
</profile>
</profiles>
</project>
15 changes: 15 additions & 0 deletions release/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.smallrye</groupId>
<artifactId>jandex-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>

<artifactId>jandex-release</artifactId>
<packaging>pom</packaging>

<name>Empty Release Project to Avoid Maven Bug</name>
<description>Empty Release Project to Avoid Maven Bug</description>
</project>

0 comments on commit 2ef0be7

Please sign in to comment.