Re: maven-war-plugin and woframework packaging

From: Henrique Prange (hprang..mail.com)
Date: Thu Feb 04 2010 - 14:38:10 EST

  • Next message: Chandrashekhar Tupe (JIRA): "[OS-JIRA] Created: (WOL-1143) Error while saving api file"

    Hi Sebastien,

    Are you declaring the dependency on your frameworks like this?

    <dependency>
        <groupId>my.group</groupId>
        <artifactId>my-artifact</artifactId>
        <version>1.x.x</version>
        <type>woframework</type>
    </dependency>

    If so, just remove the type declaration:

    <dependency>
        <groupId>my.group</groupId>
        <artifactId>my-artifact</artifactId>
        <version>1.x.x</version>
    </dependency>

    The woframework packaging generates the JAR for you. So, you can declare
    your dependencies as plain JARs.

    Cheers,

    Henrique

    On 03/02/10 15:43, Sébastien Letélié wrote:
    > Hi,
    >
    > I need woframeworks inside a J2EE web projects. I have packaged my
    > framworks with woframework mode from wolifecycle-plugin.
    > The problem is that the maven-war-plugin don't know the artifact type
    > "woframework" and the jars ar not included in the WEB-INF/lib :
    > [DEBUG] Artifact of type[woframework] is not supported,
    > ignoring[com.resurgences:JavaResUrgencesEO:woframework:5.0.2AM:compile]
    >
    > someone have an idea to fix this issue ? i search in the
    > maven-war-plugin configurations but i don't found anything
    >
    > thanks



    This archive was generated by hypermail 2.0.0 : Thu Feb 04 2010 - 14:39:15 EST