diff --git a/build/pom.xml b/build/pom.xml index 20cd285..bd25962 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -36,14 +36,28 @@ wildfly-vertx-feature-pack zip + + ${project.groupId} + wildfly-vertx-feature-pack-manifest + ${project.version} + manifest + yaml + provided + + + * + * + + + - ${project.artifactId}-${project.version} + ${server.name} - org.jboss.galleon - galleon-maven-plugin + org.wildfly.plugins + wildfly-maven-plugin server-provisioning @@ -52,79 +66,68 @@ compile - ${project.build.directory}/${project.artifactId}-${project.version} - false - - ${galleon.log.time} - ${galleon.offline} - + ${project.build.directory}/${project.artifactId}-${project.version} + true + true + ${galleon.fork.embedded} passive+ preview preview true - + ${project.groupId} wildfly-vertx-feature-pack + ${project.version} + false true org.wildfly wildfly-ee-galleon-pack ${version.org.wildfly} - - docs.examples.configs - modules.all - - - - standalone - standalone.xml - - + true org.wildfly wildfly-galleon-pack ${version.org.wildfly} - - docs.examples.configs - modules.all - - - - standalone - standalone-microprofile.xml - - + true - - - standalone - standalone.xml - - jaxrs-server - vertx - - - - standalone - standalone-microprofile.xml - - jaxrs-server - microprofile-platform - vertx - - - + + + + ${project.groupId} + wildfly-vertx-feature-pack-manifest + ${project.version} + + + + + + + vertx-subsystem-init + + execute-commands + + compile + + true + ${project.build.directory}/${project.artifactId}-${project.version} + + embed-server --stability=preview + /extension=org.wildfly.extension.vertx:add + /subsystem=vertx:add + /subsystem=vertx/vertx=vertx:add + stop-embedded-server + - org.apache.maven.plugins maven-assembly-plugin diff --git a/galleon-feature-pack/galleon-local/src/main/resources/packages/docs.licenses/content/docs/licenses/pm/wildfly/tasks.xml b/galleon-feature-pack/galleon-local/src/main/resources/packages/docs.licenses/content/docs/licenses/pm/wildfly/tasks.xml index 3abf3a3..6414a54 100644 --- a/galleon-feature-pack/galleon-local/src/main/resources/packages/docs.licenses/content/docs/licenses/pm/wildfly/tasks.xml +++ b/galleon-feature-pack/galleon-local/src/main/resources/packages/docs.licenses/content/docs/licenses/pm/wildfly/tasks.xml @@ -7,7 +7,7 @@ - + diff --git a/galleon-feature-pack/manifest/pom.xml b/galleon-feature-pack/manifest/pom.xml new file mode 100644 index 0000000..c90a247 --- /dev/null +++ b/galleon-feature-pack/manifest/pom.xml @@ -0,0 +1,82 @@ + + + + 4.0.0 + + + org.wildfly.extras.vertx + wildfly-vertx-feature-pack-parent + 1.0.3.Final-SNAPSHOT + + + wildfly-vertx-feature-pack-manifest + 1.0.3.Final-SNAPSHOT + + WildFly Vertx Extension - WildFly Vertx Manifest + The WildFly channel manifest for the feature pack of the Vertx extension. + pom + + + + true + + + + + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-channel-resources + process-resources + + copy-resources + + + ${project.basedir}/target + + + ${basedir}/src/main/resources + + ${project.artifactId}.yaml + + true + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + + attach-manifest + package + + attach-artifact + + + + + ${project.build.directory}/${project.artifactId}.yaml + yaml + manifest + + + + + + + + + + diff --git a/galleon-feature-pack/manifest/src/main/resources/wildfly-vertx-feature-pack-manifest.yaml b/galleon-feature-pack/manifest/src/main/resources/wildfly-vertx-feature-pack-manifest.yaml new file mode 100644 index 0000000..69bc558 --- /dev/null +++ b/galleon-feature-pack/manifest/src/main/resources/wildfly-vertx-feature-pack-manifest.yaml @@ -0,0 +1,15 @@ +schemaVersion: "1.0.0" +name: "${project.artifactId}" +id: "${project.groupId}:${project.artifactId}" +description: "The WildFly vertx channel to upgrade components and dependencies" +streams: + # wildfly-vertx-feature-pack dependencies + - groupId: "${project.groupId}" + artifactId: "wildfly-vertx-extension" + version: "${project.version}" + - groupId: "io.vertx" + artifactId: "vertx-core" + version: "${version.io.vertx.vertx}" + - groupId: "io.smallrye.reactive" + artifactId: "smallrye-mutiny-vertx-core" + version: "${version.io.smallrye.smallrye-mutiny-vertx}" \ No newline at end of file diff --git a/galleon-feature-pack/pom.xml b/galleon-feature-pack/pom.xml index 187fcb6..be731cc 100644 --- a/galleon-feature-pack/pom.xml +++ b/galleon-feature-pack/pom.xml @@ -88,6 +88,7 @@ galleon-local galleon-content wildfly-feature-pack + manifest diff --git a/pom.xml b/pom.xml index dd843a0..53f4811 100644 --- a/pom.xml +++ b/pom.xml @@ -28,18 +28,18 @@ UTF-8 - 34.0.0.Final - 26.0.1.Final - 1.6.0.Final - 4.5.9 - 3.13.0 + 35.0.0.Final + 27.0.0.Final + 1.7.0.Final + 4.5.11 + 3.15.0 2.5.0 4.13.1 6.0.4.Final - 7.0.0.Final + 7.3.1.Final 2.4.1.Final 5.0.0.Final 3.2.0 @@ -50,8 +50,7 @@ false posix - wildfly - ${project.version} + ${project.basedir}/build/wildfly-vertx-build-${project.version}/ WildFly Vertx Extension @@ -60,9 +59,9 @@ - scm:git:https://github.com/gaol/wildfly-vertx-extension.git - scm:git:https://github.com/gaol/wildfly-vertx-extension.git - https://github.com/gaol/wildfly-vertx-extension/ + scm:git:https://github.com/wildfly-extras/wildfly-vertx-feature-pack.git + scm:git:https://github.com/wildfly-extras/wildfly-vertx-feature-pack.git + https://github.com/wildfly-extras/wildfly-vertx-feature-pack HEAD diff --git a/testsuite/integration/basic/pom.xml b/testsuite/integration/basic/pom.xml index f6a54ad..1e1e1a5 100644 --- a/testsuite/integration/basic/pom.xml +++ b/testsuite/integration/basic/pom.xml @@ -41,89 +41,36 @@ - org.jboss.galleon - galleon-maven-plugin - - - server-provisioning - - provision - - compile - - ${project.build.directory}/wildfly - false - ${galleon.log.time} - true - - - ${galleon.fork.embedded} - passive+ - true - - - - true - org.wildfly - wildfly-ee-galleon-pack - ${version.org.wildfly} - - docs.examples.configs - modules.all - - - - org.wildfly - wildfly-galleon-pack - ${version.org.wildfly} - - docs.examples.configs - modules.all - - - - ${project.groupId} - wildfly-vertx-feature-pack - ${project.version} - - - - - standalone - standalone.xml - - jaxrs-server - jmx-remoting - ejb-lite - vertx - - - - - - - - - org.wildfly.plugins - wildfly-maven-plugin - - true - - + org.apache.maven.plugins + maven-resources-plugin + - vertx-subsystem-init - - execute-commands - - compile + ts.copy-wildfly + true + generate-test-resources + copy-resources - true - ${project.build.directory}/wildfly - - embed-server --stability=preview - /subsystem=vertx/vertx=vertx:add - stop-embedded-server - + ${jboss.dist} + true + + + ${basedir}/../../../build/target/wildfly-vertx-build-${project.version} + + bin/client/ + bin/*.jar + bin/*.sh + bin/*.bat + bin/*.ps1 + docs/licenses/ + docs/schema/ + docs/examples/configs/ + welcome-content/*.png + standalone/data + standalone/log + standalone/tmp + + + diff --git a/testsuite/integration/basic/src/test/java/org/wildfly/extension/vertx/test/basic/VertxInjectionTestCase.java b/testsuite/integration/basic/src/test/java/org/wildfly/extension/vertx/test/basic/VertxInjectionTestCase.java index 4a65795..9cce120 100644 --- a/testsuite/integration/basic/src/test/java/org/wildfly/extension/vertx/test/basic/VertxInjectionTestCase.java +++ b/testsuite/integration/basic/src/test/java/org/wildfly/extension/vertx/test/basic/VertxInjectionTestCase.java @@ -15,7 +15,6 @@ import org.jboss.shrinkwrap.api.asset.EmptyAsset; import org.jboss.shrinkwrap.api.spec.WebArchive; import org.junit.Assert; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.wildfly.extension.vertx.test.shared.ejb.EchoService; @@ -32,7 +31,6 @@ */ @RunWith(Arquillian.class) @RunAsClient -@Ignore("io.netty.netty-transport needs to be added as dependency to module: io.smallrye.reactive.mutiny.vertx-core") public class VertxInjectionTestCase { @ArquillianResource private URL url;