You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carlos Sanchez (JIRA)" <ji...@apache.org> on 2007/10/19 02:06:50 UTC

[jira] Created: (FELIX-400) pom resources are not correctly processed

pom resources are not correctly processed
-----------------------------------------

                 Key: FELIX-400
                 URL: https://issues.apache.org/jira/browse/FELIX-400
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: 1.0.0
            Reporter: Carlos Sanchez


Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception

The code for processing resources is here
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java

it should be probably factored out for reuse

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


[jira] Commented: (FELIX-400) pom resources are not correctly processed

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536096 ] 

Stuart McCulloch commented on FELIX-400:
----------------------------------------

Thanks Carlos, I've applied your patch to fix the exception and will look into supporting the includes/excludes settings.

> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>            Assignee: Stuart McCulloch
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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


[jira] Work started: (FELIX-400) pom resources are not correctly processed

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

Work on FELIX-400 started by Stuart McCulloch.

> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>            Assignee: Stuart McCulloch
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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


[jira] Closed: (FELIX-400) pom resources are not correctly processed

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

Stuart McCulloch closed FELIX-400.
----------------------------------


> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>            Assignee: Stuart McCulloch
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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


[jira] Work started: (FELIX-400) pom resources are not correctly processed

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

Work on FELIX-400 started by Stuart McCulloch.

> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>            Assignee: Stuart McCulloch
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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


[jira] Updated: (FELIX-400) pom resources are not correctly processed

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

Carlos Sanchez updated FELIX-400:
---------------------------------

    Attachment: FELIX-400.txt

This is the patch for the ArrayOOB exception, I don't have time right now to do the complete patch

> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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


[jira] Resolved: (FELIX-400) pom resources are not correctly processed

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

Stuart McCulloch resolved FELIX-400.
------------------------------------

    Resolution: Fixed

Added code to properly handle any includes/excludes - will deploy a new snapshot with this fix

> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>            Assignee: Stuart McCulloch
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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


[jira] Assigned: (FELIX-400) pom resources are not correctly processed

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

Stuart McCulloch reassigned FELIX-400:
--------------------------------------

    Assignee: Stuart McCulloch

> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>            Assignee: Stuart McCulloch
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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


[jira] Work stopped: (FELIX-400) pom resources are not correctly processed

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

Work on FELIX-400 stopped by Stuart McCulloch.

> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>            Assignee: Stuart McCulloch
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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


[jira] Updated: (FELIX-400) pom resources are not correctly processed

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

Stuart McCulloch updated FELIX-400:
-----------------------------------


Hi,

I'd like to get all resolved defects verified before releasing the 1.1.0 version of the bundleplugin - so I'd really appreciate it if you could check things are still ok with the current snapshot, and if so close off the defect.

Thanks in advance!

> pom resources are not correctly processed
> -----------------------------------------
>
>                 Key: FELIX-400
>                 URL: https://issues.apache.org/jira/browse/FELIX-400
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: 1.0.0
>            Reporter: Carlos Sanchez
>            Assignee: Stuart McCulloch
>         Attachments: FELIX-400.txt
>
>
> Resources listed in <build><resources> are not correctly processed into the Include-Resource directive, the includes and excludes are ignored, and if you use <directory>${basedir}</directory> you get an out of bounds exception
> The code for processing resources is here
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
> it should be probably factored out for reuse

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