Skip to content

Commit

Permalink
Use the new 1.0.0-SNAPSHOT artifacts from the Joy of Coding repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidWhitlock committed Apr 13, 2024
1 parent 58bea6f commit 29ad786
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ As you create Maven projects in this repository, you may encounter warnings like
```
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.pdx.cs.joy.whitlock:apptbook:jar:1.0.0
[WARNING] 'parent.relativePath' of POM edu.pdx.cs.joy.whitlock:apptbook:1.0.0 (JoyOfCodingWinter2024/apptbook/pom.xml) points at edu.pdx.cs.joy.whitlock:JoyOfCodingWinter2024 instead of io.github.davidwhitlock.cs410J:cs410j, please verify your project structure @ line 3, column 11
[WARNING] 'parent.relativePath' of POM edu.pdx.cs.joy.whitlock:apptbook:1.0.0 (JoyOfCodingWinter2024/apptbook/pom.xml) points at edu.pdx.cs.joy.whitlock:JoyOfCodingWinter2024 instead of io.github.davidwhitlock.joy:cs410j, please verify your project structure @ line 3, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
Expand All @@ -466,9 +466,9 @@ When created, the `pom.xml` files for the projects specify a parent of _my_ top-

```xml
<parent>
<artifactId>cs410j</artifactId>
<groupId>io.github.davidwhitlock.cs410J</groupId>
<version>2024.0.1</version>
<artifactId>joy</artifactId>
<groupId>io.github.davidwhitlock.joy</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
```

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ accordingly

<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>cs410j</artifactId>
<groupId>io.github.davidwhitlock.cs410J</groupId>
<version>2024.0.1</version>
<artifactId>joy</artifactId>
<groupId>io.github.davidwhitlock.joy</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>edu.pdx.cs.joy.YourUserId</groupId>
<artifactId>JoyOfCoding</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ function createProjectFromArchetype() {

./mvnw --batch-mode archetype:generate \
-DinteractiveMode=false \
-DarchetypeGroupId=io.github.davidwhitlock.cs410J \
-DarchetypeGroupId=io.github.davidwhitlock.joy \
-DarchetypeArtifactId=${archetypeName}-archetype \
-DarchetypeVersion=2024.0.1 \
-DarchetypeVersion=1.0.0-SNAPSHOT \
-DgroupId=edu.pdx.cs.joy.${loginId} \
-DartifactId=${projectName} \
-Dpackage=edu.pdx.cs.joy.${loginId} \
Expand Down

0 comments on commit 29ad786

Please sign in to comment.