You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul Grove <ps...@gmail.com> on 2011/10/14 00:50:37 UTC
Offline is broken - _maven.repositories
Can I have the hour of my life I just wasted trying to get Maven 3 working
offline? Even with -o Maven kept complaining about dependency not in local
repository we basically it was. After an hour of wasted time I discovered my
local repository full of files named _maven.repositories after deleting all
these files Maven then worked offline just fine. theirs me thinking offline
means offline, I missed my kids bedtime because of this. Another reason
gradle will be getting a closer look from me.
Re: Offline is broken - _maven.repositories
Posted by PaulG <ps...@googlemail.com>.
This is a bad option. The situation I had was a team of penetration testers
wanted to review the project so I zipped up the project and the Maven
repository and wanted them to do a build in offline as they had no network
connectivity to the company network. Should I rely expect them to also
install a repository manager locally, really?
I take your point about Gradle but hope the offline will be built in by
version 1.0 but there are http://issues.gradle.org/browse/GRADLE-320
workarounds
--
View this message in context: http://maven.40175.n5.nabble.com/Offline-is-broken-maven-repositories-tp4900882p4901988.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Offline is broken - _maven.repositories
Posted by Manfred Moser <ma...@mosabuam.com>.
On 11-10-13 03:50 PM, Paul Grove wrote:
> Can I have the hour of my life I just wasted trying to get Maven 3 working
> offline? Even with -o Maven kept complaining about dependency not in local
> repository we basically it was. After an hour of wasted time I discovered my
> local repository full of files named _maven.repositories after deleting all
> these files Maven then worked offline just fine. theirs me thinking offline
> means offline, I missed my kids bedtime because of this. Another reason
> gradle will be getting a closer look from me.
>
Look into installing repository server on your local machine instead of
using offline. And if you look at Gradle you will see that there is no
offline support at all..
manfred
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Offline is broken - _maven.repositories
Posted by Paul French <pa...@kirona.com>.
Any idea what version of the aether libraries (1.12 or 1.13) will be
used in 3.0.4 and a guess on when 3.0.4 will be released?
We are using 3.0.3 with aether 1.13 libraries. It works really well
except maven crashes out when there is version conflicts in your POM.
Depending on your answer I would to test the latest 3.0.4 snapshot and
see if this issue goes away.
On 14/10/2011 12:15, Mark Derricutt wrote:
> This can be "fixed" by upgrading the aether libraries inside your maven release.
>
> Hopefully the 3.0.4 release will be out soon that includes these. The updated aether version has significant fixes, among which are fixes that solve the problems around artifacts not being found in the local repo.
>
> Mark
>
> On 14/10/2011, at 11:50 AM, Paul Grove wrote:
>
>> Can I have the hour of my life I just wasted trying to get Maven 3 working
>> offline? Even with -o Maven kept complaining about dependency not in local
>> repository we basically it was. After an hour of wasted time I discovered my
>> local repository full of files named _maven.repositories after deleting all
>> these files Maven then worked offline just fine. theirs me thinking offline
>> means offline, I missed my kids bedtime because of this. Another reason
>> gradle will be getting a closer look from me.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Offline is broken - _maven.repositories
Posted by Mark Derricutt <ma...@talios.com>.
This can be "fixed" by upgrading the aether libraries inside your maven release.
Hopefully the 3.0.4 release will be out soon that includes these. The updated aether version has significant fixes, among which are fixes that solve the problems around artifacts not being found in the local repo.
Mark
On 14/10/2011, at 11:50 AM, Paul Grove wrote:
> Can I have the hour of my life I just wasted trying to get Maven 3 working
> offline? Even with -o Maven kept complaining about dependency not in local
> repository we basically it was. After an hour of wasted time I discovered my
> local repository full of files named _maven.repositories after deleting all
> these files Maven then worked offline just fine. theirs me thinking offline
> means offline, I missed my kids bedtime because of this. Another reason
> gradle will be getting a closer look from me.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org