diff --git a/maven-plugin-registry/plugin-registry.mdo b/maven-plugin-registry/plugin-registry.mdo index 730e67bc94..ffba5b9f1e 100644 --- a/maven-plugin-registry/plugin-registry.mdo +++ b/maven-plugin-registry/plugin-registry.mdo @@ -1,5 +1,24 @@ + + plugin-registry PluginRegistry diff --git a/maven-plugin-registry/pom.xml b/maven-plugin-registry/pom.xml index 8c9b73883a..f76ad597e6 100644 --- a/maven-plugin-registry/pom.xml +++ b/maven-plugin-registry/pom.xml @@ -1,4 +1,23 @@ - + + + maven org.apache.maven diff --git a/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/DefaultPluginRegistryBuilder.java b/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/DefaultPluginRegistryBuilder.java index fd543baeb5..4bf3fa2327 100644 --- a/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/DefaultPluginRegistryBuilder.java +++ b/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/DefaultPluginRegistryBuilder.java @@ -1,5 +1,24 @@ package org.apache.maven.plugin.registry; +/* + * 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.apache.maven.plugin.registry.io.xpp3.PluginRegistryXpp3Reader; import org.codehaus.plexus.logging.AbstractLogEnabled; import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable; @@ -11,22 +30,6 @@ import java.io.File; import java.io.FileReader; import java.io.IOException; -/* - * Copyright 2001-2005 The Apache Software Foundation. - * - * 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. - */ - public class DefaultPluginRegistryBuilder extends AbstractLogEnabled implements MavenPluginRegistryBuilder, Initializable diff --git a/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/MavenPluginRegistryBuilder.java b/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/MavenPluginRegistryBuilder.java index 2f40cf3682..bd1b344289 100644 --- a/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/MavenPluginRegistryBuilder.java +++ b/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/MavenPluginRegistryBuilder.java @@ -1,25 +1,28 @@ package org.apache.maven.plugin.registry; +/* + * 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.util.xml.pull.XmlPullParserException; import java.io.IOException; -/* - * Copyright 2001-2005 The Apache Software Foundation. - * - * 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. - */ - public interface MavenPluginRegistryBuilder { String ROLE = MavenPluginRegistryBuilder.class.getName(); diff --git a/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/PluginRegistryUtils.java b/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/PluginRegistryUtils.java index 1db7697657..1a0942d0d1 100644 --- a/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/PluginRegistryUtils.java +++ b/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/PluginRegistryUtils.java @@ -1,27 +1,30 @@ package org.apache.maven.plugin.registry; +/* + * 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.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; -/* - * Copyright 2001-2005 The Apache Software Foundation. - * - * 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. - */ - public final class PluginRegistryUtils { diff --git a/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/RuntimeInfo.java b/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/RuntimeInfo.java index b3be5dfcea..3b4d6a52ec 100644 --- a/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/RuntimeInfo.java +++ b/maven-plugin-registry/src/main/java/org/apache/maven/plugin/registry/RuntimeInfo.java @@ -1,23 +1,26 @@ package org.apache.maven.plugin.registry; -import java.io.File; - /* - * Copyright 2001-2005 The Apache Software Foundation. + * 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 * - * 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 * - * 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. + * 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.io.File; + public class RuntimeInfo { diff --git a/maven-plugin-registry/src/main/resources/META-INF/plexus/components.xml b/maven-plugin-registry/src/main/resources/META-INF/plexus/components.xml index f758dffa16..fb63b498a1 100644 --- a/maven-plugin-registry/src/main/resources/META-INF/plexus/components.xml +++ b/maven-plugin-registry/src/main/resources/META-INF/plexus/components.xml @@ -1,3 +1,22 @@ + +