GNU bug report logs -
#30606
maven resolver packages
Previous Next
Reported by: Julien Lepiller <julien <at> lepiller.eu>
Date: Sun, 25 Feb 2018 15:49:02 UTC
Severity: normal
Done: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30606 in the body.
You can then email your comments to 30606 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#30606
; Package
guix-patches
.
(Sun, 25 Feb 2018 15:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 25 Feb 2018 15:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
here are the first few packages needed by maven. I created a new
maven.scm file for them.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30606
; Package
guix-patches
.
(Sun, 25 Feb 2018 15:57:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 30606 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/maven.scm: New file.
(maven-resolver-api): New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
---
gnu/local.mk | 1 +
gnu/packages/maven.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
create mode 100644 gnu/packages/maven.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index 2f8f7b7e3..978947843 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -279,6 +279,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/marst.scm \
%D%/packages/mate.scm \
%D%/packages/maths.scm \
+ %D%/packages/maven.scm \
%D%/packages/mc.scm \
%D%/packages/mcrypt.scm \
%D%/packages/medical.scm \
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
new file mode 100644
index 000000000..7fcc7b453
--- /dev/null
+++ b/gnu/packages/maven.scm
@@ -0,0 +1,50 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018 Julien Lepiller <julien <at> lepiller.eu>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages maven)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix utils)
+ #:use-module (guix build-system ant)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages java))
+
+(define-public maven-resolver-api
+ (package
+ (name "maven-resolver-api")
+ (version "1.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/apache/maven-resolver/"
+ "archive/maven-resolver-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rpvdg3qr1j88gw0ankf0wnwfyq6238mdlm7s39vf5jrcvhdgwcl"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "maven-resolver-api.jar"
+ #:source-dir "maven-resolver-api/src/main/java"
+ #:test-dir "maven-resolver-api/src/test"))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)))
+ (home-page "https://github.com/apache/maven-resolver")
+ (synopsis "Maven repository system API")
+ (description "This package contains the API for the maven repository system.")
+ (license license:asl2.0)))
--
2.16.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30606
; Package
guix-patches
.
(Sun, 25 Feb 2018 15:57:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 30606 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/maven.scm (maven-resolver-spi): New variable.
---
gnu/packages/maven.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 7fcc7b453..8fa7ecc5b 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -48,3 +48,18 @@
(synopsis "Maven repository system API")
(description "This package contains the API for the maven repository system.")
(license license:asl2.0)))
+
+(define-public maven-resolver-spi
+ (package
+ (inherit maven-resolver-api)
+ (name "maven-resolver-spi")
+ (arguments
+ `(#:jar-name "maven-resolver-spi.jar"
+ #:source-dir "maven-resolver-spi/src/main/java"
+ #:test-dir "maven-resolver-spi/src/test"
+ #:jdk ,icedtea-8))
+ (inputs
+ `(("maven-resolver-api" ,maven-resolver-api)))
+ (synopsis "Maven repository system SPI")
+ (description "This package contains the service provider interface (SPI)
+for repository system implementations and repository connectors.")))
--
2.16.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30606
; Package
guix-patches
.
(Sun, 25 Feb 2018 15:57:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 30606 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/maven.scm (maven-resolver-test-util): New variable.
---
gnu/packages/maven.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 8fa7ecc5b..8cc493806 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -63,3 +63,19 @@
(synopsis "Maven repository system SPI")
(description "This package contains the service provider interface (SPI)
for repository system implementations and repository connectors.")))
+
+(define-public maven-resolver-test-util
+ (package
+ (inherit maven-resolver-api)
+ (name "maven-resolver-test-util")
+ (arguments
+ `(#:jar-name "maven-resolver-test-util.jar"
+ #:source-dir "maven-resolver-test-util/src/main/java"
+ #:test-dir "maven-resolver-test-util/src/test"
+ #:jdk ,icedtea-8))
+ (inputs
+ `(("maven-resolver-api" ,maven-resolver-api)
+ ("maven-resolver-spi" ,maven-resolver-spi)))
+ (synopsis "Utility classes for testing the maven repository system")
+ (description "This package contains a collection of utility classes to
+ease testing of the repository system.")))
--
2.16.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30606
; Package
guix-patches
.
(Sun, 25 Feb 2018 15:57:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 30606 <at> debbugs.gnu.org (full text, mbox):
gnu/packages/maven.scm (maven-resolver-util): New variable.
---
gnu/packages/maven.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 8cc493806..6c8f4b931 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -79,3 +79,22 @@ for repository system implementations and repository connectors.")))
(synopsis "Utility classes for testing the maven repository system")
(description "This package contains a collection of utility classes to
ease testing of the repository system.")))
+
+(define-public maven-resolver-util
+ (package
+ (inherit maven-resolver-api)
+ (name "maven-resolver-util")
+ (arguments
+ `(#:jar-name "maven-resolver-util.jar"
+ #:source-dir "maven-resolver-util/src/main/java"
+ #:test-dir "maven-resolver-util/src/test"
+ #:jdk ,icedtea-8))
+ (inputs
+ `(("maven-resolver-api" ,maven-resolver-api)))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)
+ ("maven-resolver-test-util" ,maven-resolver-test-util)))
+ (synopsis "Utility classes for the maven repository system")
+ (description "This package contains a collection of utility classes to
+ease usage of the repository system.")))
--
2.16.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30606
; Package
guix-patches
.
(Sun, 25 Feb 2018 15:57:04 GMT)
Full text and
rfc822 format available.
Message #20 received at 30606 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/maven.scm (maven-resolver-connector-basic): New variable.
---
gnu/packages/maven.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 6c8f4b931..81021f646 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -98,3 +98,33 @@ ease testing of the repository system.")))
(synopsis "Utility classes for the maven repository system")
(description "This package contains a collection of utility classes to
ease usage of the repository system.")))
+
+(define-public maven-resolver-connector-basic
+ (package
+ (inherit maven-resolver-api)
+ (name "maven-resolver-connector-basic")
+ (arguments
+ `(#:jar-name "maven-resolver-connector-basic.jar"
+ #:source-dir "maven-resolver-connector-basic/src/main/java"
+ #:test-dir "maven-resolver-connector-basic/src/test"
+ #:jdk ,icedtea-8
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-sisu
+ (lambda _
+ (mkdir-p "build/classes/META-INF/sisu")
+ (with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named"
+ (lambda _
+ (display "org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory\n"))))))))
+ (inputs
+ `(("maven-resolver-api" ,maven-resolver-api)
+ ("maven-resolver-spi" ,maven-resolver-spi)
+ ("maven-resolver-util" ,maven-resolver-util)
+ ("java-javax-inject" ,java-javax-inject)))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)
+ ("maven-resolver-test-util" ,maven-resolver-test-util)))
+ (synopsis "Maven repository connector implementation")
+ (description "This package contains a repository connector implementation
+for repositories using URI-based layouts.")))
--
2.16.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30606
; Package
guix-patches
.
(Wed, 14 Mar 2018 06:38:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 30606 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Julien,
sorry I was slower reviewing than you commiting this one.
On Sun, 25 Feb 2018 16:48:22 +0100
Julien Lepiller <julien <at> lepiller.eu> wrote:
> Hi,
>
> here are the first few packages needed by maven. I created a new
> maven.scm file for them.
All 5 look good, besides maybe this remark:
These packages are used to bootstrap Maven. Once we have Maven and a
maven-build-system, we eventually want to rebuild them with Maven and
have them in some (to be defined) Guix-Maven-Layout, for example with
pom.xml included and in the usual .m2/repository directory-structure.
Should we thus rename them to maven-*-bootstrap and just (define them
instead of (define-public?
Björn
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30606
; Package
guix-patches
.
(Wed, 14 Mar 2018 13:16:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 30606 <at> debbugs.gnu.org (full text, mbox):
Le 2018-03-14 07:36, Björn Höfling a écrit :
> Hi Julien,
>
> sorry I was slower reviewing than you commiting this one.
>
> On Sun, 25 Feb 2018 16:48:22 +0100
> Julien Lepiller <julien <at> lepiller.eu> wrote:
>
>> Hi,
>>
>> here are the first few packages needed by maven. I created a new
>> maven.scm file for them.
>
>
> All 5 look good, besides maybe this remark:
>
> These packages are used to bootstrap Maven. Once we have Maven and a
> maven-build-system, we eventually want to rebuild them with Maven and
> have them in some (to be defined) Guix-Maven-Layout, for example with
> pom.xml included and in the usual .m2/repository directory-structure.
>
> Should we thus rename them to maven-*-bootstrap and just (define them
> instead of (define-public?
>
> Björn
Hi Björn,
I think it's OK to leave them as is for now but I don't really have any
objection to your suggestion, so I'll add it to my TODO list and push a
patch before the next series. I'm trying to improve the rest of my
packages so it may take some time.
Thank you!
Reply sent
to
Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
:
You have taken responsibility.
(Fri, 16 Mar 2018 11:54:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
bug acknowledged by developer.
(Fri, 16 Mar 2018 11:54:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 30606-close <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, 14 Mar 2018 14:15:16 +0100
julien lepiller <julien <at> lepiller.eu> wrote:
> Hi Björn,
>
> I think it's OK to leave them as is for now but I don't really have
> any objection to your suggestion, so I'll add it to my TODO list and
> push a patch before the next series. I'm trying to improve the rest
> of my packages so it may take some time.
>
> Thank you!
OK, fine. I'm closing this patch-set, as it is already pushed.
BTW, I liked the size of the patch-set, it was small enough to not get
confused.
If I can help you out with anything, just tell me.
Björn
[Message part 2 (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 14 Apr 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 68 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.