Remove pushed packages
more/packages/java.scm
4254 | 4254 | (description "") | |
4255 | 4255 | (license license:asl2.0))) | |
4256 | 4256 | ||
4257 | - | (define-public java-sisu-build-api | |
4258 | - | (package | |
4259 | - | (name "java-sisu-build-api") | |
4260 | - | (version "0.0.7") | |
4261 | - | (source (origin | |
4262 | - | (method url-fetch) | |
4263 | - | (uri (string-append "https://github.com/sonatype/sisu-build-api/" | |
4264 | - | "archive/plexus-build-api-" version ".tar.gz")) | |
4265 | - | (sha256 | |
4266 | - | (base32 | |
4267 | - | "1c3rrpma3x634xp2rm2p5iskfhzdyc7qfbhjzr70agrl1jwghgy2")))) | |
4268 | - | (build-system ant-build-system) | |
4269 | - | (arguments | |
4270 | - | `(#:jar-name "sisu-build-api.jar" | |
4271 | - | #:source-dir "src/main/java" | |
4272 | - | #:jdk ,icedtea-8 | |
4273 | - | #:tests? #f; I??don't know how to run these tests | |
4274 | - | #:phases | |
4275 | - | (modify-phases %standard-phases | |
4276 | - | (add-before 'build 'copy-resources | |
4277 | - | (lambda _ | |
4278 | - | (mkdir-p "build/classes/org/sonatype/plexus/build/incremental") | |
4279 | - | (copy-file "src/main/resources/org/sonatype/plexus/build/incremental/version.properties" | |
4280 | - | "build/classes/org/sonatype/plexus/build/incremental/version.properties") | |
4281 | - | #t)) | |
4282 | - | (add-before 'build 'generate-plexus-compontent | |
4283 | - | (lambda _ | |
4284 | - | (mkdir-p "build/classes/META-INF/plexus") | |
4285 | - | ;; This file is required for plexus to inject this package. | |
4286 | - | ;; It is absent from the source code, so maybe it is generated? | |
4287 | - | (with-output-to-file "build/classes/META-INF/plexus/components.xml" | |
4288 | - | (lambda _ | |
4289 | - | (display | |
4290 | - | (string-append | |
4291 | - | "<component-set>\n" | |
4292 | - | " <components>\n" | |
4293 | - | " <component>\n" | |
4294 | - | " <role>org.sonatype.plexus.build.incremental.BuildContext</role>\n" | |
4295 | - | " <role-hint>default</role-hint>\n" | |
4296 | - | " <implementation>org.sonatype.plexus.build.incremental.DefaultBuildContext</implementation>\n" | |
4297 | - | " <description>Filesystem based non-incremental build context implementation which behaves as if all files\n" | |
4298 | - | "were just created.</description>\n" | |
4299 | - | " </component>\n" | |
4300 | - | " </components>\n" | |
4301 | - | "</component-set>\n"))))))))) | |
4302 | - | (inputs | |
4303 | - | `(("java-plexus-utils" ,java-plexus-utils) | |
4304 | - | ("java-plexus-container-default" ,java-plexus-container-default))) | |
4305 | - | (home-page "") | |
4306 | - | (synopsis "") | |
4307 | - | (description "") | |
4308 | - | (license license:asl2.0))) | |
4309 | - | ||
4310 | - | (define-public java-plexus-compiler-api | |
4311 | - | (package | |
4312 | - | (name "java-plexus-compiler-api") | |
4313 | - | (version "2.8.2") | |
4314 | - | (source (codehaus-plexus-origin | |
4315 | - | "plexus-compiler" version | |
4316 | - | "0g3x26pymcdnfnwv2a1i57pd5s26f5zqfi1rdy98z1bn01klx25k" | |
4317 | - | "")) | |
4318 | - | (build-system ant-build-system) | |
4319 | - | (arguments | |
4320 | - | `(#:jar-name "plexus-compiler-api.jar" | |
4321 | - | #:source-dir "plexus-compiler-api/src/main/java" | |
4322 | - | #:jdk ,icedtea-8 | |
4323 | - | #:test-dir "plexus-compiler-api/src/test")) | |
4324 | - | (inputs | |
4325 | - | `(("java-plexus-container-default" ,java-plexus-container-default) | |
4326 | - | ("java-plexus-util" ,java-plexus-utils))) | |
4327 | - | (native-inputs | |
4328 | - | `(("java-junit" ,java-junit))) | |
4329 | - | (home-page "") | |
4330 | - | (synopsis "") | |
4331 | - | (description "") | |
4332 | - | (license license:asl2.0))) | |
4333 | - | ||
4334 | - | (define-public java-plexus-compiler-javac | |
4335 | - | (package | |
4336 | - | (inherit java-plexus-compiler-api) | |
4337 | - | (name "java-plexus-compiler-javac") | |
4338 | - | (arguments | |
4339 | - | `(#:jar-name "plexus-compiler-javac.jar" | |
4340 | - | #:source-dir "plexus-compilers/plexus-compiler-javac/src/main/java" | |
4341 | - | #:jdk ,icedtea-8 | |
4342 | - | #:tests? #f; depends on compiler-test -> maven-core -> ... -> this package. | |
4343 | - | #:test-dir "plexus-compilers/plexus-compiler-javac/src/test")) | |
4344 | - | (inputs | |
4345 | - | `(("java-plexus-compiler-api" ,java-plexus-compiler-api) | |
4346 | - | ("java-plexus-utils" ,java-plexus-utils) | |
4347 | - | ("java-plexus-container-default" ,java-plexus-container-default))) | |
4348 | - | (native-inputs | |
4349 | - | `(("java-junit" ,java-junit))))) | |
4350 | - | ||
4351 | - | (define-public java-modello-core | |
4352 | - | (package | |
4353 | - | (name "java-modello-core") | |
4354 | - | (version "1.9.1") | |
4355 | - | (source (codehaus-plexus-origin | |
4356 | - | "modello" version | |
4357 | - | "0l2pvns8pmlrmjm3iknp7gpg3654y1m8qhy55b19sdwdchdcyxfh" | |
4358 | - | "")) ;; no prefix | |
4359 | - | (build-system ant-build-system) | |
4360 | - | (arguments | |
4361 | - | `(#:jar-name "modello-core.jar" | |
4362 | - | #:source-dir "modello-core/src/main/java" | |
4363 | - | #:test-dir "modello-core/src/test" | |
4364 | - | #:main-class "org.codehaus.modello.ModelloCli" | |
4365 | - | #:jdk ,icedtea-8 | |
4366 | - | #:phases | |
4367 | - | (modify-phases %standard-phases | |
4368 | - | (add-before 'build 'copy-resources | |
4369 | - | (lambda _ | |
4370 | - | (mkdir-p "build/classes/META-INF/plexus") | |
4371 | - | (copy-file "modello-core/src/main/resources/META-INF/plexus/components.xml" | |
4372 | - | "build/classes/META-INF/plexus/components.xml") | |
4373 | - | #t)) | |
4374 | - | (add-before 'check 'fix-tests | |
4375 | - | (lambda _ | |
4376 | - | (substitute* '("modello-core/src/test/java/org/codehaus/modello/core/DefaultModelloCoreTest.java" | |
4377 | - | "modello-core/src/test/java/org/codehaus/modello/core/io/ModelReaderTest.java") | |
4378 | - | (("src/test") "modello-core/src/test"))))))) | |
4379 | - | (inputs | |
4380 | - | `(("java-plexus-utils" ,java-plexus-utils) | |
4381 | - | ("java-plexus-container-default-bootstrap" ,java-plexus-container-default-bootstrap) | |
4382 | - | ("java-sisu-build-api" ,java-sisu-build-api))) | |
4383 | - | (native-inputs | |
4384 | - | `(("java-junit" ,java-junit) | |
4385 | - | ("java-plexus-classworlds" ,java-plexus-classworlds) | |
4386 | - | ("java-geronimo-xbean-reflect" ,java-geronimo-xbean-reflect) | |
4387 | - | ("java-guava" ,java-guava))) | |
4388 | - | (home-page "http://codehaus-plexus.github.io/modello/") | |
4389 | - | (synopsis "") | |
4390 | - | (description "") | |
4391 | - | (license license:asl2.0))) | |
4392 | - | ||
4393 | - | (define-public java-modello-plugins-java | |
4394 | - | (package | |
4395 | - | (inherit java-modello-core) | |
4396 | - | (name "java-modello-plugins-java") | |
4397 | - | (arguments | |
4398 | - | `(#:jar-name "modello-plugins-java.jar" | |
4399 | - | #:source-dir "modello-plugins/modello-plugin-java/src/main/java" | |
4400 | - | #:test-dir "modello-plugins/modello-plugin-java/src/test" | |
4401 | - | #:jdk ,icedtea-8 | |
4402 | - | #:tests? #f; requires maven-model, which depends on this package | |
4403 | - | #:phases | |
4404 | - | (modify-phases %standard-phases | |
4405 | - | (add-before 'build 'copy-resources | |
4406 | - | (lambda _ | |
4407 | - | (mkdir-p "build/classes") | |
4408 | - | (copy-recursively "modello-plugins/modello-plugin-java/src/main/resources" | |
4409 | - | "build/classes") | |
4410 | - | #t))))) | |
4411 | - | (inputs | |
4412 | - | `(("java-modello-core" ,java-modello-core) | |
4413 | - | ,@(package-inputs java-modello-core))))) | |
4414 | - | ||
4415 | - | (define-public java-modello-plugins-xml | |
4416 | - | (package | |
4417 | - | (inherit java-modello-core) | |
4418 | - | (name "java-modello-plugins-xml") | |
4419 | - | (arguments | |
4420 | - | `(#:jar-name "modello-plugins-xml.jar" | |
4421 | - | #:source-dir "modello-plugins/modello-plugin-xml/src/main/java" | |
4422 | - | #:test-dir "modello-plugins/modello-plugin-xml/src/test" | |
4423 | - | #:jdk ,icedtea-8 | |
4424 | - | #:phases | |
4425 | - | (modify-phases %standard-phases | |
4426 | - | (add-before 'build 'copy-resources | |
4427 | - | (lambda _ | |
4428 | - | (mkdir-p "build/classes") | |
4429 | - | (copy-recursively "modello-plugins/modello-plugin-xml/src/main/resources" | |
4430 | - | "build/classes") | |
4431 | - | #t)) | |
4432 | - | (add-before 'check 'fix-paths | |
4433 | - | (lambda _ | |
4434 | - | (substitute* "modello-plugins/modello-plugin-xml/src/test/java/org/codehaus/modello/plugins/xml/XmlModelloPluginTest.java" | |
4435 | - | (("src/test") "modello-plugins/modello-plugin-xml/src/test"))))))) | |
4436 | - | (inputs | |
4437 | - | `(("java-modello-core" ,java-modello-core) | |
4438 | - | ("java-modello-plugins-java" ,java-modello-plugins-java) | |
4439 | - | ,@(package-inputs java-modello-core))))) | |
4440 | - | ||
4441 | - | (define-public java-modello-test | |
4442 | - | (package | |
4443 | - | (inherit java-modello-core) | |
4444 | - | (name "java-modello-test") | |
4445 | - | (arguments | |
4446 | - | `(#:jar-name "modello-test.jar" | |
4447 | - | #:source-dir "modello-test/src/main/java" | |
4448 | - | #:tests? #f; no tests | |
4449 | - | #:jdk ,icedtea-8)) | |
4450 | - | (inputs | |
4451 | - | `(("java-plexus-utils" ,java-plexus-utils) | |
4452 | - | ("java-plexus-compiler-api" ,java-plexus-compiler-api) | |
4453 | - | ("java-plexus-compiler-javac" ,java-plexus-compiler-javac) | |
4454 | - | ("java-plexus-container-default" ,java-plexus-container-default))))) | |
4455 | - | ||
4456 | - | (define-public java-modello-plugins-xpp3 | |
4457 | - | (package | |
4458 | - | (inherit java-modello-core) | |
4459 | - | (name "java-modello-plugins-xpp3") | |
4460 | - | (arguments | |
4461 | - | `(#:jar-name "modello-plugins-xpp3.jar" | |
4462 | - | #:source-dir "modello-plugins/modello-plugin-xpp3/src/main/java" | |
4463 | - | #:test-dir "modello-plugins/modello-plugin-xpp3/src/test" | |
4464 | - | #:tests? #f; I can find some of its dependencies, for instance org.codehaus.modello.test.features.io.xpp3.ModelloFeaturesTestXpp3Reader | |
4465 | - | #:jdk ,icedtea-8 | |
4466 | - | #:phases | |
4467 | - | (modify-phases %standard-phases | |
4468 | - | (add-before 'build 'copy-resources | |
4469 | - | (lambda _ | |
4470 | - | (mkdir-p "build/classes") | |
4471 | - | (copy-recursively "modello-plugins/modello-plugin-xpp3/src/main/resources" | |
4472 | - | "build/classes") | |
4473 | - | #t))))) | |
4474 | - | (inputs | |
4475 | - | `(("java-modello-core" ,java-modello-core) | |
4476 | - | ("java-modello-plugins-java" ,java-modello-plugins-java) | |
4477 | - | ("java-modello-plugins-xml" ,java-modello-plugins-xml) | |
4478 | - | ,@(package-inputs java-modello-core))) | |
4479 | - | (native-inputs | |
4480 | - | `(("java-xmlunit" ,java-xmlunit) | |
4481 | - | ("java-modello-test" ,java-modello-test) | |
4482 | - | ,@(package-native-inputs java-modello-core))))) | |
4483 | - | ||
4484 | - | (define-public java-plexus-cipher | |
4485 | - | (package | |
4486 | - | (name "java-plexus-cipher") | |
4487 | - | (version "1.7") | |
4488 | - | (source (codehaus-plexus-origin | |
4489 | - | "cipher" version | |
4490 | - | "1j3r8xzlxlk340snkjp6lk2ilkxlkn8qavsfiq01f43xmvv8ymk3")) | |
4491 | - | (build-system ant-build-system) | |
4492 | - | (arguments | |
4493 | - | `(#:jar-name "plexus-cipher.jar" | |
4494 | - | #:source-dir "src/main/java" | |
4495 | - | #:jdk ,icedtea-8 | |
4496 | - | #:tests? #f; TODO: org.sonatype.guice.bean.containers.InjectedTestCase | |
4497 | - | #:phases | |
4498 | - | (modify-phases %standard-phases | |
4499 | - | (add-before 'build 'copy-resources | |
4500 | - | (lambda _ | |
4501 | - | (copy-recursively "src/main/resources" "build/classes") | |
4502 | - | (mkdir-p "build/classes/META-INF/sisu") | |
4503 | - | (with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named" | |
4504 | - | (lambda _ | |
4505 | - | (display "org.sonatype.plexus.components.cipher.DefaultPlexusCipher\n"))) | |
4506 | - | #t))))) | |
4507 | - | (inputs | |
4508 | - | `(("java-cdi-api" ,java-cdi-api) | |
4509 | - | ("java-javax-inject" ,java-javax-inject))) | |
4510 | - | (home-page "http://codehaus-plexus.github.io/plexus-cipher/") | |
4511 | - | (synopsis "Encryption/decryption Component") | |
4512 | - | (description "") | |
4513 | - | (license license:asl2.0))) | |
4514 | - | ||
4515 | - | (define-public java-plexus-sec-dispatcher | |
4516 | - | (package | |
4517 | - | (name "java-plexus-sec-dispatcher") | |
4518 | - | (version "1.4") ;; Newest release listed at the Maven Central Repository. | |
4519 | - | (source (origin | |
4520 | - | ;; This project doesn't tag releases or publish tarballs, so we take | |
4521 | - | ;; the "prepare release plexus-sec-dispatcher-1.4" git commit. | |
4522 | - | (method url-fetch) | |
4523 | - | (uri (string-append "https://github.com/sonatype/plexus-sec-dispatcher/" | |
4524 | - | "archive/" "7db8f88048" ".tar.gz")) | |
4525 | - | (sha256 | |
4526 | - | (base32 | |
4527 | - | "1smfrk4n7xbrsxpxcp2j4i0j8q86j73w0w6xg7qz83dp6dagdjgp")) | |
4528 | - | (file-name (string-append name "-" version ".tar.gz")))) | |
4529 | - | (arguments | |
4530 | - | `(#:jar-name "plexus-sec-dispatcher.jar" | |
4531 | - | #:source-dir "src/main/java" | |
4532 | - | #:jdk ,icedtea-8 | |
4533 | - | #:phases | |
4534 | - | (modify-phases %standard-phases | |
4535 | - | (add-before 'build 'generate-models | |
4536 | - | (lambda* (#:key inputs #:allow-other-keys) | |
4537 | - | (define (modello-single-mode file version mode) | |
4538 | - | (zero? (system* "java" | |
4539 | - | "org.codehaus.modello.ModelloCli" | |
4540 | - | file mode "src/main/java" version | |
4541 | - | "false" "true"))) | |
4542 | - | (let ((file "src/main/mdo/settings-security.mdo")) | |
4543 | - | (and | |
4544 | - | (modello-single-mode file "1.0.0" "java") | |
4545 | - | (modello-single-mode file "1.0.0" "xpp3-reader") | |
4546 | - | (modello-single-mode file "1.0.0" "xpp3-writer"))))) | |
4547 | - | (add-before 'build 'generate-components.xml | |
4548 | - | (lambda _ | |
4549 | - | (mkdir-p "build/classes/META-INF/plexus") | |
4550 | - | (with-output-to-file "build/classes/META-INF/plexus/components.xml" | |
4551 | - | (lambda _ | |
4552 | - | (display | |
4553 | - | (string-append | |
4554 | - | "<component-set>\n" | |
4555 | - | " <components>\n" | |
4556 | - | " <component>\n" | |
4557 | - | " <role>org.sonatype.plexus.components.sec.dispatcher.SecDispatcher</role>\n" | |
4558 | - | " <role-hint>default</role-hint>\n" | |
4559 | - | " <implementation>org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher</implementation>\n" | |
4560 | - | " <description></description>\n" | |
4561 | - | " <requirements>\n" | |
4562 | - | " <requirement>\n" | |
4563 | - | " <role>org.sonatype.plexus.components.cipher.PlexusCipher</role>\n" | |
4564 | - | " <field-name>_cipher</field-name>\n" | |
4565 | - | " </requirement>\n" | |
4566 | - | " <requirement>\n" | |
4567 | - | " <role>org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor</role>\n" | |
4568 | - | " <field-name>_decryptors</field-name>\n" | |
4569 | - | " </requirement>\n" | |
4570 | - | " </requirements>\n" | |
4571 | - | " <configuration>\n" | |
4572 | - | " <_configuration-file>~/.settings-security.xml</_configuration-file>\n" | |
4573 | - | " </configuration>\n" | |
4574 | - | " </component>\n" | |
4575 | - | " </components>\n" | |
4576 | - | "</component-set>\n")))))) | |
4577 | - | (add-before 'check 'fix-paths | |
4578 | - | (lambda _ | |
4579 | - | (mkdir-p "target") | |
4580 | - | (copy-file "src/test/resources/test-sec.xml" | |
4581 | - | "target/sec.xml")))))) | |
4582 | - | (inputs | |
4583 | - | `(("java-plexus-cipher" ,java-plexus-cipher))) | |
4584 | - | (native-inputs | |
4585 | - | `(("java-modello-core" ,java-modello-core) | |
4586 | - | ;; for modello: | |
4587 | - | ("java-plexus-container-default" ,java-plexus-container-default) | |
4588 | - | ("java-plexus-classworlds" ,java-plexus-classworlds) | |
4589 | - | ("java-plexus-utils" ,java-plexus-utils) | |
4590 | - | ("java-guava" ,java-guava) | |
4591 | - | ("java-geronimo-xbean-reflect" ,java-geronimo-xbean-reflect) | |
4592 | - | ("java-sisu-build-api" ,java-sisu-build-api) | |
4593 | - | ;; modello plugins: | |
4594 | - | ("java-modellop-plugins-java" ,java-modello-plugins-java) | |
4595 | - | ("java-modellop-plugins-xml" ,java-modello-plugins-xml) | |
4596 | - | ("java-modellop-plugins-xpp3" ,java-modello-plugins-xpp3) | |
4597 | - | ;; for tests | |
4598 | - | ("java-junit" ,java-junit))) | |
4599 | - | (build-system ant-build-system) | |
4600 | - | (home-page "http://spice.sonatype.org/plexus-sec-dispatcher/") | |
4601 | - | (synopsis "Plexus Security Dispatcher Component") | |
4602 | - | (description "") | |
4603 | - | (license license:asl2.0))) | |
4604 | - | ||
4605 | 4257 | (define-public java-eclipse-sisu-inject | |
4606 | 4258 | (package | |
4607 | 4259 | (name "java-eclipse-sisu-inject") |