You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2007/07/17 23:38:04 UTC

[jira] Created: (MIME4J-20) Fix duplicated generation of source/sources jars for maven repository

Fix duplicated generation of source/sources jars for maven repository
---------------------------------------------------------------------

                 Key: MIME4J-20
                 URL: https://issues.apache.org/jira/browse/MIME4J-20
             Project: Mime4j
          Issue Type: Bug
    Affects Versions: 0.3
            Reporter: Stefano Bagnara
             Fix For: 0.4


Currently we generate a source.jar using the assembly plugin and a sources.jar using the maven source plugin.
The original goal was to have original sources in one of them and the generated java files + original java in the other but this didn't work, so either we fix it or we remove the one generated by the sources plugin (that seems buggy in relation to the position of some generated file)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Assigned: (MIME4J-20) Fix duplicated generation of source/sources jars for maven repository

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burrell Donkin reassigned MIME4J-20:
-------------------------------------------

    Assignee: Stefano Bagnara

Hi Stefano

I think that the patch I've applied solves this issue but I'd feel more confident with a second opinion. If you can find a few cycles to either close as FIXED or point out what's still wrong then that'd be great.

Cheers

Robert

> Fix duplicated generation of source/sources jars for maven repository
> ---------------------------------------------------------------------
>
>                 Key: MIME4J-20
>                 URL: https://issues.apache.org/jira/browse/MIME4J-20
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>             Fix For: 0.4
>
>         Attachments: mime4j-source.patch
>
>
> Currently we generate a source.jar using the assembly plugin and a sources.jar using the maven source plugin.
> The original goal was to have original sources in one of them and the generated java files + original java in the other but this didn't work, so either we fix it or we remove the one generated by the sources plugin (that seems buggy in relation to the position of some generated file)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (MIME4J-20) Fix duplicated generation of source/sources jars for maven repository

Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/MIME4J-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600621#action_12600621 ] 

Robert Burrell Donkin commented on MIME4J-20:
---------------------------------------------

Committed. Many thanks.

> Fix duplicated generation of source/sources jars for maven repository
> ---------------------------------------------------------------------
>
>                 Key: MIME4J-20
>                 URL: https://issues.apache.org/jira/browse/MIME4J-20
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>             Fix For: 0.4
>
>         Attachments: mime4j-source.patch
>
>
> Currently we generate a source.jar using the assembly plugin and a sources.jar using the maven source plugin.
> The original goal was to have original sources in one of them and the generated java files + original java in the other but this didn't work, so either we fix it or we remove the one generated by the sources plugin (that seems buggy in relation to the position of some generated file)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (MIME4J-20) Fix duplicated generation of source/sources jars for maven repository

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Bagnara resolved MIME4J-20.
-----------------------------------

    Resolution: Fixed

Sound to my hear!

The old solution was really an hack, thank you for testing the upgraded plugin and for the other changes!

Now the generated sources works fine.

Furthermore this upgrade also fixed the usage of m2clipse (previously the generated sources tree was not correctly imported because of the above hack).


> Fix duplicated generation of source/sources jars for maven repository
> ---------------------------------------------------------------------
>
>                 Key: MIME4J-20
>                 URL: https://issues.apache.org/jira/browse/MIME4J-20
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>             Fix For: 0.4
>
>         Attachments: mime4j-source.patch
>
>
> Currently we generate a source.jar using the assembly plugin and a sources.jar using the maven source plugin.
> The original goal was to have original sources in one of them and the generated java files + original java in the other but this didn't work, so either we fix it or we remove the one generated by the sources plugin (that seems buggy in relation to the position of some generated file)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Updated: (MIME4J-20) Fix duplicated generation of source/sources jars for maven repository

Posted by "Oleg Kalnichevski (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated MIME4J-20:
------------------------------------

    Attachment: mime4j-source.patch

Upgrading to the latest release of javacc plugin seems to have fixed the problem. Source assembly descriptor is no longer needed.  

I also took liberty of making some minor changes to the pom.xml. Please review.

Oleg

> Fix duplicated generation of source/sources jars for maven repository
> ---------------------------------------------------------------------
>
>                 Key: MIME4J-20
>                 URL: https://issues.apache.org/jira/browse/MIME4J-20
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>             Fix For: 0.4
>
>         Attachments: mime4j-source.patch
>
>
> Currently we generate a source.jar using the assembly plugin and a sources.jar using the maven source plugin.
> The original goal was to have original sources in one of them and the generated java files + original java in the other but this didn't work, so either we fix it or we remove the one generated by the sources plugin (that seems buggy in relation to the position of some generated file)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (MIME4J-20) Fix duplicated generation of source/sources jars for maven repository

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/MIME4J-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600711#action_12600711 ] 

Stefano Bagnara commented on MIME4J-20:
---------------------------------------

Sorry, it is not true that m2clipse now works. But I tried q4e and works perfectly now.

> Fix duplicated generation of source/sources jars for maven repository
> ---------------------------------------------------------------------
>
>                 Key: MIME4J-20
>                 URL: https://issues.apache.org/jira/browse/MIME4J-20
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>             Fix For: 0.4
>
>         Attachments: mime4j-source.patch
>
>
> Currently we generate a source.jar using the assembly plugin and a sources.jar using the maven source plugin.
> The original goal was to have original sources in one of them and the generated java files + original java in the other but this didn't work, so either we fix it or we remove the one generated by the sources plugin (that seems buggy in relation to the position of some generated file)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org