Author: hboutemy Date: Mon Sep 10 20:10:06 2012 New Revision: 1383095 URL: http://svn.apache.org/viewvc?rev=1383095&view=rev Log: formatting
Modified: maven/plugins/trunk/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java Modified: maven/plugins/trunk/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java?rev=1383095&r1=1383094&r2=1383095&view=diff ============================================================================== --- maven/plugins/trunk/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java (original) +++ maven/plugins/trunk/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java Mon Sep 10 20:10:06 2012 @@ -1,5 +1,24 @@ package org.apache.maven.plugins.scmpublish; +/* + * 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.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.apache.commons.io.filefilter.NameFileFilter; @@ -27,38 +46,19 @@ import java.util.HashSet; import java.util.List; import java.util.Set; -/* - * 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. - */ - /** * Publish a content to scm in one step. By default, content is taken from default site staging directory * <code>${project.build.directory}/staging</code>. * Can be used without project, so usable to update any SCM with any content. */ -@Mojo(name = "publish-scm", aggregator = true, requiresProject = false) +@Mojo( name = "publish-scm", aggregator = true, requiresProject = false ) public class ScmPublishPublishScmMojo extends ScmPublishPublishMojo { /** * The content to be published. */ - @Parameter(property = "scmpublish.content", defaultValue = "${project.build.directory}/staging") + @Parameter( property = "scmpublish.content", defaultValue = "${project.build.directory}/staging" ) private File content; /**