[jetty-dev] [jira] (JETTY-1493) Maven Dependency Behaviour Orbit Package Type

Jakub Holý (JIRA) <[email protected]>
Newsgroups gmane.comp.java.jetty.general
Message-ID <774120703.61894.1333535762981.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
    [ https://jira.codehaus.org/browse/JETTY-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295747#comment-295747 ] 

Jakub Holý edited comment on JETTY-1493 at 4/4/12 5:35 AM:
-----------------------------------------------------------

I'm using Groovy's Grape so the workaround above isn't usable for me but I found out that using artifacts from [the aggregate group|http://wiki.eclipse.org/Jetty/Reference/Dependencies#Aggregate_JARs] instead  works. This is my final configuration:
{code}
@Grapes([
    @Grab('org.eclipse.jetty.aggregate:jetty-server:8.1.2.v20120308'),
    @Grab('org.eclipse.jetty.aggregate:jetty-servlet:8.1.2.v20120308'),
    @Grab(group='javax.servlet', module='javax.servlet-api', version='3.0.1')])
{code}


                
      was (Author: malyvelky):
    I'm using Groovy's Grape so the workaround above isn't usable for me but I found out that using artifacts from the aggregate group instead  works. This is my final configuration:
{code}
@Grapes([
    @Grab('org.eclipse.jetty.aggregate:jetty-server:8.1.2.v20120308'),
    @Grab('org.eclipse.jetty.aggregate:jetty-servlet:8.1.2.v20120308'),
    @Grab(group='javax.servlet', module='javax.servlet-api', version='3.0.1')])
{code}


                  
> Maven Dependency Behaviour Orbit Package Type
> ---------------------------------------------
>
>                 Key: JETTY-1493
>                 URL: https://jira.codehaus.org/browse/JETTY-1493
>             Project: Jetty
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 7.6.1
>         Environment: Apache Ivy
>            Reporter: Andre Ben Hamou
>            Assignee: Jesse McConnell
>
> http://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server/7.6.1.v20120215
> depends on
> http://mvnrepository.com/artifact/org.eclipse.jetty.orbit/javax.servlet/2.5.0.v201103041518
> The latter has a package type of 'orbit' which causes maven to think the target extension should be '.orbit'. Since it's actually a JAR, both the button on the latter page (Download (ORBIT)) and my local Ivy resolution chain are broken.

--
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.