etc: teams: Define Java team scope.
authorJulien Lepiller <julien@lepiller.eu>
Sun, 25 Sep 2022 12:35:39 +0000 (14:35 +0200)
committerJulien Lepiller <julien@lepiller.eu>
Sun, 25 Sep 2022 12:40:01 +0000 (14:40 +0200)
* etc/teams.scm.in (java): Define it.

etc/teams.scm.in

index 9c7ae31..17d0fe1 100644 (file)
@@ -159,7 +159,19 @@ importer, and the ocaml-build-system."
         #:name "Java and Maven team"
         #:description
         "The JDK and JRE, the Maven build system, Java packages, the ant-build-system,
-and the maven-build-system."))
+and the maven-build-system."
+        #:scope
+        (list ;; Match java.scm and java-*.scm.
+              (make-regexp "^gnu/packages/java(-.+|)\\.scm$")
+              ;; Match maven.scm and maven-*.scm
+              (make-regexp "^gnu/packages/maven(-.+|)\\.scm$")
+              "guix/build/ant-build-system.scm"
+              "guix/build/java-utils.scm"
+              "guix/build/maven-build-system.scm"
+              ;; The maven directory
+              (make-regexp "^guix/build/maven/")
+              "guix/build-system/ant.scm"
+              "guix/build-system/maven.scm")))
 
 (define-team science
   (team 'science