mirror of https://github.com/apache/maven.git
simple tweaks and formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177936 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
48cf14a656
commit
a0c25d06fb
|
@ -33,6 +33,7 @@ import java.io.InputStream;
|
|||
import java.io.File;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
|
||||
* @version $Id: DoxiaMojo.java 169372 2005-05-09 22:47:34Z evenisse $
|
||||
*/
|
||||
|
|
|
@ -406,7 +406,7 @@ public class PrepareReleaseMojo
|
|||
private void checkInSnapshotVersionPom()
|
||||
throws MojoExecutionException
|
||||
{
|
||||
checkInPom( "[maven-release-plugin] prepare release " + projectVersion );
|
||||
checkInPom( "[maven-release-plugin] prepare for development " + projectVersion );
|
||||
}
|
||||
|
||||
private void checkInPom( String message )
|
||||
|
|
|
@ -228,10 +228,8 @@ public abstract class AbstractPomTransformer
|
|||
/**
|
||||
*
|
||||
* @param node
|
||||
* @throws Exception
|
||||
*/
|
||||
public abstract void transformNode( Node node )
|
||||
throws Exception;
|
||||
public abstract void transformNode( Node node );
|
||||
|
||||
/**
|
||||
* Update the snapshot version identifiers with actual timestamp versions
|
||||
|
|
|
@ -17,15 +17,13 @@ package org.apache.maven.plugin.transformer;
|
|||
* ====================================================================
|
||||
*/
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import org.apache.maven.model.Model;
|
||||
|
||||
import org.dom4j.Node;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
|
||||
*
|
||||
* @version $Id: PomTransformer.java 114783 2004-03-02 15:37:56Z evenisse $
|
||||
*/
|
||||
public interface PomTransformer
|
||||
|
@ -37,11 +35,10 @@ public interface PomTransformer
|
|||
void transformNodes()
|
||||
throws Exception;
|
||||
|
||||
void transformNode( Node node )
|
||||
throws Exception;
|
||||
void transformNode( Node node );
|
||||
|
||||
Node getTransformedNode( Node node )
|
||||
throws Exception;
|
||||
throws Exception;
|
||||
|
||||
void write()
|
||||
throws Exception;
|
||||
|
|
|
@ -1,20 +1,19 @@
|
|||
package org.apache.maven.plugin.transformer;
|
||||
|
||||
/* ====================================================================
|
||||
* Copyright 2001-2005 The Apache Software Foundation.
|
||||
/*
|
||||
* 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
|
||||
* 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.util.Iterator;
|
||||
|
@ -54,7 +53,6 @@ public class VersionTransformer
|
|||
}
|
||||
|
||||
public void transformNode( Node node )
|
||||
throws Exception
|
||||
{
|
||||
if ( selectProjectNodeXPathExpression().equals( node.getPath() ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue