Hi,

an archetype project is a standard jar project. There is no specific 'maven-archetype' packaging defined, hence the error. Just omit the <packaging/> declaration or change it to 'jar'.

Have a look here [1] for a short introduction of how to create archetypes by hand and here [2] for a description of the goals of the archetype plugin.

-Tim

[1] http://maven.apache.org/guides/mini/guide-creating-archetypes.html
[2] http://maven.apache.org/plugins/maven-archetype-plugin/

Stefano Fornari schrieb:
Hi All,
I am building an archetype and since I took an example from somewhere,
the packaging was maven-plugin. Trying to release it, I get the
following deprecation warning:

[WARNING] *******************************************************
        [WARNING] Deprecation Alert:
        [WARNING] No mojo descriptors were found in this project which
has a packaging type of maven-plugin.
        [WARNING] In future versions of the plugin tools, this will
fail the build.
        [WARNING] If this project is an archetype, change the
packaging type from maven-plugin to maven-archetype.
        [WARNING] ********************************************************

But if I change the packaging to maven-archetype, I get the error in
the subject.

What do I miss?

Thanks in advance.
Ste



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to