Skip to content

Instantly share code, notes, and snippets.

Avatar
🐉
I'm the senior hardcore rockstar ninja guru inquisitor

Ladislav Thon Ladicek

🐉
I'm the senior hardcore rockstar ninja guru inquisitor
  • Red Hat
  • Czech Republic
View GitHub Profile
@Ladicek
Ladicek / pom.xml
Last active Dec 13, 2015
annotation processor debugging with Maven
View pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005</compilerArgument>
<fork>true</fork>
</configuration>
</plugin>
@Ladicek
Ladicek / fixup_committer_date.sh
Last active Dec 13, 2015 — forked from bfoz/fixup_committer_date.sh
force GIT_COMMITTER_DATE = GIT_AUTHOR_DATE
View fixup_committer_date.sh
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"'
View gist:f19d89b765f7f1831e44b56198e1985e
2016-10-05 14:59:11,075 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: java.lang.NullPointerException
at org.jboss.as.controller.AbstractControllerService.finishBoot(AbstractControllerService.java:451)
at org.jboss.as.server.ServerService.boot(ServerService.java:368)
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
at java.lang.Thread.run(Thread.java:745)
View pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>cz.ladicek</groupId>
<artifactId>tinySwarmWebapp</artifactId>
<version>1.0.0-SNAPSHOT</version>
View gist:4d1af089ffbc51c28853a4f8f8d824d6
Wed Aug 02 14:36:29 CEST 2017 INFO [org.wildfly.swarm.bootstrap] (main) Dependencies not bundled; resolving from M2REPO.
2017-08-02 14:36:29,794 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Arquillian - STABLE org.wildfly.swarm:arquillian:2017.8.1
2017-08-02 14:36:29,799 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Logging - STABLE org.wildfly.swarm:logging:2017.8.1
2017-08-02 14:36:29,799 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Topology UI - STABLE org.wildfly.swarm:topology-webapp:2017.8.1
2017-08-02 14:36:29,799 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Undertow - STABLE org.wildfly.swarm:undertow:2017.8.1
2017-08-02 14:36:30,947 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
2017-08-02 14:36:30,993 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Swarm 2017.8.1 (WildFly Core 2.2.1.Final) sta
View gist:d98614f33b6025ffe91a7e3725c44998
Name: jenkins-slave-cg0j5-g8b5z
Namespace: lthon-jenkins
Security Policy: restricted
Node: ip-172-31-69-195.us-east-2.compute.internal/172.31.69.195
Start Time: Wed, 16 Aug 2017 14:15:53 +0200
Labels: jenkins=slave
jenkins/maven.fantasianplus_pokus_wfswarm_master.5=true
Status: Terminating (expires Wed, 16 Aug 2017 14:20:17 +0200)
Termination Grace Period: 30s
IP: 10.129.25.181
View gist:6ecffb87900d87f0e5f4e183b18c735a
+ du -h /root/.mvnrepository
36K /root/.mvnrepository/xmlpull/xmlpull/1.1.3.1
40K /root/.mvnrepository/xmlpull/xmlpull
44K /root/.mvnrepository/xmlpull
92K /root/.mvnrepository/oro/oro/2.0.8
96K /root/.mvnrepository/oro/oro
100K /root/.mvnrepository/oro
180K /root/.mvnrepository/jdom/jdom/1.0
184K /root/.mvnrepository/jdom/jdom
188K /root/.mvnrepository/jdom
View a.java
SSLContext sslContext = SSLContexts.custom()
.loadTrustMaterial((TrustStrategy) (chain, authType) -> true)
.build();
try (CloseableHttpClient httpClient = HttpClients.custom()
.setSSLContext(sslContext)
.setSSLHostnameVerifier(NoopHostnameVerifier.INSTANCE)
.build()) {
String response = Executor.newInstance(httpClient)
.execute(Request.Get("https://localhost:8443/"))
View config.json
{
"addons": {
"admin-user": {
"Name": "admin-user",
"Enabled": true,
"Priority": 0
},
"registry-route": {
"Name": "registry-route",
"Enabled": true,
View gist:f75d25bfc652dfcc583cebf8c926001c
diff --git a/pom.xml b/pom.xml
index 53a34956b..dc6427730 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1122,6 +1122,7 @@
<module>boms</module>
<module>boms/bom</module>
+<!--
<module>boms/bom-deprecated</module>