[ 
https://issues.apache.org/jira/browse/MARCHETYPES-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284415#comment-17284415
 ] 

Jurrian Fahner commented on MARCHETYPES-70:
-------------------------------------------

[~hboutemy] Do you know when there will be a new release created and published 
for the maven archetypes? I would like to use the new 
maven-archetype-quickstart.

> Quickstart support for junit 5 and java 9+
> ------------------------------------------
>
>                 Key: MARCHETYPES-70
>                 URL: https://issues.apache.org/jira/browse/MARCHETYPES-70
>             Project: Maven Archetype Bundles
>          Issue Type: Improvement
>          Components: Maven Quickstart Archetype
>    Affects Versions: 1.3, 1.4
>            Reporter: Jurrian Fahner
>            Assignee: Enrico Olivelli
>            Priority: Minor
>             Fix For: 1.5
>
>
> Quickstart archetype is outdated due to the support for java versions below 9 
> and junit 4.
> The changes needs to be made backwards compatible in order to avoid breaking 
> changes for legacy projects.
> For the support of java 9+ the java version tag must change from: 
> {code:xml}
> <!-- example for java 8 and below -->
>  <maven.compiler.source>1.8</maven.compiler.source>
> <maven.compiler.target>1.8</maven.compiler.target>
> {code}
> to:
> {code:xml}
> <!-- example with java 11 -->
> <maven.compiler.release>11</maven.compiler.release>
> {code}
> For junit 5 support it is needed to add junit-jupiter-api and the vintage 
> plugin, to add support for large older projects (with old junit tests in it). 
> Example for dependencies for junit 5 it will look like:
> {code:xml}
>     <dependency>
>       <groupId>org.junit.jupiter</groupId>
>       <artifactId>junit-jupiter-api</artifactId>
>       <version>5.2.2</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.junit.jupiter</groupId>
>       <artifactId>junit-jupiter-engine</artifactId>
>       <version>5.2.2</version>
>       <scope>test</scope>
>     </dependency>
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to