Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] pom.xml null error in maven project in eclipse

Inside my Maven project, I have an error in my pom.xml file.

    <plugin>
        <groupId>org.apache.felix</
groupId>
        <artifactId>maven-bundle-plugin</artifactId>               
        <extensions>true</extensions>
        <configuration>
            <instructions>
                <Bundle-Category>sorgeniawsc</Bundle-Category>
                <Include-Resource>{maven-resources}</Include-Resource>
                <Export-Package>com.newenergy.*</Export-Package>
                <Embed-Dependency>*;scope=compile;inline=false;artifactId=gson, day-commons-ldapclient, commons-beanutils</Embed-Dependency>
                </instructions>
        </configuration>
    </plugin>
   
In line 13 I get this error: null (org.apache.felix:maven-bundle-plugin:2.1.0:bundle:default-bundle:package)

Also, when I open a resource using hyperlinking or through shortcuts, I get the derived files and I think it's a consequence of the pom error.
Anyone knows how to solve this? Thanks. I'm using Eclipse Juno.

Back to the top