Starting from 2025/03, InterPSS development is based on Maven. ipss-odm repo has the following active projects:
ieee.odm_pass
ieee.odm.schema
ipss.odm.test
First, you need to install maven on your computer. For macos users, you can simply do this by brew install maven
Then you can run the following command to install the dependent JAR lib/ipss_core.jar into your local Maven repository (~/.m2/repository):
mvn install:install-file -Dfile=lib/ipss_core.jar \
-DgroupId=com.interpss \
-DartifactId=ipss_core \
-Dversion=1.0 \
-Dpackaging=jar
Lastly, you need to verify if the maven-based project setup is done correctly by running cd <path-to-ipss-odm>, followed by mvn clean test in the terminal
You should see the testcases are run and most of them passed, except for two test cases shown below (as of Feb 19, 2025):
[ERROR] Failures: [ERROR] BPA_500kv_NoDC_Test.bpaTestCase:18 [ERROR] IEEE9cn_DStabTest.testCaseNew:39
-
Normal build:
mvn clean install
→ JAXB code generation will NOT run. -
Generate JAXB classes:
mvn clean install -Pgenerate-jaxb
→ JAXB code generation WILL run. (Notegenerate-jaxbis the profile id defined in thepom.xmlfile under theieee.odm.schemaproject )
- In Eclipse, you will need to first check the
pom.xmlfile underieee.odm.schemaand make sure it includes these jaxb packages. - Right click the
pom.xmlfile, then maven-->update project to get the necessary packages to install or update - Install the JAXB packages in Eclipse-->Help-->Install new software--> search "JAXB"
- After successfully installing the JAXB plugins, you will restart. You find the
ODMSchema.xsdfile under theschemafolder. Right click-->Generate-->to start the configuration - Configure the generation using the recommended configuration
macos/linux run the following bash:
./deploy-codeartifact.sh --profile ipss-publish --skip-tests