mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
27.18.2015 96aefe5003c7bf88b64d9ab343cc5d9d267b04ab
Minor build fixes:

* fix typo in copyright check Maven plugin
* rename copyrights-update profile to update-copyrights in order to have a more intuitive name.
2 files modified
6 ■■■■ changed files
opendj-copyright-maven-plugin/src/main/java/org/forgerock/maven/CheckCopyrightMojo.java 4 ●●●● patch | view | raw | blame | history
pom.xml 2 ●●● patch | view | raw | blame | history
opendj-copyright-maven-plugin/src/main/java/org/forgerock/maven/CheckCopyrightMojo.java
@@ -46,7 +46,7 @@
    @Parameter(required = true, property = "ignoreCopyrightErrors", defaultValue = "false")
    private boolean ignoreCopyrightErrors;
    @Parameter(required = true, property = "skipCoyprightCheck", defaultValue = "false")
    @Parameter(required = true, property = "skipCopyrightCheck", defaultValue = "false")
    private boolean checkDisabled;
    /**
@@ -74,7 +74,7 @@
            if (!ignoreCopyrightErrors) {
                getLog().warn("Fix copyright date problems before proceeding, "
                                + "or use '-DignoreCopyrightErrors=true' to ignore copyright errors.");
                getLog().warn("You can use copyrights-update profile (mvn -Pprecommit -Pcopyriths-update) "
                getLog().warn("You can use update-copyrights profile (mvn -Pprecommit -Pupdate-copyrights) "
                        + "to automatically update copyrights.");
                throw new MojoExecutionException("Found files with potential copyright year updates needed");
            }
pom.xml
@@ -514,7 +514,7 @@
    </profile>
    
    <profile>
      <id>copyrights-update</id>
      <id>update-copyrights</id>
        <build>
          <plugins>
            <plugin>