Skip to content

Commit

Permalink
reformat + fix doc
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/tiste/MOJOHAUS-TO-GIT/SVN-MOJO-WIP/trunk/mojo/license-maven-plugin@14741 52ab4f32-60fc-0310-b215-8acea882cd1b
  • Loading branch information
Tony Chemit committed Sep 20, 2011
1 parent e9e94cc commit f0e5dc3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public interface MavenProjectDependenciesConfigurator
String getExcludedGroups();

/**
* @return a pattern to exclude dependencies by theire {@code groupId}, if {@code null} is setted then no exclude
* @return a pattern to exclude dependencies by their {@code groupId}, if {@code null} is setted then no exclude
* is done on groupId.
*/
String getExcludedArtifacts();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public class UpdateFileHeaderMojo
/**
* A flag to update copyright application time (change copyright last year
* if required) according to the last commit made on the processed file.
*
* <p/>
* Note that this functionnality is still not effective.
*
* @parameter expression="${license.updateCopyright}" default-value="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
* @plexus.component role-hint="ftl"
* @since 1.0
*/
public class FreeMarkerFileHeaderTransformer extends AbstractFileHeaderTransformer
public class FreeMarkerFileHeaderTransformer
extends AbstractFileHeaderTransformer
{

public static final String NAME = "ftl";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class PropertiesFileHeaderTransformer
public PropertiesFileHeaderTransformer()
{
super( NAME, DESCRIPTION, COMMENT_START_TAG, COMMENT_END_TAG, COMMENT_LINE_PREFIX );
linesep = System.getProperty("line.separator");
linesep = System.getProperty( "line.separator" );
}

public String[] getDefaultAcceptedExtensions()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ public void load()
if ( !checkExists( licenseURL ) )
{
throw new IllegalArgumentException(
"Could not find license (" + license + ") content file at [" + licenseURL +
"] for resolver " + this );
"Could not find license (" + license + ") content file at [" + licenseURL + "] for resolver " +
this );
}
license.setLicenseURL( licenseURL );

Expand Down
8 changes: 4 additions & 4 deletions src/site/apt/examples/example-thirdparty.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ List of 1 third-party dependency.

** exclude groupIds

Using configuration's property <<excludedGroupIds>>, will remove from the
Using configuration's property <<excludedGroups>>, will remove from the
THIRD-PARTY file all the dependencies coming from the given groupIds.

*** Example
Expand Down Expand Up @@ -365,7 +365,7 @@ List of 1 third-party dependency.

** exclude artifactIds

Using configuration's property <<excludedArtifactIds>>, will remove from the
Using configuration's property <<excludedArtifacts>>, will remove from the
THIRD-PARTY file all the dependencies coming from the given artifactIds.

*** Example
Expand Down Expand Up @@ -409,7 +409,7 @@ List of 2 third-party dependencies.

** include groupIds

Using configuration's property <<includedGroupIds>>, will only put in the
Using configuration's property <<includedGroups>>, will only put in the
THIRD-PARTY file all the dependencies coming from the given groupIds.

*** Example
Expand Down Expand Up @@ -453,7 +453,7 @@ List of 2 third-party dependencies.

** include artifactIds

Using configuration's property <<includedArtifactIds>>, will only put in the
Using configuration's property <<includedArtifacts>>, will only put in the
THIRD-PARTY file all the dependencies coming from the given artifactIds.

*** Example
Expand Down

0 comments on commit f0e5dc3

Please sign in to comment.