Skip to content

Commit

Permalink
Fixes #3639 - Rename WaSP maven module to eclipse-wasp (#3640)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Jan 31, 2024
1 parent 7158c14 commit 4fd9bd8
Show file tree
Hide file tree
Showing 26 changed files with 43 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ public class ExpresslyExtension implements WebApplicationExtension {
*/
@Override
public void configure(WebApplication webApplication) {
LOGGER.log(TRACE, "Initializing Expressly extension");
LOGGER.log(TRACE, "Configuring Expressly extension");
}
}
2 changes: 1 addition & 1 deletion extension/wasp/pom.xml → extension/eclipse-wasp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<version>24.2.0-SNAPSHOT</version>
</parent>

<artifactId>piranha-extension-wasp</artifactId>
<artifactId>piranha-extension-eclipse-wasp</artifactId>
<packaging>jar</packaging>

<name>Piranha - Extension - Eclipse WaSP</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import cloud.piranha.core.api.WebApplication;
import cloud.piranha.core.api.WebApplicationExtension;
import jakarta.servlet.ServletContainerInitializer;
import static java.lang.System.Logger.Level.TRACE;

/**
* The extension that will enable WaSP integration (aka. JSP).
Expand All @@ -54,8 +55,9 @@ public class WaspExtension implements WebApplicationExtension {
*/
@Override
public void configure(WebApplication webApplication) {
LOGGER.log(TRACE, "Configuring WaSP extension");

try {

webApplication.addInitializer(
webApplication.getClassLoader()
.loadClass(WaspInitializer.class.getName())
Expand All @@ -64,7 +66,7 @@ public void configure(WebApplication webApplication) {
.newInstance());

} catch (ReflectiveOperationException | SecurityException ex) {
LOGGER.log(WARNING, "Unable to enable the WaSP extension", ex);
LOGGER.log(WARNING, "Unable to configure the WaSP extension", ex);
}
}
}
12 changes: 6 additions & 6 deletions extension/micro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
<artifactId>piranha-extension-eclipse-expressly</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-eclipse-wasp</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-naming-cdi</artifactId>
Expand Down Expand Up @@ -83,12 +89,6 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-wasp</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-webxml</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<module>coreprofile</module>
<module>default-datasource</module>
<module>eclipse-expressly</module>
<module>eclipse-wasp</module>
<module>eclipselink</module>
<module>eleos</module>
<module>exousia</module>
Expand All @@ -41,7 +42,6 @@
<module>soteria</module>
<module>tempdir</module>
<module>transact</module>
<module>wasp</module>
<module>webprofile</module>
<module>webxml</module>
<module>welcomefile</module>
Expand Down
12 changes: 6 additions & 6 deletions extension/servlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-eclipse-wasp</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-naming</artifactId>
Expand Down Expand Up @@ -86,12 +92,6 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-wasp</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-webxml</artifactId>
Expand Down
12 changes: 6 additions & 6 deletions extension/webprofile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-eclipse-wasp</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-eclipselink</artifactId>
Expand Down Expand Up @@ -104,12 +110,6 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-wasp</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-webxml</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension/webxml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-wasp</artifactId>
<artifactId>piranha-extension-eclipse-wasp</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@
<artifactId>expressly</artifactId>
<version>${expressly.version}</version>
</dependency>
<!-- Eclipse WaSP -->
<dependency>
<groupId>org.glassfish.wasp</groupId>
<artifactId>wasp</artifactId>
<version>${wasp.version}</version>
</dependency>

<!-- Eclipse Exousia -->
<dependency>
Expand Down Expand Up @@ -366,12 +372,6 @@
<version>${tyrus.version}</version>
</dependency>

<!-- Eclipse WaSP -->
<dependency>
<groupId>org.glassfish.wasp</groupId>
<artifactId>wasp</artifactId>
<version>${wasp.version}</version>
</dependency>

<!-- Eclipse Yasson -->
<dependency>
Expand Down
17 changes: 11 additions & 6 deletions test/debug/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-eclipse-expressly</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-eclipse-wasp</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-eleos</artifactId>
Expand Down Expand Up @@ -138,12 +149,6 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-wasp</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>cloud.piranha.extension</groupId>
<artifactId>piranha-extension-webxml</artifactId>
Expand Down

0 comments on commit 4fd9bd8

Please sign in to comment.