New (unofficial) Maven Plugin: Go Offline Maven Plugin

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

New (unofficial) Maven Plugin: Go Offline Maven Plugin

Andreas Janning
Hello maven users,

I have just released a new open source maven plugin: The Go Offline Maven
Plugin.

It can be used to download all dependencies and plugins required in a Maven
build, so the build can be run without an internet connection afterwards.

This is especially relevant with modern CI-Systems like Gitlab and
Circle-CI that need a consistent local Maven repository in their cache to
build efficiently.

Optionally, sources of all transitive dependencies can be downloaded as
well to have them available in your favourite IDE.

Maven already has an official to do this: The maven-dependency-plugin
go-offline goal. Unfortunately, the go-offline goal currently suffers from
several drawbacks:

- Multi-Module builds are not supported since the plugin tries to download
Reactor-Dependencies from the Remote Repository
- Most parameters simply do not work
- No option to download dynamic dependencies

The Go Offline Maven Plugin fixes these drawbacks.

The plugin has already been deployed to maven central. Source Code and
further information can be found on the Github Page:
https://github.com/qaware/go-offline-maven-plugin

Comments, Bug-Reports and Pull Requests welcome :)

Regards,

Andreas Jannig
------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin

Oliver B. Fischer-2
Sounds great. I will test it!

Am 17.10.18 um 12:28 schrieb Andreas Janning:

> Hello maven users,
>
> I have just released a new open source maven plugin: The Go Offline Maven
> Plugin.
>
> It can be used to download all dependencies and plugins required in a Maven
> build, so the build can be run without an internet connection afterwards.
>
> This is especially relevant with modern CI-Systems like Gitlab and
> Circle-CI that need a consistent local Maven repository in their cache to
> build efficiently.
>
> Optionally, sources of all transitive dependencies can be downloaded as
> well to have them available in your favourite IDE.
>
> Maven already has an official to do this: The maven-dependency-plugin
> go-offline goal. Unfortunately, the go-offline goal currently suffers from
> several drawbacks:
>
> - Multi-Module builds are not supported since the plugin tries to download
> Reactor-Dependencies from the Remote Repository
> - Most parameters simply do not work
> - No option to download dynamic dependencies
>
> The Go Offline Maven Plugin fixes these drawbacks.
>
> The plugin has already been deployed to maven central. Source Code and
> further information can be found on the Github Page:
> https://github.com/qaware/go-offline-maven-plugin
>
> Comments, Bug-Reports and Pull Requests welcome :)
>
> Regards,
>
> Andreas Jannig
> ------------------------------
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin

Petar Tahchiev
We have a issue with the dependencies plugin open for a long time:

https://issues.apache.org/jira/browse/MDEP-516

I would be interested to test if your plugin has the same issue or actually
works :)


На ср, 17.10.2018 г. в 13:58 ч. Oliver B. Fischer <[hidden email]>
написа:

> Sounds great. I will test it!
>
> Am 17.10.18 um 12:28 schrieb Andreas Janning:
> > Hello maven users,
> >
> > I have just released a new open source maven plugin: The Go Offline Maven
> > Plugin.
> >
> > It can be used to download all dependencies and plugins required in a
> Maven
> > build, so the build can be run without an internet connection afterwards.
> >
> > This is especially relevant with modern CI-Systems like Gitlab and
> > Circle-CI that need a consistent local Maven repository in their cache to
> > build efficiently.
> >
> > Optionally, sources of all transitive dependencies can be downloaded as
> > well to have them available in your favourite IDE.
> >
> > Maven already has an official to do this: The maven-dependency-plugin
> > go-offline goal. Unfortunately, the go-offline goal currently suffers
> from
> > several drawbacks:
> >
> > - Multi-Module builds are not supported since the plugin tries to
> download
> > Reactor-Dependencies from the Remote Repository
> > - Most parameters simply do not work
> > - No option to download dynamic dependencies
> >
> > The Go Offline Maven Plugin fixes these drawbacks.
> >
> > The plugin has already been deployed to maven central. Source Code and
> > further information can be found on the Github Page:
> > https://github.com/qaware/go-offline-maven-plugin
> >
> > Comments, Bug-Reports and Pull Requests welcome :)
> >
> > Regards,
> >
> > Andreas Jannig
> > ------------------------------
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Regards, Petar!
Karlovo, Bulgaria.
---
Public PGP Key at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611
Reply | Threaded
Open this post in threaded view
|

Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin

