Skip to content

Commit

Permalink
rc5
Browse files Browse the repository at this point in the history
  • Loading branch information
SentryMan committed Feb 7, 2023
1 parent ca6c9e5 commit 6e65622
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 50 deletions.
2 changes: 1 addition & 1 deletion blackbox-aspect/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>avaje-inject-parent</artifactId>
<groupId>io.avaje</groupId>
<version>8.12-RC4</version>
<version>8.12-RC5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion blackbox-other/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>avaje-inject-parent</artifactId>
<groupId>io.avaje</groupId>
<version>8.12-RC4</version>
<version>8.12-RC5</version>
</parent>

<artifactId>blackbox-other</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion blackbox-test-inject/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>avaje-inject-parent</artifactId>
<groupId>io.avaje</groupId>
<version>8.12-RC4</version>
<version>8.12-RC5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion inject-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-inject-parent</artifactId>
<version>8.12-RC4</version>
<version>8.12-RC5</version>
</parent>

<artifactId>avaje-inject-generator</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
final class ExternalProvider {

private static final boolean moduleLoaded = moduleCP();
private static final boolean injectAvailable = moduleCP();

private ExternalProvider() {}

Expand All @@ -30,7 +30,7 @@ private static boolean moduleCP() {

public static Set<String> registerModuleProvidedTypes(Set<String> providedTypes) {

if (!moduleLoaded) return Set.of();
if (!injectAvailable) return Set.of();

final ServiceLoader<Module> load =
ServiceLoader.load(Module.class, ExternalProvider.class.getClassLoader());
Expand Down Expand Up @@ -60,7 +60,7 @@ public static Set<String> registerModuleProvidedTypes(Set<String> providedTypes)
*/
public static void registerPluginProvidedTypes(ScopeInfo defaultScope) {

if (!moduleLoaded) return;
if (!injectAvailable) return;

for (final Plugin plugin : ServiceLoader.load(Plugin.class, Processor.class.getClassLoader())) {
for (final Class<?> provide : plugin.provides()) {
Expand Down
2 changes: 1 addition & 1 deletion inject-generator/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

requires java.compiler;
requires io.avaje.inject;
requires io.avaje.inject.prism;
requires avaje.inject.prism;

uses io.avaje.inject.spi.Plugin;
uses io.avaje.inject.spi.Module;
Expand Down
2 changes: 1 addition & 1 deletion inject-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>io.avaje</groupId>
<artifactId>avaje-inject</artifactId>
<version>8.12-RC3</version>
<version>8.12-RC4</version>
</dependency>
</dependencies>

Expand Down
39 changes: 3 additions & 36 deletions inject-prism/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-inject-parent</artifactId>
<version>8.12-RC4</version>
<version>8.12-RC5</version>
</parent>
<artifactId>avaje-inject-prism</artifactId>
<dependencies>
<dependency>
<groupId>io.avaje</groupId>
<artifactId>avaje-inject</artifactId>
<version>8.12-RC4</version>
<version>${project.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
Expand All @@ -22,37 +22,4 @@
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>io.avaje.inject.prism</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>
4 changes: 2 additions & 2 deletions inject-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-inject-parent</artifactId>
<version>8.12-RC4</version>
<version>8.12-RC5</version>
</parent>

<artifactId>avaje-inject-test</artifactId>
Expand Down Expand Up @@ -124,7 +124,7 @@
<path>
<groupId>io.avaje</groupId>
<artifactId>avaje-inject-generator</artifactId>
<version>8.12-RC4</version>
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion inject/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-inject-parent</artifactId>
<version>8.12-RC4</version>
<version>8.12-RC5</version>
</parent>

<artifactId>avaje-inject</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>io.avaje</groupId>
<artifactId>avaje-inject-parent</artifactId>
<version>8.12-RC4</version>
<version>8.12-RC5</version>
<packaging>pom</packaging>
<name>avaje inject parent</name>
<description>parent pom for avaje inject library</description>
Expand Down Expand Up @@ -49,4 +49,3 @@
</profiles>

</project>

0 comments on commit 6e65622

Please sign in to comment.