Skip to main content

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

OK I've just updated m2e to the just released version (1.4) but I'm still having this problem.


2013/6/26 Iris <sinthemesc@xxxxxxxxxx>
Thank you for your quick answers but I'm new to this so I don't understand well how to even check what version of m2e I've installed (anyway I tried to update the plugin but I didn't get any update available) and what exactly should I do to run mvn package on the CLI? What's the CLI?

Thanks
Iris


2013/6/26 <Alejandro.Endo@xxxxxxxxxxx>

That error is caused by a problem in BND/maven-bundle-plugin. I will take
the chance to ask the list why is the error so cryptic: "null". Should we
file a bug? is it m2e or the MBP?

Anyway, Iris, you are better off running mvn package on the CLI and getting
a real error from there

Good luck





Alejandro Endo | Software Designer/Concepteur de logiciels




From:   Iris <sinthemesc@xxxxxxxxxx>
To:     m2e-users <m2e-users@xxxxxxxxxxx>,
Date:   2013-06-26 09:52
Subject:        [m2e-users] pom.xml null error in maven project in eclipse
Sent by:        m2e-users-bounces@xxxxxxxxxxx



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.
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



DISCLAIMER:

Privileged and/or Confidential information may be contained in this
message. If you are not the addressee of this message, you may not
copy, use or deliver this message to anyone. In such event, you
should destroy the message and kindly notify the sender by reply
e-mail. It is understood that opinions or conclusions that do not
relate to the official business of the company are neither given
nor endorsed by the company.

Thank You.

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top