diff options
author | Julien Lepiller <julien@lepiller.eu> | 2021-12-20 02:53:11 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2022-02-05 20:16:19 +0100 |
commit | 89bc233f3e0a83d0e9506dadb13e716e435bd40a (patch) | |
tree | 84b06047aff83e7da2c4b77f4241286e420030a8 /gnu/packages/maven.scm | |
parent | 137a7af1787227f002eb2babe94f73e029db6b71 (diff) |
gnu: java-jsr250: Use proper source.
Sources from maven.org are autogenerated, not actual sources.
* gnu/packages/java.scm (java-jsr250)[source]: Use git repository.
* gnu/packages/maven.scm (maven-embedder): Fix pom to use it.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r-- | gnu/packages/maven.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index fbf39357c3..423e859f8b 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -1740,6 +1740,10 @@ artifactId=maven-core" ,(package-version maven-core-bootstrap)))) (("srcdir=\"maven-embedder/src/test\"") "srcdir=\"maven-embedder/src/test/java\"")) #t)) + (add-before 'install 'fix-pom + (lambda _ + (substitute* "maven-embedder/pom.xml" + (("jsr250-api") "javax.annotation-api")))) (replace 'install (install-from-pom "maven-embedder/pom.xml"))))) (propagated-inputs |