Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Handling Unknown packaging type in config

This sounds similar/related to [1], which was fixed in soon to be
released m2e 1.4. The new version is currently available from m2e
milestones repository and I'd check if the problem is fixed already. m2e
download page explains how to install from milestone repository.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=405090
[2] http://www.eclipse.org/m2e/download/

--
Regards,
Igor

On 2013-06-17 12:40 PM, Vegard Balgaard Havdal wrote:

On Jun 17, 2013, at 10:13 AM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:

The error message means that maven (not m2e) is not able to find the
packaging type. Usually this means that either pom.xml is missing
extensions <plugin> element or maven is not able to load the plugin.

Are you able to build the project on command line?

Yes, always builds fine on command line, this is only seen in Eclipse. Also: it comes and goes in Eclipse, sometimes the workspace gets into a state where the marker doesn't show up in any project.

We use SNAPSHOTs when pulling in the plugin, I suspect that has something to do with it:

<build>
     <plugins>
       <plugin>
         <groupId>foo.bar.osgi</groupId>
         <artifactId>bundle-plugin</artifactId>
         <version>5.1-SNAPSHOT</version>
         <extensions>true</extensions>
       </plugin>

And the pom and jar is present:
~/.m2/repository/foo/bar/osgi/bundle-plugin/5.1-SNAPSHOT/bundle-plugin-5.1-SNAPSHOT.pom
~/.m2/repository/foo/bar/osgi/bundle-plugin/5.1-SNAPSHOT/bundle-plugin-5.1-SNAPSHOT.jar

We will continue digging, and possibly create a sample project.

Vegard


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



Back to the top