diff --git a/pom.xml b/pom.xml index c7318ce..9b321a5 100644 --- a/pom.xml +++ b/pom.xml @@ -174,26 +174,4 @@ - - - - org.apache.maven.plugins - maven-changes-plugin - 2.6 - - %URL%/%ISSUE% - - - - - changes-report - - - - - - - - - diff --git a/src/changes/changes.xml b/src/changes/changes.xml deleted file mode 100644 index 23d304d..0000000 --- a/src/changes/changes.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Wagon Maven Plugin - Dan T. Tran - - - - - - maven-wagon-plugin fails to create temp folder on Windows - - - Fix artifactId of website example - - - Optimized wagon plugin is trying to unzip the wrong file - - - Array index out of bounds trying to use merge on a jenkins repository - - - wagon-maven-plugin uses wrong temp file API - - - - - - diff --git a/src/main/java/org/codehaus/mojo/wagon/UpdateMaven3Mojo.java b/src/main/java/org/codehaus/mojo/wagon/UpdateMaven3Mojo.java index 1fc86a8..cedbfa5 100644 --- a/src/main/java/org/codehaus/mojo/wagon/UpdateMaven3Mojo.java +++ b/src/main/java/org/codehaus/mojo/wagon/UpdateMaven3Mojo.java @@ -1,5 +1,24 @@ package org.codehaus.mojo.wagon; +/* + * 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.io.File; import java.util.List; @@ -32,7 +51,7 @@ public class UpdateMaven3Mojo private ArtifactFactory artifactFactory; /** - * @parameter expression = "${project.remoteArtifactRepositories}" + * @parameter default-value = "${project.remoteArtifactRepositories}" */ private List remoteRepositories; @@ -43,19 +62,19 @@ public class UpdateMaven3Mojo /** * commons-io:commons-io version - * @parameter expression = ${commonsIoVersion}" default-value = "2.2"; + * @parameter property = "commonsIoVersion" default-value = "2.2"; */ private String commonsIoVersion = "2.2"; /** * commons-lang:commons-lang version - * @parameter expression = "${commonsLangVersion}" default-value = "2.6"; + * @parameter property = "commonsLangVersion" default-value = "2.6"; */ private String commonsLangVersion = "2.6"; /** * org.jsoup:jsoup version - * @parameter expression = "${jsoupVersion}" default-value = "1.7.2" + * @parameter property = "jsoupVersion" default-value = "1.7.2" */ private String jsoupVersion = "1.7.2"; diff --git a/src/site/site.xml b/src/site/site.xml index eeb2a99..df62989 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -21,18 +21,17 @@ under the License. - + - + - - +