Skip to content

Commit ec07f14

Browse files
committed
👷‍♂️ Testing archetype on CI
1 parent 1712b59 commit ec07f14

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/maven.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,13 @@ jobs:
5555
distribution: 'zulu'
5656

5757
- name: 'Build Archetype'
58-
run: mvn --no-transfer-progress -B --file pom.xml verify
58+
run: mvn --no-transfer-progress -B --file pom.xml install
59+
60+
- name: 'Set up Java 17'
61+
uses: actions/setup-java@v2
62+
with:
63+
java-version: 17
64+
distribution: 'zulu'
65+
66+
- name: 'Test Archetype'
67+
run: mkdir test && cd test && mvn archetype:generate -B -DarchetypeGroupId=org.moditect.ossquickstart -DarchetypeArtifactId=oss-quickstart-simple-archetype -DarchetypeVersion=1.0.0.Alpha1 -DgroupId=com.example.demos -DartifactId=fancy-project -Dversion=1.0.0-SNAPSHOT -DmoduleName=com.example.fancy && cd fancy-project && ./mvnw -B verify

0 commit comments

Comments
 (0)