0

If we generate a maven project like this:

 mvn archetype:generate -DgroupId=com.example -DartifactId=start -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

It generates one targeting junit 3.8.1 and does not include java 8 at the compiler target. Is there an archetype that targets a more recent 5+ junit dependency, as well as a compatible test case, and java8?

14
  • 1
    It is easy to upgrade to 4.12. JUnit 5 requires more work. Commented May 29, 2018 at 23:04
  • Yeah I was considering just creating a github repository and just cloning that as a starting point if there are no archetypes that satisfy this requirement. I was also considering building a quick archetype generator in Node that would be similar to npmjs.com/package/@superflycss/cli since this would allow faster refactoring and updating of the generators I would think ... Commented May 29, 2018 at 23:11
  • Perhaps add some Angular like class generation features for Java as well to create a more Node like development experience ... Commented May 29, 2018 at 23:38
  • Just get the junit5 dependency section from the homepage and fix the pom. Sounds like you are overthinking this. Commented May 29, 2018 at 23:49
  • I do overthink a lot :) - It would be nice if Java finally starts moving into a lightweight IDE vscode with lightweight Angular like component generation and layout features though ... have not touched Java in a while and with node the setup for a quick prototyping environment is like 30 seconds whereas with Java it's still ... Commented May 30, 2018 at 13:47

1 Answer 1

2

You can find one here.

However, you need to install it locally and then generate your application.

Sign up to request clarification or add additional context in comments.

1 Comment

The provided link has not been updated in 5 years.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.