Andreas Janning
Just tested it with the example project you provided (
https://github.com/ptahchiev/MDEP-516) and it works :)
One of the main goals of this project was to make go-offline work with
multi-module projects

Ragards,

Andreas Janning

Am Mi., 17. Okt. 2018 um 13:09 Uhr schrieb Petar Tahchiev <
[hidden email]>:

> We have a issue with the dependencies plugin open for a long time:
>
> https://issues.apache.org/jira/browse/MDEP-516
>
> I would be interested to test if your plugin has the same issue or actually
> works :)
>
>
> На ср, 17.10.2018 г. в 13:58 ч. Oliver B. Fischer <
> [hidden email]>
> написа:
>
> > Sounds great. I will test it!
> >
> > Am 17.10.18 um 12:28 schrieb Andreas Janning:
> > > Hello maven users,
> > >
> > > I have just released a new open source maven plugin: The Go Offline
> Maven
> > > Plugin.
> > >
> > > It can be used to download all dependencies and plugins required in a
> > Maven
> > > build, so the build can be run without an internet connection
> afterwards.
> > >
> > > This is especially relevant with modern CI-Systems like Gitlab and
> > > Circle-CI that need a consistent local Maven repository in their cache
> to
> > > build efficiently.
> > >
> > > Optionally, sources of all transitive dependencies can be downloaded as
> > > well to have them available in your favourite IDE.
> > >
> > > Maven already has an official to do this: The maven-dependency-plugin
> > > go-offline goal. Unfortunately, the go-offline goal currently suffers
> > from
> > > several drawbacks:
> > >
> > > - Multi-Module builds are not supported since the plugin tries to
> > download
> > > Reactor-Dependencies from the Remote Repository
> > > - Most parameters simply do not work
> > > - No option to download dynamic dependencies
> > >
> > > The Go Offline Maven Plugin fixes these drawbacks.
> > >
> > > The plugin has already been deployed to maven central. Source Code and
> > > further information can be found on the Github Page:
> > > https://github.com/qaware/go-offline-maven-plugin
> > >
> > > Comments, Bug-Reports and Pull Requests welcome :)
> > >
> > > Regards,
> > >
> > > Andreas Jannig
> > > ------------------------------
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> --
> Regards, Petar!
> Karlovo, Bulgaria.
> ---
> Public PGP Key at:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611
>


--

------------------------------
Andreas Janning
Softwarearchitekt

QAware GmbH
Aschauer Str. 32
81549 München, Germany
Tel +49 89 232315-133
Mobil +49 160 1492426
Fax +49 89 6008871-29
[hidden email]
www.qaware.de
------------------------------
Geschäftsführer: Christian Kamm, Bernd Schlüter, Johannes Weigend, Josef
Adersberger
Registergericht: München
Handelsregisternummer: HRB 163761
Reply | Threaded
Open this post in threaded view
|

Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin

Thomas Broyer-2
In reply to this post by Andreas Janning
How about, say, maven-compiler-plugin's annotationProcessorPaths?

Le mer. 17 oct. 2018 12:29, Andreas Janning <[hidden email]> a
écrit :

> Hello maven users,
>
> I have just released a new open source maven plugin: The Go Offline Maven
> Plugin.
>
> It can be used to download all dependencies and plugins required in a Maven
> build, so the build can be run without an internet connection afterwards.
>
> This is especially relevant with modern CI-Systems like Gitlab and
> Circle-CI that need a consistent local Maven repository in their cache to
> build efficiently.
>
> Optionally, sources of all transitive dependencies can be downloaded as
> well to have them available in your favourite IDE.
>
> Maven already has an official to do this: The maven-dependency-plugin
> go-offline goal. Unfortunately, the go-offline goal currently suffers from
> several drawbacks:
>
> - Multi-Module builds are not supported since the plugin tries to download
> Reactor-Dependencies from the Remote Repository
> - Most parameters simply do not work
> - No option to download dynamic dependencies
>
> The Go Offline Maven Plugin fixes these drawbacks.
>
> The plugin has already been deployed to maven central. Source Code and
> further information can be found on the Github Page:
> https://github.com/qaware/go-offline-maven-plugin
>
> Comments, Bug-Reports and Pull Requests welcome :)
>
> Regards,
>
> Andreas Jannig
> ------------------------------
>
Reply | Threaded
Open this post in threaded view
|

Re: New (unofficial) Maven Plugin: Go Offline Maven Plugin

Andreas Janning
annotationProcessorPaths are currently not taken into account. I will try
to add them in the next version

Am Mi., 17. Okt. 2018 um 14:06 Uhr schrieb Thomas Broyer <[hidden email]
>:

> How about, say, maven-compiler-plugin's annotationProcessorPaths?
>
> Le mer. 17 oct. 2018 12:29, Andreas Janning <[hidden email]> a
> écrit :
>
> > Hello maven users,
> >
> > I have just released a new open source maven plugin: The Go Offline Maven
> > Plugin.
> >
> > It can be used to download all dependencies and plugins required in a
> Maven
> > build, so the build can be run without an internet connection afterwards.
> >
> > This is especially relevant with modern CI-Systems like Gitlab and
> > Circle-CI that need a consistent local Maven repository in their cache to
> > build efficiently.
> >
> > Optionally, sources of all transitive dependencies can be downloaded as
> > well to have them available in your favourite IDE.
> >
> > Maven already has an official to do this: The maven-dependency-plugin
> > go-offline goal. Unfortunately, the go-offline goal currently suffers
> from
> > several drawbacks:
> >
> > - Multi-Module builds are not supported since the plugin tries to
> download
> > Reactor-Dependencies from the Remote Repository
> > - Most parameters simply do not work
> > - No option to download dynamic dependencies
> >
> > The Go Offline Maven Plugin fixes these drawbacks.
> >
> > The plugin has already been deployed to maven central. Source Code and
> > further information can be found on the Github Page:
> > https://github.com/qaware/go-offline-maven-plugin
> >
> > Comments, Bug-Reports and Pull Requests welcome :)
> >
> > Regards,
> >
> > Andreas Jannig
> > ------------------------------
> >
>


--

------------------------------
Andreas Janning
Softwarearchitekt

QAware GmbH
Aschauer Str. 32
81549 München, Germany
Tel +49 89 232315-133
Mobil +49 160 1492426
Fax +49 89 6008871-29
[hidden email]
www.qaware.de
------------------------------
Geschäftsführer: Christian Kamm, Bernd Schlüter, Johannes Weigend, Josef
Adersberger
Registergericht: München
Handelsregisternummer: HRB 163761