r851 - in trunk/src: main/java/org/nuiton/plugin test/java/org/nuiton/plugin
Author: tchemit Date: 2012-07-15 18:31:16 +0200 (Sun, 15 Jul 2012) New Revision: 851 Url: http://nuiton.org/repositories/revision/maven-helper-plugin/851 Log: fix header, javadoc + improve logger Modified: trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java Modified: trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java =================================================================== --- trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java 2012-07-14 17:00:02 UTC (rev 850) +++ trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java 2012-07-15 16:31:16 UTC (rev 851) @@ -23,22 +23,6 @@ * #L% */ - -/* - * 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. - */ package org.nuiton.plugin; import org.apache.maven.project.MavenProject; @@ -56,11 +40,11 @@ /** * Generator of template base on velocity. + * <p/> + * TODO TC-20091011 should use plexus velocity component * * @author tchemit <chemit@codelutin.com> * @since 1.3 - * <p/> - * TODO TC-20091011 should use plexus velocity component */ public class VelocityTemplateGenerator { Modified: trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java =================================================================== --- trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2012-07-14 17:00:02 UTC (rev 850) +++ trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2012-07-15 16:31:16 UTC (rev 851) @@ -37,7 +37,6 @@ import org.junit.Test; import org.junit.rules.TestName; import org.junit.runner.Description; -import org.junit.runners.model.FrameworkMethod; import java.beans.Introspector; import java.io.File; @@ -65,14 +64,14 @@ * #createMojo(File, String)}</li> <li>{@link #setUpMojo(Plugin, File)}</li> * </ul> * - * @author tchemit <chemit@codelutin.com> * @param <P> type of goal to test + * @author tchemit <chemit@codelutin.com> * @since 1.0.3 */ public abstract class AbstractMojoTest<P extends Plugin> { /** Test logger */ - protected static final Log log = LogFactory.getLog(AbstractMojoTest.class); + protected final Log log = LogFactory.getLog(getClass()); /** the basedir of the project */ protected static File basedir;
participants (1)
-
tchemit@users.nuiton.org