[2/4] deltaspike git commit: DELTASPIKE-1322 move config internas to impl

2018-03-05 Thread struberg
DELTASPIKE-1322 move config internas to impl


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/f56845c4
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/f56845c4
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/f56845c4

Branch: refs/heads/master
Commit: f56845c4ff08be03e61d293e54d7bcae72dccf30
Parents: ca6b722
Author: Mark Struberg 
Authored: Mon Mar 5 12:29:35 2018 +0100
Committer: Mark Struberg 
Committed: Mon Mar 5 12:29:35 2018 +0100

--
 .../deltaspike/core/api/config/Config.java  |  68 
 .../core/api/config/ConfigResolver.java |  56 +++-
 .../deltaspike/core/util/ServiceUtils.java  |  17 +-
 .../activation/EditableTestDeactivator.java |  47 ---
 ...jectStageDependentClassDeactivationTest.java | 111 ---
 .../test/api/config/ConfigResolverTest.java | 333 ---
 .../test/api/config/TestConfigSource.java   | 141 
 .../api/config/TestConfigSourceProvider.java| 115 ---
 .../test/api/config/TypedResolverTest.java  | 235 -
 ...ache.deltaspike.core.spi.config.ConfigSource |  20 --
 ...taspike.core.spi.config.ConfigSourceProvider |  20 --
 .../deltaspike/core/impl/config/ConfigImpl.java | 156 +
 .../core/impl/config/ConfigProviderImpl.java|  96 ++
 ...ore.api.config.ConfigResolver.ConfigProvider |  20 ++
 .../core/api/config/ConfigResolverTest.java | 333 +++
 .../test/core/api/config/TestConfigSource.java  | 142 
 .../api/config/TestConfigSourceProvider.java| 115 +++
 .../test/core/api/config/TypedResolverTest.java | 235 +
 .../activation/EditableTestDeactivator.java |  47 +++
 ...jectStageDependentClassDeactivationTest.java | 111 +++
 ...ache.deltaspike.core.spi.config.ConfigSource |  20 ++
 ...taspike.core.spi.config.ConfigSourceProvider |  20 ++
 22 files changed, 1434 insertions(+), 1024 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/f56845c4/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
