aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes m2eclipse and the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "m2eclipse and the "uknown packaging" eror" Watch "m2eclipse and the "uknown packaging" eror" New topic
Author

m2eclipse and the "uknown packaging" eror

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5830
    
    7

In Eclipse, when I open the POM for one of my projects I am getting the error "Project build error: Unknown packaging type: iso".

I have create a plugin that handles builds for packaging type of iso. I have modified the pom.xml to reference that plugin and the build runs fine from the command line. My question is, how to I tell m2eclipse about my plugin so that it doesn't complain about the packaging type? I have dug through the various configuration files in the workspace/.metadata directory and googled for the error message but haven't found any answer. Anybody know?


JBoss In Action
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5830
    
    7

The trick seem to be to restart Eclipse. At least that is the only thing I can come up with because the next day when I started Eclipse and opened the offending POM, Eclipse was happy and no longer complained about the packaging type.

By the way, before I restarted I tried: resaving the pom.xml, cleaning the project, building the project, refreshing the project. None of those removed the unknown packaging error.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

I've had bad experiences with eclipse resulting in the following error solving method:

This should compile -> This should really compile -> restart eclipse -> it compiles


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5830
    
    7

Ah, but I never compile anything within Eclipse. All I was trying to do was get rid of an error flag.

But it is kind of funny that the typical way to fix weird Eclipse issues is the similar to the typical way to fix Windows issues - reboot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: m2eclipse and the "uknown packaging" eror