incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Ramirez (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OODT-38) Remove License Test from Build Process
Date Mon, 20 Sep 2010 04:56:43 GMT

    [ https://issues.apache.org/jira/browse/OODT-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912348#action_12912348
] 

Paul Ramirez commented on OODT-38:
----------------------------------

So it looks as though I could define the rat-plugin in only oodt-core's pom but if I do that
then I would likely have bubble up excludes that would only make sense at the individual module
level. For instance, in the curator module we have the following config for the rat plugin


      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>rat-maven-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>**/jquery*</exclude>
            <exclude>**/jquery/*</exclude>
            <exclude>**/src/jquery*</exclude>
            <exclude>**/jquery-treeview/*</exclude>
            <exclude>**/jquery-treeview/demo/*</exclude>
            <exclude>**/jquery-treeview/lib/*</exclude>
            <exclude>**/jquery-ui/*</exclude>
            <exclude>**/jquery-ui/css/smoothness/jquery-ui-1.7.2.custom.css</exclude>
            <exclude>**/src/MIT-License.txt</exclude>
            <exclude>**/media/Bach-SuiteNo2.mp3</exclude>
          </excludes>
        </configuration>
        <executions>
          <execution>
            <phase>verify</phase>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

Moving these and any other excludes would really not make sense in the context of oodt core.
I think I could just make a profile in each of the module's poms. Any thoughts on this?

> Remove License Test from Build Process
> --------------------------------------
>
>                 Key: OODT-38
>                 URL: https://issues.apache.org/jira/browse/OODT-38
>             Project: OODT
>          Issue Type: Improvement
>          Components: build proces
>            Reporter: Paul Ramirez
>            Priority: Minor
>             Fix For: 0.1-incubating
>
>
> Currently during the build a failure is caused by a test that counts the number of unapproved
licenses. While it is good to know that there are unapproved licenses it would seem like this
should be something disconnected from the build process. Otherwise on a simple "mvn install"
one runs into the following:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Too many unapproved licenses: 133
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 23 seconds
> [INFO] Finished at: Sun Sep 19 10:28:29 PDT 2010
> [INFO] Final Memory: 52M/123M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message