Pārlūkot izejas kodu

Merge pull request #24 from larsw/pom-dir-rename

custom-downloader
larsw GitHub pirms 3 gadiem
vecāks
revīzija
9267a707a6
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
18 mainītis faili ar 18 papildinājumiem un 16 dzēšanām
  1. +2
    -2
      README.md
  2. +1
    -1
      docker-compose.yml
  3. +1
    -1
      generate_master_pom.sh
  4. +14
    -12
      pom.xml
  5. +0
    -0
      poms/asciidoctor/pom.xml
  6. +0
    -0
      poms/axon/pom.xml
  7. +0
    -0
      poms/hibernate-types/pom.xml
  8. +0
    -0
      poms/jackson/pom.xml
  9. +0
    -0
      poms/junit5/pom.xml
  10. +0
    -0
      poms/kotest/pom.xml
  11. +0
    -0
      poms/kotlin/pom.xml
  12. +0
    -0
      poms/maven-plugins/pom.xml
  13. +0
    -0
      poms/mockito/pom.xml
  14. +0
    -0
      poms/quarkus-camel/pom.xml
  15. +0
    -0
      poms/quarkus/pom.xml
  16. +0
    -0
      poms/resteasy/pom.xml
  17. +0
    -0
      poms/spring-boot/pom.xml
  18. +0
    -0
      poms/spring-framework/pom.xml

+ 2
- 2
README.md Parādīt failu

@@ -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.



+ 1
- 1
docker-compose.yml Parādīt failu

@@ -20,7 +20,7 @@ services:
depends_on:
- repo
volumes:
- ./examples:/poms
- ./poms:/poms
networks:
- nonet



+ 1
- 1
generate_master_pom.sh Parādīt failu

@@ -7,7 +7,7 @@ get_first_xml_tag() {
get_modules() {
echo " <modules>"

for f in examples/**/*.xml; do
for f in poms/**/*.xml; do
echo " <module>"$f"</module>"
done



+ 14
- 12
pom.xml Parādīt failu

@@ -3,17 +3,19 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modules>
<module>examples/asciidoctor/pom.xml</module>
<module>examples/axon/pom.xml</module>
<module>examples/hibernate-types/pom.xml</module>
<module>examples/jackson/pom.xml</module>
<module>examples/junit5/pom.xml</module>
<module>examples/kotest/pom.xml</module>
<module>examples/mockito/pom.xml</module>
<module>examples/quarkus-camel/pom.xml</module>
<module>examples/quarkus/pom.xml</module>
<module>examples/resteasy/pom.xml</module>
<module>examples/spring-boot/pom.xml</module>
<module>examples/spring-framework/pom.xml</module>
<module>poms/asciidoctor/pom.xml</module>
<module>poms/axon/pom.xml</module>
<module>poms/hibernate-types/pom.xml</module>
<module>poms/jackson/pom.xml</module>
<module>poms/junit5/pom.xml</module>
<module>poms/kotest/pom.xml</module>
<module>poms/kotlin/pom.xml</module>
<module>poms/maven-plugins/pom.xml</module>
<module>poms/mockito/pom.xml</module>
<module>poms/quarkus-camel/pom.xml</module>
<module>poms/quarkus/pom.xml</module>
<module>poms/resteasy/pom.xml</module>
<module>poms/spring-boot/pom.xml</module>
<module>poms/spring-framework/pom.xml</module>
</modules>
</project>

examples/asciidoctor/pom.xml → poms/asciidoctor/pom.xml Parādīt failu


examples/axon/pom.xml → poms/axon/pom.xml Parādīt failu


examples/hibernate-types/pom.xml → poms/hibernate-types/pom.xml Parādīt failu


examples/jackson/pom.xml → poms/jackson/pom.xml Parādīt failu


examples/junit5/pom.xml → poms/junit5/pom.xml Parādīt failu


examples/kotest/pom.xml → poms/kotest/pom.xml Parādīt failu


examples/kotlin/pom.xml → poms/kotlin/pom.xml Parādīt failu


examples/maven-plugins/pom.xml → poms/maven-plugins/pom.xml Parādīt failu


examples/mockito/pom.xml → poms/mockito/pom.xml Parādīt failu


examples/quarkus-camel/pom.xml → poms/quarkus-camel/pom.xml Parādīt failu


examples/quarkus/pom.xml → poms/quarkus/pom.xml Parādīt failu


examples/resteasy/pom.xml → poms/resteasy/pom.xml Parādīt failu


examples/spring-boot/pom.xml → poms/spring-boot/pom.xml Parādīt failu


examples/spring-framework/pom.xml → poms/spring-framework/pom.xml Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt