Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8872819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:18:44+00:00 2026-06-14T18:18:44+00:00

Every time I make a new proper project using Maven hosted on Github I

  • 0

Every time I make a new proper project using Maven hosted on Github I have to go look at either one of my own old projects and copy the pom file or I go find a project that I think does a good job and copy there POM file. Then I have to go search and replace things like project name… etc.

Now Maven has a solution to this through archetypes but I have yet to see one that is modern enough such that it:

  • Uses the release plugin and deploys to SonaType Central Maven reop.
  • Connects to Github (meaning the scm connections and release plugin work do the right thing)
  • Makes all three jar artifacts (sources, javadoc, and regular jar)

I have contemplated make some giter8 templates but was hoping somebody already did something like this (most of the g8 templates are for sbt).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:18:46+00:00Added an answer on June 14, 2026 at 6:18 pm

    It turns out its incredible easy to create your own maven archetype.

    1. Just make a generic project with stuff you like to use
    2. In the project directory run mvn archetype:create-from-project
    3. Generally Maven guesses the right things to make variable but if not you just edit the Velocity templates.
    4. Install your archetype locally with mvn install
    5. To use your new archetype: mvn archetype:generate -DarchetypeGroupId=com.mygroup -DarchetypeArtifactId=my-archetype

    Now the only caveat is that there is not very good doc on the web that I could find on the archetype system. Like its unclear what variables you have available to you for Velocity (although most of them are obvious).

    http://maven.apache.org/archetype/maven-archetype-plugin/create-from-project-mojo.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a kind of framework where every time I make a new
Every time i make a new JFrame object, the frame appears in the 0,0
Can I make ComboBox from AjaxToolkit make call to server every time new letter
When using Visual Studio's built in web server, every time I make a page
Every time in PHP when I make a variable such as this one: $date
I have a Products:List<Product> class. I'd like to make it so that every time
Every time I make significant changes to a Drupal module (i.e. new items in
Every time I create a new project I copy the last project's ant file
Every time I make a project I develop several generic routines/modules/libraries that I expect
I'm using django python with wingIDE and every time I make a change I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.