diff --git a/client/pom.xml b/client/pom.xml index 52c9f975..1e269768 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -1,3 +1,20 @@ + diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/BufferCaster.java b/client/src/main/java/org/jboss/fuse/mvnd/client/BufferCaster.java index 5361d655..f303a90f 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/BufferCaster.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/BufferCaster.java @@ -18,6 +18,9 @@ package org.jboss.fuse.mvnd.client; import java.nio.Buffer; +/** + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/base-services/src/main/java/org/gradle/internal/io/BufferCaster.java + */ public class BufferCaster { /** * Without this cast, when the code compiled by Java 9+ is executed on Java 8, it will throw diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/Client.java b/client/src/main/java/org/jboss/fuse/mvnd/client/Client.java index 370edeab..270e21f7 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/Client.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/Client.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.client; import java.util.Arrays; diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/ClientOutput.java b/client/src/main/java/org/jboss/fuse/mvnd/client/ClientOutput.java index 59198832..37f8652a 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/ClientOutput.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/ClientOutput.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.client; import java.io.IOException; diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonClientConnection.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonClientConnection.java index ec10a747..14c7d116 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonClientConnection.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonClientConnection.java @@ -21,6 +21,9 @@ import java.util.concurrent.locks.ReentrantLock; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientConnection.java + */ public class DaemonClientConnection { private final static Logger LOG = LoggerFactory.getLogger(DaemonClientConnection.class); diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonCompatibilitySpec.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonCompatibilitySpec.java index 343522cb..ed37f2a8 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonCompatibilitySpec.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonCompatibilitySpec.java @@ -22,6 +22,9 @@ import java.util.List; import java.util.Objects; import java.util.function.Supplier; +/** + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonCompatibilitySpec.java + */ public class DaemonCompatibilitySpec { private final Path javaHome; diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonConnection.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonConnection.java index 871daf5e..0ab67058 100755 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonConnection.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonConnection.java @@ -36,6 +36,10 @@ import java.util.Objects; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java + * + */ public class DaemonConnection implements AutoCloseable { private static final Logger LOGGER = LoggerFactory.getLogger(DaemonConnection.class); diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonConnector.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonConnector.java index f6723767..2e3ed3bb 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonConnector.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonConnector.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 the original author or authors. + * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,9 @@ import org.slf4j.LoggerFactory; import static java.lang.Thread.sleep; import static org.jboss.fuse.mvnd.client.DaemonState.Canceled; +/** + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java + */ public class DaemonConnector { public static final int DEFAULT_CONNECT_TIMEOUT = 30000; diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonDiagnostics.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonDiagnostics.java index 20fcd19c..cf102385 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonDiagnostics.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonDiagnostics.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 the original author or authors. + * Copyright 2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,9 @@ import java.util.Deque; import java.util.List; import java.util.stream.Collector; +/** + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonDiagnostics.java + */ public class DaemonDiagnostics { private final static int TAIL_SIZE = 20; diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonExpirationStatus.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonExpirationStatus.java index 129dc9f0..98bce4cd 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonExpirationStatus.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonExpirationStatus.java @@ -1,3 +1,18 @@ +/* + * Copyright 2016 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.client; /** @@ -5,6 +20,8 @@ package org.jboss.fuse.mvnd.client; * Note that order here is important, higher ordinal statuses * take precedent over lower ordinal statuses when aggregating * results. + * + * File origin: https://github.com/gradle/gradle/blob/v6.5.1/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/server/expiry/DaemonExpirationStatus.java */ public enum DaemonExpirationStatus { DO_NOT_EXPIRE, diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonInfo.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonInfo.java index 6c65836c..f2d815a3 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonInfo.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 the original author or authors. + * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,9 @@ import static org.jboss.fuse.mvnd.client.DaemonState.Idle; import java.nio.file.Path; import java.util.List; +/** + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonInfo.java + */ public class DaemonInfo { private final String uid; diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonRegistry.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonRegistry.java index e4bb9423..82f51eb1 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonRegistry.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonRegistry.java @@ -48,6 +48,8 @@ import sun.nio.ch.DirectBuffer; /** * Access to daemon registry files. Useful also for testing. + * + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistry.java */ public class DaemonRegistry implements AutoCloseable { diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonState.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonState.java index b48ebc2e..75ea6bcb 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonState.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonState.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 the original author or authors. + * Copyright 2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,6 +15,9 @@ */ package org.jboss.fuse.mvnd.client; +/** + * File origin https://github.com/gradle/gradle/blob/v5.6.2/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java + */ public enum DaemonState { Idle, diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonStopEvent.java b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonStopEvent.java index 5c53d15d..f48fd5a5 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonStopEvent.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/DaemonStopEvent.java @@ -23,6 +23,8 @@ import java.util.Objects; /** * Information regarding when and why a daemon was stopped. + * + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java */ public class DaemonStopEvent implements Serializable { diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/ExecutionResult.java b/client/src/main/java/org/jboss/fuse/mvnd/client/ExecutionResult.java index 5bdf228b..7b5cd4e4 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/ExecutionResult.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/ExecutionResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.client; /** diff --git a/client/src/main/java/org/jboss/fuse/mvnd/client/Serializer.java b/client/src/main/java/org/jboss/fuse/mvnd/client/Serializer.java index 7ecf74da..a989e2ff 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/client/Serializer.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/client/Serializer.java @@ -19,6 +19,9 @@ import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.EOFException; +/** + * File origin: https://github.com/gradle/gradle/blob/v5.6.2/subprojects/messaging/src/main/java/org/gradle/internal/serialize/Serializer.java + */ public interface Serializer { /** * Reads the next object from the given stream. The implementation must not perform any buffering, so that it reads only those bytes from the input stream that are diff --git a/client/src/main/java/org/jboss/fuse/mvnd/jpm/Process.java b/client/src/main/java/org/jboss/fuse/mvnd/jpm/Process.java index a738379d..cda7a1c1 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/jpm/Process.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/jpm/Process.java @@ -22,6 +22,8 @@ import java.io.Serializable; /** * Interface representing a process + * + * File origin: https://github.com/apache/karaf/blob/karaf-4.2.6/util/src/main/java/org/apache/karaf/jpm/Process.java */ public interface Process extends Serializable { diff --git a/client/src/main/java/org/jboss/fuse/mvnd/jpm/ProcessImpl.java b/client/src/main/java/org/jboss/fuse/mvnd/jpm/ProcessImpl.java index cba58717..f96962d4 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/jpm/ProcessImpl.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/jpm/ProcessImpl.java @@ -29,6 +29,9 @@ import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * File origin: https://github.com/apache/karaf/blob/karaf-4.2.6/util/src/main/java/org/apache/karaf/jpm/impl/ProcessImpl.java + */ public class ProcessImpl implements Process { /** diff --git a/client/src/main/java/org/jboss/fuse/mvnd/jpm/ScriptUtils.java b/client/src/main/java/org/jboss/fuse/mvnd/jpm/ScriptUtils.java index 823f2f37..10a2b919 100644 --- a/client/src/main/java/org/jboss/fuse/mvnd/jpm/ScriptUtils.java +++ b/client/src/main/java/org/jboss/fuse/mvnd/jpm/ScriptUtils.java @@ -29,6 +29,9 @@ import java.util.Scanner; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * File origin: https://github.com/apache/karaf/blob/karaf-4.2.6/util/src/main/java/org/apache/karaf/jpm/impl/ScriptUtils.java + */ public class ScriptUtils { private static final Logger LOG = LoggerFactory.getLogger(ScriptUtils.class); diff --git a/client/src/test/java/org/jboss/fuse/mvnd/client/EnvironmentTest.java b/client/src/test/java/org/jboss/fuse/mvnd/client/EnvironmentTest.java index fdbff7c2..d8ffc6a7 100644 --- a/client/src/test/java/org/jboss/fuse/mvnd/client/EnvironmentTest.java +++ b/client/src/test/java/org/jboss/fuse/mvnd/client/EnvironmentTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.client; import java.nio.file.Paths; diff --git a/daemon/pom.xml b/daemon/pom.xml index 59b3aca9..7592b0bb 100644 --- a/daemon/pom.xml +++ b/daemon/pom.xml @@ -1,3 +1,20 @@ + diff --git a/daemon/src/main/distro/conf/logging/logback.xml b/daemon/src/main/distro/conf/logging/logback.xml index 9b91ce8a..c68d1dba 100644 --- a/daemon/src/main/distro/conf/logging/logback.xml +++ b/daemon/src/main/distro/conf/logging/logback.xml @@ -1,3 +1,21 @@ + + diff --git a/daemon/src/main/resources/META-INF/maven/slf4j-configuration.properties b/daemon/src/main/resources/META-INF/maven/slf4j-configuration.properties index c2b66fa2..7ae17c04 100644 --- a/daemon/src/main/resources/META-INF/maven/slf4j-configuration.properties +++ b/daemon/src/main/resources/META-INF/maven/slf4j-configuration.properties @@ -1,3 +1,19 @@ +# +# Copyright 2019 the original author or authors. +# +# Licensed 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. +# + # key = Slf4j effective logger factory implementation # value = corresponding o.a.m.cli.logging.Slf4jConfiguration class ch.qos.logback.classic.LoggerContext org.jboss.fuse.mvnd.logging.logback.internal.InadequateSlf4jConfiguration diff --git a/daemon/src/main/resources/META-INF/plexus/components.xml b/daemon/src/main/resources/META-INF/plexus/components.xml index c462bc25..c0ae5e3c 100644 --- a/daemon/src/main/resources/META-INF/plexus/components.xml +++ b/daemon/src/main/resources/META-INF/plexus/components.xml @@ -1,4 +1,21 @@ + diff --git a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/AbstractSmartBuilderTest.java b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/AbstractSmartBuilderTest.java index be6743b2..44e13726 100644 --- a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/AbstractSmartBuilderTest.java +++ b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/AbstractSmartBuilderTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.builder; import java.util.Arrays; diff --git a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ProjectComparatorTest.java b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ProjectComparatorTest.java index 3120026b..3b7a35c5 100644 --- a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ProjectComparatorTest.java +++ b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ProjectComparatorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.builder; import java.util.Comparator; diff --git a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ProjectExecutorServiceTest.java b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ProjectExecutorServiceTest.java index f17d3df3..5ecfb62c 100644 --- a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ProjectExecutorServiceTest.java +++ b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ProjectExecutorServiceTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.builder; import java.util.ArrayList; diff --git a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ReactorBuildQueueTest.java b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ReactorBuildQueueTest.java index 0c62fef3..5fc9a858 100644 --- a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ReactorBuildQueueTest.java +++ b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/ReactorBuildQueueTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.builder; import org.apache.maven.project.MavenProject; diff --git a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/TestProjectDependencyGraph.java b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/TestProjectDependencyGraph.java index 760ceda5..481327bc 100644 --- a/daemon/src/test/java/org/jboss/fuse/mvnd/builder/TestProjectDependencyGraph.java +++ b/daemon/src/test/java/org/jboss/fuse/mvnd/builder/TestProjectDependencyGraph.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.builder; import java.util.ArrayList; diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 4c3b30aa..d0844082 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -1,3 +1,20 @@ + diff --git a/integration-tests/src/test/projects/module-and-plugin/hello/pom.xml b/integration-tests/src/test/projects/module-and-plugin/hello/pom.xml index cbb208fd..2fff61be 100644 --- a/integration-tests/src/test/projects/module-and-plugin/hello/pom.xml +++ b/integration-tests/src/test/projects/module-and-plugin/hello/pom.xml @@ -1,3 +1,20 @@ + 4.0.0 diff --git a/integration-tests/src/test/projects/module-and-plugin/hello/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hello/Hello.java b/integration-tests/src/test/projects/module-and-plugin/hello/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hello/Hello.java index 81a5e823..8e45d1aa 100644 --- a/integration-tests/src/test/projects/module-and-plugin/hello/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hello/Hello.java +++ b/integration-tests/src/test/projects/module-and-plugin/hello/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hello/Hello.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.multi.module.hello; public class Hello { diff --git a/integration-tests/src/test/projects/module-and-plugin/hello/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hello/HelloTest.java b/integration-tests/src/test/projects/module-and-plugin/hello/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hello/HelloTest.java index 1a25ffed..099e3cce 100644 --- a/integration-tests/src/test/projects/module-and-plugin/hello/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hello/HelloTest.java +++ b/integration-tests/src/test/projects/module-and-plugin/hello/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hello/HelloTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.multi.module.hello; import java.io.IOException; diff --git a/integration-tests/src/test/projects/module-and-plugin/plugin/pom.xml b/integration-tests/src/test/projects/module-and-plugin/plugin/pom.xml index 0554e0e9..89ac0e43 100644 --- a/integration-tests/src/test/projects/module-and-plugin/plugin/pom.xml +++ b/integration-tests/src/test/projects/module-and-plugin/plugin/pom.xml @@ -1,3 +1,20 @@ + 4.0.0 diff --git a/integration-tests/src/test/projects/module-and-plugin/plugin/src/main/java/org/jboss/fuse/mvnd/test/module/plugin/mojo/HelloMojo.java b/integration-tests/src/test/projects/module-and-plugin/plugin/src/main/java/org/jboss/fuse/mvnd/test/module/plugin/mojo/HelloMojo.java index fc0728ac..1e064b2a 100644 --- a/integration-tests/src/test/projects/module-and-plugin/plugin/src/main/java/org/jboss/fuse/mvnd/test/module/plugin/mojo/HelloMojo.java +++ b/integration-tests/src/test/projects/module-and-plugin/plugin/src/main/java/org/jboss/fuse/mvnd/test/module/plugin/mojo/HelloMojo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.module.plugin.mojo; import java.io.File; diff --git a/integration-tests/src/test/projects/module-and-plugin/pom.xml b/integration-tests/src/test/projects/module-and-plugin/pom.xml index 6fe5d0c6..78d9ea3f 100644 --- a/integration-tests/src/test/projects/module-and-plugin/pom.xml +++ b/integration-tests/src/test/projects/module-and-plugin/pom.xml @@ -1,3 +1,20 @@ + diff --git a/integration-tests/src/test/projects/multi-module/api/pom.xml b/integration-tests/src/test/projects/multi-module/api/pom.xml index e9ece05a..a68e8d96 100644 --- a/integration-tests/src/test/projects/multi-module/api/pom.xml +++ b/integration-tests/src/test/projects/multi-module/api/pom.xml @@ -1,3 +1,20 @@ + 4.0.0 diff --git a/integration-tests/src/test/projects/multi-module/api/src/main/java/org/jboss/fuse/mvnd/test/multi/module/api/Greeting.java b/integration-tests/src/test/projects/multi-module/api/src/main/java/org/jboss/fuse/mvnd/test/multi/module/api/Greeting.java index 393295f9..6ece6344 100644 --- a/integration-tests/src/test/projects/multi-module/api/src/main/java/org/jboss/fuse/mvnd/test/multi/module/api/Greeting.java +++ b/integration-tests/src/test/projects/multi-module/api/src/main/java/org/jboss/fuse/mvnd/test/multi/module/api/Greeting.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.multi.module.api; public interface Greeting { diff --git a/integration-tests/src/test/projects/multi-module/hello/pom.xml b/integration-tests/src/test/projects/multi-module/hello/pom.xml index 77ba8eec..ab75fc20 100644 --- a/integration-tests/src/test/projects/multi-module/hello/pom.xml +++ b/integration-tests/src/test/projects/multi-module/hello/pom.xml @@ -1,3 +1,20 @@ + 4.0.0 diff --git a/integration-tests/src/test/projects/multi-module/hello/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hello/Hello.java b/integration-tests/src/test/projects/multi-module/hello/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hello/Hello.java index e1c80929..9573db25 100644 --- a/integration-tests/src/test/projects/multi-module/hello/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hello/Hello.java +++ b/integration-tests/src/test/projects/multi-module/hello/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hello/Hello.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.multi.module.hello; import org.jboss.fuse.mvnd.test.multi.module.api.Greeting; diff --git a/integration-tests/src/test/projects/multi-module/hello/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hello/HelloTest.java b/integration-tests/src/test/projects/multi-module/hello/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hello/HelloTest.java index 45577f9e..67c22ff7 100644 --- a/integration-tests/src/test/projects/multi-module/hello/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hello/HelloTest.java +++ b/integration-tests/src/test/projects/multi-module/hello/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hello/HelloTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.multi.module.hello; import java.io.IOException; diff --git a/integration-tests/src/test/projects/multi-module/hi/pom.xml b/integration-tests/src/test/projects/multi-module/hi/pom.xml index 561f2fe9..6b8e56b5 100644 --- a/integration-tests/src/test/projects/multi-module/hi/pom.xml +++ b/integration-tests/src/test/projects/multi-module/hi/pom.xml @@ -1,3 +1,20 @@ + 4.0.0 diff --git a/integration-tests/src/test/projects/multi-module/hi/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hi/Hi.java b/integration-tests/src/test/projects/multi-module/hi/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hi/Hi.java index da9658b9..ba742783 100644 --- a/integration-tests/src/test/projects/multi-module/hi/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hi/Hi.java +++ b/integration-tests/src/test/projects/multi-module/hi/src/main/java/org/jboss/fuse/mvnd/test/multi/module/hi/Hi.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.multi.module.hi; import org.jboss.fuse.mvnd.test.multi.module.api.Greeting; diff --git a/integration-tests/src/test/projects/multi-module/hi/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hi/HiTest.java b/integration-tests/src/test/projects/multi-module/hi/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hi/HiTest.java index f5df6ec6..bac990d4 100644 --- a/integration-tests/src/test/projects/multi-module/hi/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hi/HiTest.java +++ b/integration-tests/src/test/projects/multi-module/hi/src/test/java/org/jboss/fuse/mvnd/test/multi/module/hi/HiTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.multi.module.hi; import java.io.IOException; diff --git a/integration-tests/src/test/projects/multi-module/pom.xml b/integration-tests/src/test/projects/multi-module/pom.xml index 021d4df0..1c1368c9 100644 --- a/integration-tests/src/test/projects/multi-module/pom.xml +++ b/integration-tests/src/test/projects/multi-module/pom.xml @@ -1,3 +1,20 @@ + diff --git a/integration-tests/src/test/projects/single-module/pom.xml b/integration-tests/src/test/projects/single-module/pom.xml index 20593e7e..7d8f94b5 100644 --- a/integration-tests/src/test/projects/single-module/pom.xml +++ b/integration-tests/src/test/projects/single-module/pom.xml @@ -1,3 +1,20 @@ + diff --git a/integration-tests/src/test/projects/single-module/src/main/java/org/jboss/fuse/mvnd/test/single/module/Hello.java b/integration-tests/src/test/projects/single-module/src/main/java/org/jboss/fuse/mvnd/test/single/module/Hello.java index 29771bb9..315bbead 100644 --- a/integration-tests/src/test/projects/single-module/src/main/java/org/jboss/fuse/mvnd/test/single/module/Hello.java +++ b/integration-tests/src/test/projects/single-module/src/main/java/org/jboss/fuse/mvnd/test/single/module/Hello.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.single.module; public class Hello { diff --git a/integration-tests/src/test/projects/single-module/src/test/java/org/jboss/fuse/mvnd/test/single/module/HelloTest.java b/integration-tests/src/test/projects/single-module/src/test/java/org/jboss/fuse/mvnd/test/single/module/HelloTest.java index 01a1877e..1d7f9fb0 100644 --- a/integration-tests/src/test/projects/single-module/src/test/java/org/jboss/fuse/mvnd/test/single/module/HelloTest.java +++ b/integration-tests/src/test/projects/single-module/src/test/java/org/jboss/fuse/mvnd/test/single/module/HelloTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed 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.jboss.fuse.mvnd.test.single.module; import java.io.IOException; diff --git a/integration-tests/src/test/resources/settings-template.xml b/integration-tests/src/test/resources/settings-template.xml index 8e746f82..a2bf5590 100644 --- a/integration-tests/src/test/resources/settings-template.xml +++ b/integration-tests/src/test/resources/settings-template.xml @@ -1,4 +1,21 @@ + diff --git a/pom.xml b/pom.xml index 61a685d5..eef3b1e3 100644 --- a/pom.xml +++ b/pom.xml @@ -217,6 +217,7 @@ limitations under the License. **/*.adoc **/README.* **/.gitkeep + **/conf/logging/logback.xml .gitattributes/ .mvn/maven.config .mvn/wrapper/