Hi all,

I think m2eclipse 0.0.10 (or the embedder it uses) does not handle
artifact extensions properly. I'm using the Apache Felix OSGi plugin
that registers the 'osgi-bundle' extension for it's artifact that
actually have a '.jar' file-extension. Building from the commandline
works fine, but using m2eclipse it fails.

eg. using this config in my pom
...
        <dependency>
            <groupId>my.group.id</groupId>
            <artifactId>my-artifact</artifactId>
            <version>${pom.version}</version>
            <scope>provided</scope>
            <type>osgi-bundle</type>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix.plugins</groupId>
                <artifactId>maven-osgi-plugin</artifactId>
                <extensions>true</extensions>
            </plugin>

... results in ...

5/16/07 4:35:12 PM CEST: Missing:
1) my.group.id:my-artifact:osgi-bundle:9.0.0-SNAPSHOT
  Try downloading the file manually from the project website.

...

Is this a bug (couldnt find it in JIRA)? Can I work around it?

Best regards,
Bram de Kruijff


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

    http://xircles.codehaus.org/manage_email

Reply via email to