You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Martin Snitkovsky (JIRA)" <ji...@apache.org> on 2009/07/06 08:51:14 UTC

[jira] Created: (WINK-43) Configure maven-license-plugin to run only during WInk release

Configure maven-license-plugin to run only during WInk release 
---------------------------------------------------------------

                 Key: WINK-43
                 URL: https://issues.apache.org/jira/browse/WINK-43
             Project: Wink
          Issue Type: Improvement
          Components: Build
    Affects Versions: 0.1
            Reporter: Martin Snitkovsky
            Assignee: Martin Snitkovsky
             Fix For: 0.1


Currently ASF legal header will be validated during each maven install phase which is kind of overhead.
Once we have Hudson up and running, we should configure (by using maven profiles) this plug-in to run only during release build


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


[jira] Commented: (WINK-43) Configure maven-license-plugin to run only during WInk release

Posted by "Martin Snitkovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727408#action_12727408 ] 

Martin Snitkovsky commented on WINK-43:
---------------------------------------

+1

> Configure maven-license-plugin to run only during WInk release 
> ---------------------------------------------------------------
>
>                 Key: WINK-43
>                 URL: https://issues.apache.org/jira/browse/WINK-43
>             Project: Wink
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 0.1
>            Reporter: Martin Snitkovsky
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>
> Currently ASF legal header will be validated during each maven install phase which is kind of overhead.
> Once we have Hudson up and running, we should configure (by using maven profiles) this plug-in to run only during release build

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


[jira] Commented: (WINK-43) Configure maven-license-plugin to run only during WInk release

Posted by "Bryant Luk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727704#action_12727704 ] 

Bryant Luk commented on WINK-43:
--------------------------------

Anyone know of a way to pass in a parent POM's properties down to the children?  I guess it can be set in the parent POM and then inherited but is there a better way to reference properties?

When running mvn install in wink-server, I get something like:

[INFO] Installing C:\apachewink\wink\wink-server\target\wink-server-0.1-SNAPSHOT.jar to C:\Documents and Settings\Administrator\.m2\repository\org\apache\wink\wink-server\0.1-SNAPSHOT\wink-server-0.1-SNAPSHOT.jar
[INFO] Installing C:\apachewink\wink\wink-server\target\wink-server-0.1-SNAPSHOT-sources.jar to C:\Documents and Settings\Administrator\.m2\repository\org\apache\wink\wink-server\0.1-SNAPSHOT\wink-server-0.1-SNAPSHOT-sources.jar
[INFO] [license:check {execution: default}]
[INFO] Checking licenses...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Resource not found in file system, classpath or URL: src/etc/header.txt
[INFO] ------------------------------------------------------------------------


> Configure maven-license-plugin to run only during WInk release 
> ---------------------------------------------------------------
>
>                 Key: WINK-43
>                 URL: https://issues.apache.org/jira/browse/WINK-43
>             Project: Wink
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 0.1
>            Reporter: Martin Snitkovsky
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>
> Currently ASF legal header will be validated during each maven install phase which is kind of overhead.
> Once we have Hudson up and running, we should configure (by using maven profiles) this plug-in to run only during release build

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


[jira] Commented: (WINK-43) Configure maven-license-plugin to run only during WInk release

Posted by "Martin Snitkovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727966#action_12727966 ] 

Martin Snitkovsky commented on WINK-43:
---------------------------------------

use ${module.relative.path}  property in maven-license-plugin definition 

{code}
<groupId>com.google.code.maven-license-plugin</groupId>
				<artifactId>maven-license-plugin</artifactId>
				<configuration>
					<header>${module.relative.path}src/etc/header.txt</header>
					<quiet>false</quiet>
{code}

> Configure maven-license-plugin to run only during WInk release 
> ---------------------------------------------------------------
>
>                 Key: WINK-43
>                 URL: https://issues.apache.org/jira/browse/WINK-43
>             Project: Wink
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 0.1
>            Reporter: Martin Snitkovsky
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>
> Currently ASF legal header will be validated during each maven install phase which is kind of overhead.
> Once we have Hudson up and running, we should configure (by using maven profiles) this plug-in to run only during release build

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


[jira] Resolved: (WINK-43) Configure maven-license-plugin to run only during WInk release

Posted by "Martin Snitkovsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Snitkovsky resolved WINK-43.
-----------------------------------

    Resolution: Fixed

The problem with building Wink sub-modules is fixed

> Configure maven-license-plugin to run only during WInk release 
> ---------------------------------------------------------------
>
>                 Key: WINK-43
>                 URL: https://issues.apache.org/jira/browse/WINK-43
>             Project: Wink
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 0.1
>            Reporter: Martin Snitkovsky
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>
> Currently ASF legal header will be validated during each maven install phase which is kind of overhead.
> Once we have Hudson up and running, we should configure (by using maven profiles) this plug-in to run only during release build

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


[jira] Issue Comment Edited: (WINK-43) Configure maven-license-plugin to run only during WInk release

Posted by "Martin Snitkovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727966#action_12727966 ] 

Martin Snitkovsky edited comment on WINK-43 at 7/7/09 12:45 AM:
----------------------------------------------------------------

in main Wink pom.xml use ${module.relative.path}  property in maven-license-plugin definition 

<groupId>com.google.code.maven-license-plugin</groupId>
				<artifactId>maven-license-plugin</artifactId>
				<configuration>
					<header>${module.relative.path}src/etc/header.txt</header>
					<quiet>false</quiet>

I will provide a fix 

      was (Author: martins):
    use ${module.relative.path}  property in maven-license-plugin definition 

{code}
<groupId>com.google.code.maven-license-plugin</groupId>
				<artifactId>maven-license-plugin</artifactId>
				<configuration>
					<header>${module.relative.path}src/etc/header.txt</header>
					<quiet>false</quiet>
{code}
  
> Configure maven-license-plugin to run only during WInk release 
> ---------------------------------------------------------------
>
>                 Key: WINK-43
>                 URL: https://issues.apache.org/jira/browse/WINK-43
>             Project: Wink
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 0.1
>            Reporter: Martin Snitkovsky
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>
> Currently ASF legal header will be validated during each maven install phase which is kind of overhead.
> Once we have Hudson up and running, we should configure (by using maven profiles) this plug-in to run only during release build

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


[jira] Commented: (WINK-43) Configure maven-license-plugin to run only during WInk release

Posted by "Michael Elman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727407#action_12727407 ] 

Michael Elman commented on WINK-43:
-----------------------------------

Let's extend this issue to make sure that during the development phase only processes that are necessary for the development are running. For example we don't need to create sources and javadocs jars, assembly and so on.
The local builds must be as quick as possible.
We may still want to have these running for a nightly builds and of cause for the release.

> Configure maven-license-plugin to run only during WInk release 
> ---------------------------------------------------------------
>
>                 Key: WINK-43
>                 URL: https://issues.apache.org/jira/browse/WINK-43
>             Project: Wink
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 0.1
>            Reporter: Martin Snitkovsky
>            Assignee: Martin Snitkovsky
>             Fix For: 0.1
>
>
> Currently ASF legal header will be validated during each maven install phase which is kind of overhead.
> Once we have Hudson up and running, we should configure (by using maven profiles) this plug-in to run only during release build

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