We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07e73eb + daa8bc4 commit 4a8865eCopy full SHA for 4a8865e
2 files changed
src/main/fish/payara/micro/PayaraMicroProjectGenerator.ts
@@ -32,9 +32,16 @@ const DEFAULT_VERSION: string = '1.0.0-SNAPSHOT';
32
const DEFAULT_ARTIFACT_ID: string = 'payara-micro-sample';
33
const DEFAULT_GROUP_ID: string = 'fish.payara.micro.sample';
34
const PAYARA_MICRO_VERSIONS = [
35
- '5.201',
36
- '5.194', '5.193.1', '5.192', '5.191',
37
- '5.184', '5.183', '5.182', '5.181'
+ '6.2023.1', '6.2022.2', '6.2022.1',
+ '5.2022.5', '5.2022.4', '5.2022.3',
+ '5.2022.2', '5.2022.1', '5.2021.10',
38
+ '5.2021.9', '5.2021.8', '5.2021.7',
39
+ '5.2021.6', '5.2021.5', '5.2021.4',
40
+ '5.2021.3', '5.2021.2', '5.2021.1',
41
+ '5.2020.7', '5.2020.6', '5.2020.5',
42
+ '5.2020.4', '5.2020.3', '5.2020.2',
43
+ '5.201', '5.194', '5.193.1', '5.192',
44
+ '5.191', '5.184', '5.183', '5.182', '5.181'
45
];
46
47
export class PayaraMicroProjectGenerator {
src/main/fish/payara/project/Maven.ts
@@ -281,7 +281,7 @@ export class Maven implements Build {
281
"archetype:generate",
282
`-DarchetypeArtifactId=payara-micro-maven-archetype`,
283
`-DarchetypeGroupId=fish.payara.maven.archetypes`,
284
- `-DarchetypeVersion=1.0.5`,
+ `-DarchetypeVersion=` + (project.payaraMicroVersion.split('.')[0] === '5' ? '1.0.5' : '2.0'),
285
`-DgroupId=${project.groupId}`,
286
`-DartifactId=${project.artifactId}`,
287
`-Dversion=${project.version}`,
0 commit comments