From d82cc485b5e3836e87c9e43e3aafb596fea7980a Mon Sep 17 00:00:00 2001 From: David Whitlock Date: Sat, 6 Apr 2024 12:06:38 -0700 Subject: [PATCH] New name for the Maven group and package name for artifacts and code. --- README.md | 8 ++++---- pom.xml | 2 +- prerequisites.sh | 4 ++-- submit.sh | 2 +- survey.sh | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1741d01..ef8e378 100644 --- a/README.md +++ b/README.md @@ -448,8 +448,8 @@ 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.cs410J.whitlock:apptbook:jar:1.0.0 -[WARNING] 'parent.relativePath' of POM edu.pdx.cs410J.whitlock:apptbook:1.0.0 (JoyOfCodingWinter2024/apptbook/pom.xml) points at edu.pdx.cs410J.whitlock:JoyOfCodingWinter2024 instead of io.github.davidwhitlock.cs410J:cs410j, please verify your project structure @ line 3, column 11 +[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] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] @@ -478,7 +478,7 @@ is my top-level POM) to something like: ```xml JoyOfCoding - edu.pdx.cs410J.your-mcecs-user-id + edu.pdx.cs.joy.your-mcecs-user-id 1.0.0 ``` @@ -558,7 +558,7 @@ your group: ```xml JoyOfCoding - edu.pdx.cs410J.your-mcecs-user-id + edu.pdx.cs.joy.your-mcecs-user-id 1.0.0 ``` diff --git a/pom.xml b/pom.xml index 6713548..ae76910 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ accordingly io.github.davidwhitlock.cs410J 2024.0.1 - edu.pdx.cs410J.YourUserId + edu.pdx.cs.joy.YourUserId JoyOfCoding 1.0.0 diff --git a/prerequisites.sh b/prerequisites.sh index 2b81128..fa26041 100644 --- a/prerequisites.sh +++ b/prerequisites.sh @@ -90,9 +90,9 @@ function createProjectFromArchetype() { -DarchetypeGroupId=io.github.davidwhitlock.cs410J \ -DarchetypeArtifactId=${archetypeName}-archetype \ -DarchetypeVersion=2024.0.1 \ - -DgroupId=edu.pdx.cs410J.${loginId} \ + -DgroupId=edu.pdx.cs.joy.${loginId} \ -DartifactId=${projectName} \ - -Dpackage=edu.pdx.cs410J.${loginId} \ + -Dpackage=edu.pdx.cs.joy.${loginId} \ -Dversion=1.0.0 chmod +x ${projectName}/mvnw diff --git a/submit.sh b/submit.sh index f4f4157..ed2e9de 100755 --- a/submit.sh +++ b/submit.sh @@ -68,7 +68,7 @@ if [ -f $pomFile ]; then cd - fi -java -cp /u/whitlock/jars/grader.jar edu.pdx.cs410J.grader.${submitClass} -comment "${comment}" "${project}" "${xmlFile}" "${projectDirectory}/${srcDirectory}" +java -cp /u/whitlock/jars/grader.jar edu.pdx.cs.joy.grader.${submitClass} -comment "${comment}" "${project}" "${xmlFile}" "${projectDirectory}/${srcDirectory}" submitTime=`date +%Y%m%dT%I%M%S` tag="submit-${project}-${submitTime}" diff --git a/survey.sh b/survey.sh index 47b869d..7f37079 100755 --- a/survey.sh +++ b/survey.sh @@ -16,7 +16,7 @@ fi -java -cp /u/whitlock/jars/grader.jar edu.pdx.cs410J.grader.Survey +java -cp /u/whitlock/jars/grader.jar edu.pdx.cs.joy.grader.Survey echo "" echo "** Thank you for filling out the survey"