Skip to content

Instantly share code, notes, and snippets.

$ ./mvnw clean verify -Dswarm.logging=DEBUG
[...]

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running lifelog.api.EntryControllerIT
Dependencies not bundled, will resolve from local M2REPO
03:37:27,612 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
$ mvn clean verify -pl security/jaas -am
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] WildFly Swarm Examples: Parent
[INFO] WildFly Swarm Examples: Base
[INFO] WildFly Swarm Examples: Security parent
[INFO] WildFly Swarm Examples: Security JAAS
Container container = new Container();
MessagingFraction messagingFraction = MessagingFraction.createDefaultFraction();
Server server = messagingFraction
.subresources()
.server("default");
server
.httpAcceptor(new HTTPAcceptor("http-acceptor")
@emag
emag / cannot-inhibit-default-datasource-with-mysql.md
Created May 18, 2016 15:38
cannot inhibit default datasource with mysql
$ ./mvnw clean wildfly-swarm:run
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building wildfly-swarm-jpa-mysql-demo 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wildfly-swarm-jpa-mysql-demo ---
[INFO] Deleting /home/tanabe/workspace/wildfly-swarm-jpa-mysql-demo/target
@emag
emag / cannot-inhibit-default-datasource.md
Created May 14, 2016 16:36
cannot inhibit default datasource
$ ./mvnw clean wildfly-swarm:run 
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building wildfly-swarm-jpa-postgresql-demo 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wildfly-swarm-jpa-postgresql-demo ---
[INFO] Deleting /home/tanabe/workspace/wildfly-swarm-jpa-postgresql-demo/target
@emag
emag / error.md
Last active April 27, 2016 17:34
$ git clone https://github.com/wildfly-swarm/wildfly-swarm-examples.git \
&& cd wildfly-swarm-examples \
&& mvn wildfly-swarm:run -pl jaxrs/health -am
Cloning into 'wildfly-swarm-examples'...
remote: Counting objects: 7320, done.
remote: Total 7320 (delta 0), reused 0 (delta 0), pack-reused 7320
Receiving objects: 100% (7320/7320), 18.21 MiB | 3.10 MiB/s, done.
Resolving deltas: 100% (2464/2464), done.
Checking connectivity... done.
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running wildflyswarm.multipart.MediaControllerIT
Dependencies not bundled, will resolve from local M2REPO
23:42:32,921 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
23:42:33,040 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 2.0.10.Final "Kenny" starting
2016-03-27 23:42:33,599 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 16) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
2016-03-27 23:42:33,613 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 17) WFLYSEC0002: Activating Security Subsystem
$ git clone https://github.com/emag/wildfly-swarm-quickstarts.git \
    && cd wildfly-swarm-quickstarts \
    && git checkout -b jpa-duplicate-service-exception-with-arq-5 origin/jpa-duplicate-service-exception-with-arq-5 \
    && mvn clean verify -pl jpa-duplicate-service-exception-with-arq
[...]
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running wildflyswarm.jpa_duplicate_service_exception_with_arq.ArqIT
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.demo</groupId>
<artifactId>demo</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
@emag
emag / log.md
Created January 24, 2016 04:15
AmbiguousResolutionException thrown with swagger fraction
$ git clone https://github.com/emag/wildfly-swarm-examples.git \
    && cd wildfly-swarm-examples \
    && git checkout -b  swagger-AmbiguousResolutionException  origin/swagger-AmbiguousResolutionException \
    && mvn clean install -pl base \
    && mvn wildfly-swarm:run -pl jaxrs/swagger
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building WildFly Swarm Examples: JAX-RS swagger 1.0.0.Alpha7-SNAPSHOT