diff --git a/README.md b/README.md index dbffe5a..d46661e 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,9 @@ To run, first start a mongo DB instance for the items to connect to. One is prov All components connect to each other over local HTTP connections. To facilitate testing under containerization, everything has been configured to use the hostname `host.docker.internal`. To access the web interfaces from localhost, it is helpful to alias `host.docker.internal` to the loopback address of `127.0.0.1` to run this. +To build use: -To build locally, you'll need to install the library package from the `lib` directory by running this command from that directory: - -`mvn install` - +`mvn clean install` The authorization server is in the directory `/as/` and can be started using Spring Boot from that directory: @@ -19,7 +17,7 @@ The authorization server is in the directory `/as/` and can be started using Spr The AS is accessible at -The client instance is in the director `/c/` and can be started using Spring Boot from that directory: +The client instance is in the directory `/rc/` and can be started using Spring Boot from that directory: `mvn spring-boot:run` diff --git a/as/pom.xml b/as/pom.xml index 7a7ff33..cb27db8 100644 --- a/as/pom.xml +++ b/as/pom.xml @@ -4,10 +4,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.3.4.RELEASE - + io.bspk + parent-project + 1.0-SNAPSHOT + ../pom.xml io.bspk oauth.xyz.as diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..384bfd1 --- /dev/null +++ b/pom.xml @@ -0,0 +1,38 @@ + + + 4.0.0 + + + + org.springframework.boot + spring-boot-starter-parent + 2.3.4.RELEASE + + + + io.bspk + parent-project + 1.0-SNAPSHOT + pom + + parent-project + + + lib + as + rs + rc + + + + + + + + + + + + + + diff --git a/rc/pom.xml b/rc/pom.xml index 375d993..669a037 100644 --- a/rc/pom.xml +++ b/rc/pom.xml @@ -4,10 +4,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.3.4.RELEASE - + io.bspk + parent-project + 1.0-SNAPSHOT + ../pom.xml io.bspk oauth.xyz.rc diff --git a/rs/pom.xml b/rs/pom.xml index 27ac205..8969b2f 100644 --- a/rs/pom.xml +++ b/rs/pom.xml @@ -4,10 +4,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.3.4.RELEASE - + io.bspk + parent-project + 1.0-SNAPSHOT + ../pom.xml io.bspk oauth.xyz.rs