--
diff --git 
a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
 
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
new file mode 100644
index 000..2422c7b
--- /dev/null
+++ 
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
@@ -0,0 +1,68 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.deltaspike.core.api.config;
+
+import org.apache.deltaspike.core.spi.config.ConfigFilter;
+import org.apache.deltaspike.core.spi.config.ConfigSource;
+
+import java.util.List;
+
+/**
+ * The Configuration for an application/ClassLoader.
+ */
+public interface Config
+{
+
+/**
+ * @return all the current ConfigSources for this Config
+ */
+ConfigSource[] getConfigSources();
+
+/**
+ * This method can be used for programmatically adding {@link 
ConfigSource}s.
+ * It is not needed for normal 'usage' by end users, but only for 
Extension Developers!
+ *
+ * @param configSourcesToAdd the ConfigSources to add
+ */
+void addConfigSources(List configSourcesToAdd);
+
+/**
+ * @return the {@link ConfigFilter}s for the current application.
+ */
+List getConfigFilters();
+
+/**
+ * Add a {@link ConfigFilter} to the ConfigResolver. This will only affect 
the current WebApp (or more precisely the
+ * current ClassLoader and it's children).
+ *
+ * @param configFilter
+ */
+void addConfigFilter(ConfigFilter configFilter);
+
+/**
+ * Filter the configured value.
+ * This can e.g. be used for decryption.
+ * @param key the key of the config property
+ * @param value to be filtered
+ * @param forLog whether the value is intended to be presented to some 
humans somehow.
+ *   If 

[4/4] deltaspike git commit: DELTASPIKE-1322 mv more config pieces over 2 impl

2018-03-05 Thread struberg
DELTASPIKE-1322 mv more config pieces over 2 impl


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/5b07e197
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/5b07e197
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/5b07e197

Branch: refs/heads/master
Commit: 5b07e197cb808cee108e1935cae18fc199c82a9f
Parents: bd638aa
Author: Mark Struberg 
Authored: Mon Mar 5 15:51:53 2018 +0100
Committer: Mark Struberg 
Committed: Mon Mar 5 15:51:53 2018 +0100

--
 .../deltaspike/core/api/config/Config.java  | 148 +++--
 .../core/api/config/ConfigResolver.java | 615 ++-
 .../core/api/config/ConfigResolverContext.java  |  73 ---
 .../deltaspike/core/impl/config/ConfigImpl.java | 320 +-
 .../core/impl/config/ConfigResolverContext.java |  73 +++
 .../core/impl/config/TypedResolverImpl.java | 565 +
 6 files changed, 918 insertions(+), 876 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/5b07e197/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
--
diff --git 
a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
 
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
index 2422c7b..47d2c50 100644
--- 
a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
+++ 
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/Config.java
@@ -1,68 +1,80 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.deltaspike.core.api.config;
-
-import org.apache.deltaspike.core.spi.config.ConfigFilter;
-import org.apache.deltaspike.core.spi.config.ConfigSource;
-
-import java.util.List;
-
-/**
- * The Configuration for an application/ClassLoader.
- */
-public interface Config
-{
-
-/**
- * @return all the current ConfigSources for this Config
- */
-ConfigSource[] getConfigSources();
-
-/**
- * This method can be used for programmatically adding {@link 
ConfigSource}s.
- * It is not needed for normal 'usage' by end users, but only for 
Extension Developers!
- *
- * @param configSourcesToAdd the ConfigSources to add
- */
-void addConfigSources(List configSourcesToAdd);
-
-/**
- * @return the {@link ConfigFilter}s for the current application.
- */
-List getConfigFilters();
-
-/**
- * Add a {@link ConfigFilter} to the ConfigResolver. This will only affect 
the current WebApp (or more precisely the
- * current ClassLoader and it's children).
- *
- * @param configFilter
- */
-void addConfigFilter(ConfigFilter configFilter);
-
-/**
- * Filter the configured value.
- * This can e.g. be used for decryption.
- * @param key the key of the config property
- * @param value to be filtered
- * @param forLog whether the value is intended to be presented to some 
humans somehow.
- *   If filtered for logging, then secrets might get starred 
out '*'.
- * @return the filtered value
- */
-String filterConfigValue(String key, String value, boolean forLog);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * 

[1/4] deltaspike git commit: DELTASPIKE-1322 move config internas to impl

2018-03-05 Thread struberg
Repository: deltaspike
Updated Branches:
  refs/heads/master ca6b722bd -> 5b07e197c


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/f56845c4/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/TestConfigSourceProvider.java
--
diff --git 
a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/TestConfigSourceProvider.java
 
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/TestConfigSourceProvider.java
new file mode 100644
index 000..a2fda5f
--- /dev/null
+++ 
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/TestConfigSourceProvider.java
@@ -0,0 +1,115 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.deltaspike.test.core.api.config;
+
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.deltaspike.core.spi.config.ConfigSource;
+import org.apache.deltaspike.core.spi.config.ConfigSourceProvider;
+
+/**
+ * ConfigSourceProvider for basic unit-test
+ */
+public class TestConfigSourceProvider implements ConfigSourceProvider
+{
+@Override
+public List getConfigSources()
+{
+return Arrays.asList(new TestConfigSource1(), new TestConfigSource2());
+}
+
+private static class TestConfigSource1 implements ConfigSource
+{
+@Override
+public int getOrdinal()
+{
+return 1;
+}
+
+@Override
+public String getPropertyValue(String key)
+{
+if ("test".equals(key))
+{
+return "test1";
+}
+return null;
+}
+
+@Override
+public Map getProperties()
+{
+Map map = new HashMap();
+map.put("test", "test1");
+return map;
+}
+
+@Override
+public String getConfigName()
+{
+return TestConfigSourceProvider.class.getName();
+}
+
+   @Override
+   public boolean isScannable() {
+   return true;
+   }
+}
+
+private static class TestConfigSource2 implements ConfigSource
+{
+@Override
+public int getOrdinal()
+{
+return 2;
+}
+
+@Override
+public String getPropertyValue(String key)
+{
+if ("test".equals(key))
+{
+return "test2";
+}
+return null;
+}
+
+@Override
+public Map getProperties()
+{
+Map map = new HashMap();
+map.put("test", "test2");
+return map;
+}
+
+@Override
+public String getConfigName()
+{
+return TestConfigSourceProvider.class.getName();
+}
+
+   @Override
+   public boolean isScannable() {
+   return false;
+   }
+}
+}

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/f56845c4/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/TypedResolverTest.java
--
diff --git 
a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/TypedResolverTest.java
 
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/TypedResolverTest.java
new file mode 100644
index 000..dab4d3d
--- /dev/null
+++ 
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/TypedResolverTest.java
@@ -0,0 +1,235 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a 

[3/4] deltaspike git commit: DELTASPIKE-1322 switch ConfigSources over

2018-03-05 Thread struberg
DELTASPIKE-1322 switch ConfigSources over

anything which contains state is now getting moved over
from ConfigResolver to Config


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/bd638aae
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/bd638aae
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/bd638aae

Branch: refs/heads/master
Commit: bd638aae11d6723b17c7b533e3e21c2106dd581a
Parents: f56845c
Author: Mark Struberg 
Authored: Mon Mar 5 12:45:27 2018 +0100
Committer: Mark Struberg 
Committed: Mon Mar 5 12:45:27 2018 +0100

--
 .../core/api/config/ConfigResolver.java | 142 ++-
 ...ore.api.config.ConfigResolver$ConfigProvider |  20 +++
 ...ore.api.config.ConfigResolver.ConfigProvider |  20 ---
 deltaspike/modules/partial-bean/impl/pom.xml|   5 +
 deltaspike/modules/proxy/impl-asm/pom.xml   |   5 +
 5 files changed, 42 insertions(+), 150 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/bd638aae/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/ConfigResolver.java
--
diff --git 
a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/ConfigResolver.java
 
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/ConfigResolver.java
index 4339cca..fa280ef 100644
--- 
a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/ConfigResolver.java
+++ 
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/ConfigResolver.java
@@ -28,8 +28,6 @@ import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 import java.util.ServiceLoader;
-import java.util.concurrent.ConcurrentHashMap;
-import java.util.concurrent.CopyOnWriteArrayList;
 import java.util.concurrent.TimeUnit;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -39,11 +37,9 @@ import javax.enterprise.inject.Typed;
 import org.apache.deltaspike.core.api.projectstage.ProjectStage;
 import org.apache.deltaspike.core.spi.config.ConfigFilter;
 import org.apache.deltaspike.core.spi.config.ConfigSource;
-import org.apache.deltaspike.core.spi.config.ConfigSourceProvider;
 import org.apache.deltaspike.core.util.ClassUtils;
 import org.apache.deltaspike.core.util.ExceptionUtils;
 import org.apache.deltaspike.core.util.ProjectStageProducer;
-import org.apache.deltaspike.core.util.ServiceUtils;
 
 /**
  * The main entry point to the DeltaSpike configuration mechanism.
@@ -54,7 +50,7 @@ import org.apache.deltaspike.core.util.ServiceUtils;
  *
  * 
  * You can provide your own lookup paths by implementing and registering 
additional {@link PropertyFileConfig} or
- * {@link ConfigSource} or {@link ConfigSourceProvider} implementations.
+ * {@link ConfigSource} or {@link 
org.apache.deltaspike.core.spi.config.ConfigSourceProvider} implementations.
  *
  * 
  * The resolved configuration is also accessible by simple injection using the 
{@link ConfigProperty} qualifier.
@@ -79,21 +75,6 @@ public final class ConfigResolver
 
 private static final Logger LOG = 
Logger.getLogger(ConfigResolver.class.getName());
 
-/**
- * The content of this map will get lazily initiated and will hold the
- * sorted List of ConfigSources for each WebApp/EAR, etc (thus the
- * ClassLoader).
- */
-private static Map configSources
-= new ConcurrentHashMap();
-
-/**
- * The content of this map will hold the List of ConfigFilters
- * for each WebApp/EAR, etc (thus the ClassLoader).
- */
-private static Map configFilters
-= new ConcurrentHashMap();
-
 private static ConfigProvider configProvider;
 
 private ConfigResolver()
@@ -120,19 +101,7 @@ public final class ConfigResolver
  */
 public static synchronized void addConfigSources(List 
configSourcesToAdd)
 {
-// we first pickup all pre-configured ConfigSources...
-getConfigSources();
-
-// and now we can easily add our own
-ClassLoader currentClassLoader = ClassUtils.getClassLoader(null);
-ConfigSource[] configuredConfigSources = 
configSources.get(currentClassLoader);
-
-List allConfigSources = new ArrayList();
-allConfigSources.addAll(Arrays.asList(configuredConfigSources));
-allConfigSources.addAll(configSourcesToAdd);
-
-// finally put all the configSources back into the map
-configSources.put(currentClassLoader, 
sortDescending(allConfigSources));
+getConfigProvider().getConfig().addConfigSources(configSourcesToAdd);
 }
 
 /**
@@ -141,9 +110,11 @@ 

Build failed in Jenkins: DeltaSpike_AS7 #1036

2018-03-05 Thread Apache Jenkins Server
See 


Changes:

[struberg] DELTASPIKE-1322 move config internas to impl

[struberg] DELTASPIKE-1322 switch ConfigSources over

[struberg] DELTASPIKE-1322 mv more config pieces over 2 impl

--
Started by upstream project "DeltaSpike for Java EE" build number 213
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H32 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 5b07e197cb808cee108e1935cae18fc199c82a9f (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5b07e197cb808cee108e1935cae18fc199c82a9f
Commit message: "DELTASPIKE-1322 mv more config pieces over 2 impl"
 > git rev-list --no-walk ca6b722bd0cea0975580d74fefd53f25e9330cc5 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 42157
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[DeltaSpike_AS7] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx512m 
-Xms256m -cp 
/home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main 
/home/jenkins/tools/maven/apache-maven-3.0.5 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven3-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 42157
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
hudson/remoting/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:138)
at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:70)
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:408)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:353)
at hudson.slaves.Channels.forProcess(Channels.java:115)
at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
at hudson.maven.ProcessCache.get(ProcessCache.java:236)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:804)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1724)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)


Build failed in Jenkins: DeltaSpike Weld 1.1.33 #94

2018-03-05 Thread Apache Jenkins Server
See 


Changes:

[struberg] DELTASPIKE-1322 move config internas to impl

[struberg] DELTASPIKE-1322 switch ConfigSources over

[struberg] DELTASPIKE-1322 mv more config pieces over 2 impl

--
Started by upstream project "DeltaSpike for CDI 1.0" build number 152
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H21 (ubuntu xenial) in workspace 

Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git init  # 
 > timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 5b07e197cb808cee108e1935cae18fc199c82a9f (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5b07e197cb808cee108e1935cae18fc199c82a9f
Commit message: "DELTASPIKE-1322 mv more config pieces over 2 impl"
 > git rev-list --no-walk ca6b722bd0cea0975580d74fefd53f25e9330cc5 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 34004
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[DeltaSpike Weld 1.1.33] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g 
-Xms256m -cp 
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/apache-maven-3.5.0/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.5.0/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/apache-maven-3.5.0 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven35-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 34004
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
hudson/remoting/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:133)
at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:64)
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:408)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:353)
at hudson.slaves.Channels.forProcess(Channels.java:115)
at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
at hudson.maven.ProcessCache.get(ProcessCache.java:236)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:804)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1724)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at 

Build failed in Jenkins: DeltaSpike_TomEE_1.7.x #164

2018-03-05 Thread Apache Jenkins Server
See 


Changes:

[struberg] DELTASPIKE-1322 move config internas to impl

[struberg] DELTASPIKE-1322 switch ConfigSources over

[struberg] DELTASPIKE-1322 mv more config pieces over 2 impl

--
Started by upstream project "DeltaSpike for Java EE" build number 213
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 5b07e197cb808cee108e1935cae18fc199c82a9f (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5b07e197cb808cee108e1935cae18fc199c82a9f
Commit message: "DELTASPIKE-1322 mv more config pieces over 2 impl"
 > git rev-list --no-walk ca6b722bd0cea0975580d74fefd53f25e9330cc5 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 52891
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[DeltaSpike_TomEE_1.7.x] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g 
-Xms256m -cp 
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven35-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 52891
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
hudson/remoting/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:133)
at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:64)
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:408)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:353)
at hudson.slaves.Channels.forProcess(Channels.java:115)
at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
at hudson.maven.ProcessCache.get(ProcessCache.java:236)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:804)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1724)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)


Jenkins build became unstable: DeltaSpike_Payara_4.1.x #68

2018-03-05 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: DeltaSpike_TomEE_7.0.3 #126

2018-03-05 Thread Apache Jenkins Server
See 




Jenkins build became unstable: DeltaSpike_GF4.1.1 #190

2018-03-05 Thread Apache Jenkins Server
See 




Build failed in Jenkins: DeltaSpike Weld 2.4.x #64

2018-03-05 Thread Apache Jenkins Server
See 


Changes:

[struberg] DELTASPIKE-1322 move config internas to impl

[struberg] DELTASPIKE-1322 switch ConfigSources over

[struberg] DELTASPIKE-1322 mv more config pieces over 2 impl

--
Started by upstream project "DeltaSpike for CDI 1.1 and 1.2" build number 156
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H29 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 5b07e197cb808cee108e1935cae18fc199c82a9f (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5b07e197cb808cee108e1935cae18fc199c82a9f
Commit message: "DELTASPIKE-1322 mv more config pieces over 2 impl"
 > git rev-list --no-walk ca6b722bd0cea0975580d74fefd53f25e9330cc5 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 44347
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[DeltaSpike Weld 2.4.x] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g 
-Xms256m -cp 
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven35-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 44347
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
hudson/remoting/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:133)
at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:64)
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:408)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:353)
at hudson.slaves.Channels.forProcess(Channels.java:115)
at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
at hudson.maven.ProcessCache.get(ProcessCache.java:236)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:804)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1724)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)


Build failed in Jenkins: DeltaSpike Weld 2.4.2 #58

2018-03-05 Thread Apache Jenkins Server
See 


Changes:

[struberg] DELTASPIKE-1322 move config internas to impl

[struberg] DELTASPIKE-1322 switch ConfigSources over

[struberg] DELTASPIKE-1322 mv more config pieces over 2 impl

--
Started by upstream project "DeltaSpike for CDI 1.1 and 1.2" build number 156
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H33 (ubuntu xenial) in workspace 

Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git init  # 
 > timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/deltaspike.git
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/deltaspike.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 5b07e197cb808cee108e1935cae18fc199c82a9f (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5b07e197cb808cee108e1935cae18fc199c82a9f
Commit message: "DELTASPIKE-1322 mv more config pieces over 2 impl"
 > git rev-list --no-walk ca6b722bd0cea0975580d74fefd53f25e9330cc5 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 44173
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[DeltaSpike Weld 2.4.2] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g 
-Xms256m -cp 
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3/ 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven35-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 44173
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
hudson/remoting/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:133)
at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:64)
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:408)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:353)
at hudson.slaves.Channels.forProcess(Channels.java:115)
at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
at hudson.maven.ProcessCache.get(ProcessCache.java:236)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:804)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1724)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)