Skip to content

Instantly share code, notes, and snippets.

View Ladicek's full-sized avatar
🐉
Principal Rockstar Ninja Guru Inquisitor

Ladislav Thon Ladicek

🐉
Principal Rockstar Ninja Guru Inquisitor
  • Red Hat
  • Czech Republic
View GitHub Profile
@Ladicek
Ladicek / pom.xml
Last active December 13, 2015 13:12
annotation processor debugging with Maven
<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 December 13, 2015 13:13 — forked from bfoz/fixup_committer_date.sh
force GIT_COMMITTER_DATE = GIT_AUTHOR_DATE
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"'
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)
<?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>
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
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
+ 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
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/"))
{
"addons": {
"admin-user": {
"Name": "admin-user",
"Enabled": true,
"Priority": 0
},
"registry-route": {
"Name": "registry-route",
"Enabled": true,
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>