[jira] Created: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
Support Include and Exclude resources during overlay when jetty:run
-------------------------------------------------------------------

                 Key: JETTY-846
                 URL: http://jira.codehaus.org/browse/JETTY-846
             Project: Jetty
          Issue Type: New Feature
          Components: Maven2
    Affects Versions: 6.1.14
            Reporter: Alfred Chan


Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.

i.e. Can jetty:run support the feature


Previous Discussion:
http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159309#action_159309 ]

Alfred Chan commented on JETTY-846:
-----------------------------------

i.e. Can jetty:run support the feature that similar to maven-war-plugin to exclude or include the resources from the parent WARs?
http://maven.apache.org/plugins/maven-war-plugin/overlays.html

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: http://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven2
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ http://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Bartel reassigned JETTY-846:
--------------------------------

    Assignee: David Yu

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: http://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven2
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>            Assignee: David Yu
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ http://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Gorovoy reassigned JETTY-846:
-------------------------------------

    Assignee: Jesse McConnell

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: http://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven2
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>            Assignee: Jesse McConnell
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260724#action_260724 ]

Peter Parente commented on JETTY-846:
-------------------------------------

Agreed. This would be handy when doing web development that overlays JS libs from various separate modules into a single js/ path of sorts. Right now, the first module targeted to js/ wins and none of the others show up, even if unpackOverlays is true.

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: http://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven2
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>            Assignee: Jesse McConnell
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261521#action_261521 ]

Matt Fisher commented on JETTY-846:
-----------------------------------

This doesn't appear to be getting any love...
Using WAR overlays is a basic, commonly used feature for creating a webapp. Shared resources are often push into a separate WAR so that they can be maintained in a single location and shared/overlayed among many other projects. In addition to sharing the resources, people commonly put parameters in them (such as an XML config file that has a database URL parameter) and apply different values based on Maven build profiles.  Maven's WAR plugin handles this by allowing resources to be filtered after overlayed.  However, there doesn't seem to be a way to filter those overlayed resources when using jetty:run. Running jetty:run-war can take quite a bit of time to build a WAR with overlays and doesn't offer a mechanism to edit JSPs in-place in a safe manner (other than in the build directory, which is not safe when running mvn clean).

I am using maven-jetty-plugin 7.x, although this issue specifies 6.1.14.

1) Is there a current feature that satisfies this request?
2) If not, is this request going to be considered?

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: http://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven2
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>            Assignee: Jesse McConnell
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ https://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273164#comment-273164 ]

Benjamin Schrooten commented on JETTY-846:
------------------------------------------

Would love to have this capability.

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: https://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven2
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>            Assignee: Jesse McConnell
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse McConnell reassigned JETTY-846:
-------------------------------------

    Assignee: Michael Gorovoy  (was: Jesse McConnell)

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: https://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven2
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>            Assignee: Michael Gorovoy
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Bartel reassigned JETTY-846:
--------------------------------

    Assignee: Jan Bartel  (was: Michael Gorovoy)

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: https://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven2
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>            Assignee: Jan Bartel
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ https://jira.codehaus.org/browse/JETTY-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=294074#comment-294074 ]

Daniel Bernstein commented on JETTY-846:
----------------------------------------

Also it would be nice if targetPath worked with jetty:run as well.  I'm on maven-jetty-plugin 7.x as well. Thanks.
               

> Support Include and Exclude resources during overlay when jetty:run
> -------------------------------------------------------------------
>
>                 Key: JETTY-846
>                 URL: https://jira.codehaus.org/browse/JETTY-846
>             Project: Jetty
>          Issue Type: New Feature
>          Components: Maven
>    Affects Versions: 6.1.14
>            Reporter: Alfred Chan
>            Assignee: Jan Bartel
>
> Now, jetty maven plugin support the overlay during jetty:run. But, it doesn't support to exclude or include resources during overlay.
> i.e. Can jetty:run support the feature
> Previous Discussion:
> http://www.nabble.com/jetty%3Arun-didn't-work-with-overlay-to21122671.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] (JETTY-846) Support Include and Exclude resources during overlay when jetty:run

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org
Jan Bartel resolved New Feature JETTY-846 as Fixed

Implemented parsing of maven-war-plugin configuration for overlays. From jetty-9.0.0.M3 onwards, the jetty maven plugin will use this information to order and honour includes/excludes on overlays.

Change By: Jan Bartel (18/Nov/12 9:09 PM)
Resolution: Fixed
Fix Version/s: 9.0.0
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email