Custom Archetype

230 views Asked by At

I made a custom archetype from on an existing project (in eclipse) with the basic structure for a web service.

mvn archetype:create-from-project

Then I installed the archetype locally:

\target\generated-sources\archetype\mvn install archetype:update-local-catalog

But, when I try to use my archetype in Eclipse (Maven Project->Select local archetype) I have a problem with a .project file.

"Failed to read the project description file (.project) for 'testname-proj'. 
The file has been changed on disk, and it now contains invalid information.  The project will not function properly until the description file is restored to a valid state."

However, the project exist in my disk, but doesn't show it within eclipse IDE.

I had followed the same steps in https://www.youtube.com/watch?v=a_nTvBA787g

UPDATE:

I solved it deleting .project, .classpath and .setting files.

0

There are 0 answers