Giter Club home page Giter Club logo

tomfi-archetypes's Introduction

TomFi's Maven Archetypes
artifact-version java-version status-build status-pages

Quickly spin up an updated Git and GitHub-ready Java project with Maven.
Check out the documentation for all the rest more information.


๐Ÿš€ We now have a maven command generator, check it out here. ๐Ÿš€


Java Playground Archetype

mvn archetype:generate \
-DarchetypeGroupId=info.tomfi.archetypes \
-DarchetypeArtifactId=java-playground \
-DarchetypeVersion=1.1.14

Java Playground Modular Archetype

mvn archetype:generate \
-DarchetypeGroupId=info.tomfi.archetypes \
-DarchetypeArtifactId=java-playground-mod \
-DarchetypeVersion=1.1.14

Java Advanced Archetype

mvn archetype:generate \
-DarchetypeGroupId=info.tomfi.archetypes \
-DarchetypeArtifactId=java-advanced \
-DarchetypeVersion=1.1.14

Java Advanced Modular Archetype

mvn archetype:generate \
-DarchetypeGroupId=info.tomfi.archetypes \
-DarchetypeArtifactId=java-advanced-mod \
-DarchetypeVersion=1.1.14

Java Full Archetype

mvn archetype:generate \
-DarchetypeGroupId=info.tomfi.archetypes \
-DarchetypeArtifactId=java-full \
-DarchetypeVersion=1.1.14

Java Full Modular Archetype

mvn archetype:generate \
-DarchetypeGroupId=info.tomfi.archetypes \
-DarchetypeArtifactId=java-full-mod \
-DarchetypeVersion=1.1.14

tomfi-archetypes's People

Contributors

dependabot[bot] avatar tomerfi avatar

Stargazers

 avatar  avatar

Watchers

 avatar

tomfi-archetypes's Issues

Support multiple Java versions

What did you have in mind?

Currently, the archetypes in this project are created for Java 17,
it might a good idea to allow the user to specify Java 11+.

Are you trying to fix a problem?

No response

Any lead on how this feature can be implemented?

No response

The developer id property cannot contain space

What happened?

The developer id is used for constructing the user profile link, if it contains spaces, it will break.
The current regex matching is not verifying that.

Please provide runtime information.

Not relevant

Relevant log output

No response

How can this issue be reproduced?

No response

Commands generated with spaces in owner name fail

What happened?

The owner name should wrapped in " when generating the command.

Please provide runtime information.

Not relevant.

Relevant log output

No response

How can this issue be reproduced?

No response

Working on "Select project type" pop-up menu

What did you have in mind?

I'm thinking of making the pop-up menu more engaging and user-friendly.

Are you trying to fix a problem?

image

Enhancing already available pop-up menu.

Any lead on how this feature can be implemented?

This can be implemented by using CSS.

Consider adding workflows

What did you have in mind?

Adding a couple of basic GitHub workflows, or at least one for pull requests/push.
Perhaps this might not suit the Playground archetypes variants,
but it might be a good idea for the Advanced and Full ones.

Are you trying to fix a problem?

No response

Any lead on how this feature can be implemented?

No response

Better looking command generator

What did you have in mind?

The current command generator probably represents the peak of my frontend-related expertise.

If you think you can do a better job than me,
you are probably right and your contribution will be very much appreciated. ๐Ÿค

The generator-related sources are:

Note that both the js and the css files are loaded via mkdocs.yml.

If you have any questions, please feel free to ping me.
Thank you in advance! ๐Ÿ™๐Ÿป

Are you trying to fix a problem?

No response

Any lead on how this feature can be implemented?

No response

Restrict package name from including the literal package

What happened?

By restriction, the package declaration is a reserved key and cannot be used as an actual package name.
i.e. these package names won't work:

  • package.com.example
  • com.package.example
  • com.example.package

The generator should verify this before generating a command.
Currently, we use this simple regex for verifying the package names, this should be modified to include (and reject) the above examples.

Note, we use he same regex variable not only for verifying the package names, but also for verifying the module, and group names, these might need to be segregated.

Please provide runtime information.

Java 18

Relevant log output

No response

How can this issue be reproduced?

  • Generate a maven command using the generator using one of the above examples.
  • Create the project using the generated command.
  • run mvn compile

The owner id property cannot contain space

What happened?

The owner id is used for constructing the scm link, if it contains spaces, it will break.
The current regex matching is not verifying that.

Please provide runtime information.

Not relevant

Relevant log output

No response

How can this issue be reproduced?

No response

Add reactor variant for archetypes

What did you have in mind?

Add a reactor archetype variant for creating maven reactor projects.
Implementing this for the 6 currently existing archetypes means that 6 more archetypes are required:

  • java-playground-reactor
  • java-playground-mod-reactor
  • java-advanced-reactor
  • java-advanced-mod-reactor
  • java-full-reactor
  • java-full-mod-reactor

Are you trying to fix a problem?

No response

Any lead on how this feature can be implemented?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.