diff --git a/maven-build-context/pom.xml b/maven-build-context/pom.xml index 9fc5ba3127..4d2c565e27 100644 --- a/maven-build-context/pom.xml +++ b/maven-build-context/pom.xml @@ -1,4 +1,23 @@ - + + + 4.0.0 diff --git a/maven-build-context/src/main/java/org/apache/maven/context/BuildContext.java b/maven-build-context/src/main/java/org/apache/maven/context/BuildContext.java index ced1a0a272..0657ab71a5 100644 --- a/maven-build-context/src/main/java/org/apache/maven/context/BuildContext.java +++ b/maven-build-context/src/main/java/org/apache/maven/context/BuildContext.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + /** * Basic data bus for Maven builds, through which the various subsystems can communicate with one * another without causing bloat in the APIs. diff --git a/maven-build-context/src/main/java/org/apache/maven/context/BuildContextManager.java b/maven-build-context/src/main/java/org/apache/maven/context/BuildContextManager.java index 6132f4775b..c4e62587f0 100644 --- a/maven-build-context/src/main/java/org/apache/maven/context/BuildContextManager.java +++ b/maven-build-context/src/main/java/org/apache/maven/context/BuildContextManager.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + import org.codehaus.plexus.context.Context; /** diff --git a/maven-build-context/src/main/java/org/apache/maven/context/DefaultBuildContext.java b/maven-build-context/src/main/java/org/apache/maven/context/DefaultBuildContext.java index dfab620d40..d1f9af5e64 100644 --- a/maven-build-context/src/main/java/org/apache/maven/context/DefaultBuildContext.java +++ b/maven-build-context/src/main/java/org/apache/maven/context/DefaultBuildContext.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + import java.util.LinkedHashMap; import java.util.Map; diff --git a/maven-build-context/src/main/java/org/apache/maven/context/DefaultBuildContextManager.java b/maven-build-context/src/main/java/org/apache/maven/context/DefaultBuildContextManager.java index 32ee7e78f1..f10fc866cb 100644 --- a/maven-build-context/src/main/java/org/apache/maven/context/DefaultBuildContextManager.java +++ b/maven-build-context/src/main/java/org/apache/maven/context/DefaultBuildContextManager.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + import org.codehaus.plexus.context.Context; import java.util.HashMap; diff --git a/maven-build-context/src/main/java/org/apache/maven/context/ManagedBuildData.java b/maven-build-context/src/main/java/org/apache/maven/context/ManagedBuildData.java index 799fdd736e..b8df1e5185 100644 --- a/maven-build-context/src/main/java/org/apache/maven/context/ManagedBuildData.java +++ b/maven-build-context/src/main/java/org/apache/maven/context/ManagedBuildData.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + import java.util.Map; /** diff --git a/maven-build-context/src/main/java/org/apache/maven/context/SystemBuildContext.java b/maven-build-context/src/main/java/org/apache/maven/context/SystemBuildContext.java index 279d147ba8..70dcc2b3e1 100644 --- a/maven-build-context/src/main/java/org/apache/maven/context/SystemBuildContext.java +++ b/maven-build-context/src/main/java/org/apache/maven/context/SystemBuildContext.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + import java.util.HashMap; import java.util.Map; import java.util.Properties; diff --git a/maven-build-context/src/main/resources/META-INF/plexus/components.xml b/maven-build-context/src/main/resources/META-INF/plexus/components.xml index 657f19d564..065d136e35 100644 --- a/maven-build-context/src/main/resources/META-INF/plexus/components.xml +++ b/maven-build-context/src/main/resources/META-INF/plexus/components.xml @@ -1,3 +1,22 @@ + + diff --git a/maven-build-context/src/test/java/org/apache/maven/context/AbstractBuildContextManagerTest.java b/maven-build-context/src/test/java/org/apache/maven/context/AbstractBuildContextManagerTest.java index 582a3035f5..a285fed0cf 100644 --- a/maven-build-context/src/test/java/org/apache/maven/context/AbstractBuildContextManagerTest.java +++ b/maven-build-context/src/test/java/org/apache/maven/context/AbstractBuildContextManagerTest.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + import org.codehaus.plexus.PlexusTestCase; public abstract class AbstractBuildContextManagerTest diff --git a/maven-build-context/src/test/java/org/apache/maven/context/AbstractBuildContextTest.java b/maven-build-context/src/test/java/org/apache/maven/context/AbstractBuildContextTest.java index d79e68d511..91429ea503 100644 --- a/maven-build-context/src/test/java/org/apache/maven/context/AbstractBuildContextTest.java +++ b/maven-build-context/src/test/java/org/apache/maven/context/AbstractBuildContextTest.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + import junit.framework.TestCase; import java.util.HashMap; diff --git a/maven-build-context/src/test/java/org/apache/maven/context/DefaultBuildContextManagerTest.java b/maven-build-context/src/test/java/org/apache/maven/context/DefaultBuildContextManagerTest.java index 51eabc7935..a414d26d6b 100644 --- a/maven-build-context/src/test/java/org/apache/maven/context/DefaultBuildContextManagerTest.java +++ b/maven-build-context/src/test/java/org/apache/maven/context/DefaultBuildContextManagerTest.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + public class DefaultBuildContextManagerTest extends AbstractBuildContextManagerTest { diff --git a/maven-build-context/src/test/java/org/apache/maven/context/DefaultBuildContextTest.java b/maven-build-context/src/test/java/org/apache/maven/context/DefaultBuildContextTest.java index 98c7a49cdb..86d14a1e26 100644 --- a/maven-build-context/src/test/java/org/apache/maven/context/DefaultBuildContextTest.java +++ b/maven-build-context/src/test/java/org/apache/maven/context/DefaultBuildContextTest.java @@ -1,5 +1,24 @@ package org.apache.maven.context; +/* + * 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. + */ + import java.util.Collections; import java.util.Map;