Hi folks,
we have a requirement for a source code escrow
(https://en.wikipedia.org/wiki/Source_code_escrow). Therefore we intended
provide our source code with a local Maven repository that can be used for
offline builds. However, all attempts have been failed so far.
What have we done:
1/
I would have tried the -llr command line option
On 13 November 2015 at 11:58, Jörg Schaible
wrote:
> Hi folks,
>
> we have a requirement for a source code escrow
> (https://en.wikipedia.org/wiki/Source_code_escrow). Therefore we intended
> provide our source code
IOW
mvn -o -llr goal
Should do what you want where you have changed the repo url. The
_remote.repositories stores the URL of the repository not just the id.
If you are doing offline, better would be to have a repository manager and
a hostname to host it at... but if you want to use a file:///
Hello.
I'm attempting to add a Maven plugin to a small compiler project:
https://github.com/io7m/jpra
However, given the following trivial pom.xml:
https://github.com/io7m/jpra/blob/develop/io7m-jpra-maven-plugin/pom.xml
... and the following no-op unit test:
I think most people, at least once in their life, try to use their local
repository cache as an offline remote repository. However, the two aren't
the same in concept though, IIRC, the last time I tried. You still need to
keep the two separate.
Now it would be interesting if a tool existed to
If this does not work please let me know. This is what I’ve used in the past
and if it doesn’t work I agree it needs to be fixed. I honestly haven’t tried
making a hermetically sealed build in a few years but last year worked on a
project that did no network traversal aside from using
Hi Jason,
Jason van Zyl wrote:
> Use a file based remote repository instead of trying to build in offline
> mode.
>
> You can either use a repository manager to create the remote repository or
> an empty local repository with a full build. As noted though, you have to
> remove all local
Not sure if the extra work would be worthwhile when you have a number of
free repo packages that are better in many ways than the maven cache and
can be installed on Windows or Linux.
Ron
On 13/11/2015 12:44 PM, cody.a.fy...@wellsfargo.com wrote:
I just wanted to weigh in.
This indeed
In this case they would not be better and far less convenient. For a
hermetically sealed build at any rate. The local repository cache cleared of
the tracking files serves as a perfectly fine remote repository for this use
case. Most escrow bundles carry all the tools and sources required to
I just wanted to weigh in.
This indeed does not function in what I would call an "intuitive" way.
It would be really nice if offline mode meant just provide the switch and
everything used your local repo. No extra configuration or trickery required.
I know in modern times, the idea of always
On Nov 13, 2015 9:45 AM, wrote:
>
> I just wanted to weigh in.
>
> This indeed does not function in what I would call an "intuitive" way.
>
> It would be really nice if offline mode meant just provide the switch and
everything used your local repo. No extra
On 2015-11-13T17:09:36 -0500
Jason van Zyl wrote:
> You must be running with a version of Maven where that class does not exist?
> That error means you’re using a library where that class was present during
> building but not present at runtime. You running something older
I certainly would defer to your expertise.
Ron
On 13/11/2015 2:33 PM, Jason van Zyl wrote:
In this case they would not be better and far less convenient. For a
hermetically sealed build at any rate. The local repository cache cleared of
the tracking files serves as a perfectly fine remote
Hi,
On 11/13/15 2:23 PM, org.apache.maven.u...@io7m.com wrote:
On 2015-11-13T10:03:54 +
<org.apache.maven.u...@io7m.com> wrote:
Hello.
I'm attempting to add a Maven plugin to a small compiler project:
Here's a tiny repro case.
https://github.com/io7m/mvn-bug-20151113
Why a
'Lo!
On 2015-11-13T21:39:06 +0100
Karl Heinz Marbaise wrote:
>
> Why are you using this:
>
>
>org.apache.maven
>maven-plugin-api
>2.0
>
>
> Better use at least version 3.0 of this...
Because the documentation says 2.0:
On 2015-11-13T21:07:23 +
wrote:
> On 2015-11-13T21:39:06 +0100
> Karl Heinz Marbaise wrote:
> >
> > Better use at least version 3.0 of this...
>
> I'll try 3.0.
No luck, unfortunately. Same error.
M
Jason's suggestion is what I have attempted in the past. You want to mirror
your remote repository using file:/// pointing to your disk copy. Then you
don't have to be offline. However, this is NOT your local repo! You still
need that. Don't confuse the two even if both are on your machine.
You must be running with a version of Maven where that class does not exist?
That error means you’re using a library where that class was present during
building but not present at runtime. You running something older than Maven
2.2.x?
> On Nov 13, 2015, at 4:59 PM,
You are missing the dependencies which contain the necessary classes. I made a
PR for you. The project test now executes.
FYI, I use this all the time now for plugin unit and integration testing:
https://github.com/takari/takari-plugin-testing-project
> On Nov 13, 2015, at 5:30 PM,
On 2015-11-13T10:03:54 +
<org.apache.maven.u...@io7m.com> wrote:
> Hello.
>
> I'm attempting to add a Maven plugin to a small compiler project:
Here's a tiny repro case.
https://github.com/io7m/mvn-
Use a file based remote repository instead of trying to build in offline mode.
You can either use a repository manager to create the remote repository or an
empty local repository with a full build. As noted though, you have to remove
all local repository metadata and files if you create the
Hi Stephen,
Stephen Connolly wrote:
> IOW
>
> mvn -o -llr goal
>
> Should do what you want where you have changed the repo url. The
> _remote.repositories stores the URL of the repository not just the id.
My local repo was populated using Maven 3.3.8 or 3.3.9 and those files never
contained
22 matches
Mail list logo