diff --git a/README.md b/README.md index ba336fb..5ac0211 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ Run the following command: ./run.sh ``` -This starts the reposilite server, then starts maven and makes download all packages defined in the pom's in the `examples/` folder, including their dependencies. These packages are then cached by reposilite in `data/`. The relevant folders are turned into tarballs and saved in the root directory. +This starts the reposilite server, then starts maven and makes download all packages defined in the pom's in the `poms/` folder, including their dependencies. These packages are then cached by reposilite in `data/`. The relevant folders are turned into tarballs and saved in the root directory. ## Adding packages -New packages should be defined as a dependency in a `pom.xml` file in a subfolder in `examples/`. +New packages should be defined as a dependency in a `pom.xml` file in a subfolder in `poms/`. After the `pom.xml` is updated, run `./generate_master_pom.xml` to update the root `pom.xml` file, and commit the changes. diff --git a/docker-compose.yml b/docker-compose.yml index e28d77f..3c0cd4f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,7 +20,7 @@ services: depends_on: - repo volumes: - - ./examples:/poms + - ./poms:/poms networks: - nonet diff --git a/generate_master_pom.sh b/generate_master_pom.sh index 8a28e7f..38859ed 100755 --- a/generate_master_pom.sh +++ b/generate_master_pom.sh @@ -7,7 +7,7 @@ get_first_xml_tag() { get_modules() { echo " " - for f in examples/**/*.xml; do + for f in poms/**/*.xml; do echo " "$f"" done diff --git a/pom.xml b/pom.xml index 353e775..16f81d8 100644 --- a/pom.xml +++ b/pom.xml @@ -3,17 +3,19 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - examples/asciidoctor/pom.xml - examples/axon/pom.xml - examples/hibernate-types/pom.xml - examples/jackson/pom.xml - examples/junit5/pom.xml - examples/kotest/pom.xml - examples/mockito/pom.xml - examples/quarkus-camel/pom.xml - examples/quarkus/pom.xml - examples/resteasy/pom.xml - examples/spring-boot/pom.xml - examples/spring-framework/pom.xml + poms/asciidoctor/pom.xml + poms/axon/pom.xml + poms/hibernate-types/pom.xml + poms/jackson/pom.xml + poms/junit5/pom.xml + poms/kotest/pom.xml + poms/kotlin/pom.xml + poms/maven-plugins/pom.xml + poms/mockito/pom.xml + poms/quarkus-camel/pom.xml + poms/quarkus/pom.xml + poms/resteasy/pom.xml + poms/spring-boot/pom.xml + poms/spring-framework/pom.xml diff --git a/examples/asciidoctor/pom.xml b/poms/asciidoctor/pom.xml similarity index 100% rename from examples/asciidoctor/pom.xml rename to poms/asciidoctor/pom.xml diff --git a/examples/axon/pom.xml b/poms/axon/pom.xml similarity index 100% rename from examples/axon/pom.xml rename to poms/axon/pom.xml diff --git a/examples/hibernate-types/pom.xml b/poms/hibernate-types/pom.xml similarity index 100% rename from examples/hibernate-types/pom.xml rename to poms/hibernate-types/pom.xml diff --git a/examples/jackson/pom.xml b/poms/jackson/pom.xml similarity index 100% rename from examples/jackson/pom.xml rename to poms/jackson/pom.xml diff --git a/examples/junit5/pom.xml b/poms/junit5/pom.xml similarity index 100% rename from examples/junit5/pom.xml rename to poms/junit5/pom.xml diff --git a/examples/kotest/pom.xml b/poms/kotest/pom.xml similarity index 100% rename from examples/kotest/pom.xml rename to poms/kotest/pom.xml diff --git a/examples/kotlin/pom.xml b/poms/kotlin/pom.xml similarity index 100% rename from examples/kotlin/pom.xml rename to poms/kotlin/pom.xml diff --git a/examples/maven-plugins/pom.xml b/poms/maven-plugins/pom.xml similarity index 100% rename from examples/maven-plugins/pom.xml rename to poms/maven-plugins/pom.xml diff --git a/examples/mockito/pom.xml b/poms/mockito/pom.xml similarity index 100% rename from examples/mockito/pom.xml rename to poms/mockito/pom.xml diff --git a/examples/quarkus-camel/pom.xml b/poms/quarkus-camel/pom.xml similarity index 100% rename from examples/quarkus-camel/pom.xml rename to poms/quarkus-camel/pom.xml diff --git a/examples/quarkus/pom.xml b/poms/quarkus/pom.xml similarity index 100% rename from examples/quarkus/pom.xml rename to poms/quarkus/pom.xml diff --git a/examples/resteasy/pom.xml b/poms/resteasy/pom.xml similarity index 100% rename from examples/resteasy/pom.xml rename to poms/resteasy/pom.xml diff --git a/examples/spring-boot/pom.xml b/poms/spring-boot/pom.xml similarity index 100% rename from examples/spring-boot/pom.xml rename to poms/spring-boot/pom.xml diff --git a/examples/spring-framework/pom.xml b/poms/spring-framework/pom.xml similarity index 100% rename from examples/spring-framework/pom.xml rename to poms/spring-framework/pom.xml