GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - apache/maven-archetypes: Apache Maven Archetype Bundles

BranchesTags
Open more actions menu

Latest commit

 

History

448 Commits
448 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
maven-archetype-archetype
maven-archetype-archetype
 
 
maven-archetype-j2ee-simple
maven-archetype-j2ee-simple
 
 
maven-archetype-plugin-site
maven-archetype-plugin-site
 
 
maven-archetype-plugin
maven-archetype-plugin
 
 
maven-archetype-portlet
maven-archetype-portlet
 
 
maven-archetype-quickstart
maven-archetype-quickstart
 
 
maven-archetype-simple
maven-archetype-simple
 
 
maven-archetype-site-simple
maven-archetype-site-simple
 
 
maven-archetype-site-skin
maven-archetype-site-skin
 
 
maven-archetype-site
maven-archetype-site
 
 
maven-archetype-webapp
maven-archetype-webapp
 
 
src/site
src/site
 
 
.asf.yaml
.asf.yaml
 
 
.gitignore
.gitignore
 
 
Jenkinsfile
Jenkinsfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Contributing to Apache Maven Archetype Bundles

Apache License, Version 2.0, January 2004 Maven Central Build Status

You have found a bug, or you have an idea for a cool new feature? Contributing code is a great way to give something back to the open source community. Before you dig right into the code, there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.

Getting Started

  • Make sure you have a GitHub account.
  • If you're planning to implement a new feature, it makes sense to discuss your changes on the dev list first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Maven's scope.
  • Submit a ticket for your issue, assuming one does not already exist.
    • Clearly describe the issue, including steps to reproduce when it is a bug.
    • Make sure you fill in the earliest version that you know has the issue.
  • Fork the repository on GitHub.

Making and Submitting Changes

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors.
There are some guidelines which will make applying PRs easier for us:

  • Create a topic branch from where you want to base your work (this is usually the master branch). Push your changes to a topic branch in your fork of the repository.
  • Make commits of logical units.
  • Respect the original code style: by using the same codestyle, patches should only highlight the actual difference, not being disturbed by any formatting issues:
    • Only use spaces for indentation.
    • Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted, create a separate PR for this change.
    • Check for unnecessary whitespace with git diff --check before committing.
  • Make sure you have added the necessary tests (JUnit/IT) for your changes.
  • Run all the tests with mvn verify to assure nothing else was accidentally broken.
  • Submit a pull request to the repository in the Apache organization.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement.

Testing the Archetypes

Every archetype module is tested by its maven-archetype:integration-test goal, which mvn verify runs. Each directory src/test/resources/projects/<name> is one test; the Testing Archetypes guide describes its files (archetype.properties, goal.txt, reference/, verify.groovy) and how the goal compares the generated project with reference/.

To test one archetype, run mvn -B verify -pl maven-archetype-quickstart. Add -T2 to build modules in parallel; the archetype plugin is not marked thread-safe, so Maven warns about it. The generated projects, with their build.log, stay in <module>/target/test-classes/projects/<name>/project. Use -Darchetype.test.skip=true to package the archetypes without running the tests.

Making Trivial Changes

For changes of a trivial nature to comments and documentation, it is not always necessary to create a new ticket in JIRA. In this case, it is appropriate to start the first line of a commit with '(doc)' instead of a ticket number.

Additional Resources

  • Contributing patches
  • Apache Maven Archetype Bundles JIRA project page
  • Contributor License Agreement
  • General GitHub documentation
  • GitHub pull request documentation
  • Apache Maven X Account
  • Apache Maven Bluesky Account
  • Apache Maven Mastodon Account

About

Apache Maven Archetype Bundles

maven.apache.org/archetypes/

Topics

build-managementjavamavenmaven-archetype

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

37 stars

Watchers

22 watching

Forks

47 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.