Search code examples
swingmaven-2desktop-application

Which maven2 archetype to use for a Swing desktop application?


I want to build a small Swing application today and use maven2 for the build/test lifecycle.

But I don't know which archetype I should choose to create the project. Is there something available for a desktop application? Or do I start with the simple archetype (no #3 in the interactive setup)?


Solution

  • I would choose the simple or no archetype at all. Perhaps the Maven Quickstart Archetype.

    Swing is part of Java (at least in more recent versions). I am not aware of any archetype that is targeted at Swing desktop applications.

    Some previous posts:

    Maven2 & Swing projects: Build & run swing application

    How to create a swing application using maven?