You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Patrick Forhan <fe...@muddyhorse.com> on 2008/01/24 17:24:09 UTC
Problems building trunk...
Is this normal? I get a bunch of "Exception while updating OBR" and
then a missing on
org.apache.felix:org.apache.felix.shell:jar:1.1.0-SNAPSHOT. The first
step, "mvn -Dpackaging=plugins install" seemed to work just fine.
Thanks,
Pat.
--
Defy mediocrity.
Re: Problems building trunk...
Posted by Stuart McCulloch <st...@jayway.net>.
On 25/01/2008, Patrick Forhan <fe...@muddyhorse.com> wrote:
>
> On Jan 24, 2008 11:49 AM, Stuart McCulloch <st...@jayway.net>
> wrote:
> \> ok, the OBR exception is caused by the custom localRepository setting:
> >
> > file://c:/bjc/javadown/m2repository
> >
> > for now changing this to use three slashes after file: should fix the
> > exception:
> >
> > file:///c:/bjc/javadown/m2repository
>
> Who is making that URL? My settings.xml has:
> <localRepository>c:/bjc/javadown/m2repository</localRepository>
>
> so it has to be maven or a mojo... are you saying I can put a URL in
> there?
probably maven as the value injected from the plexus container into
the plugin has 'file://' - try putting file:///c:/bjc/javadown/m2repository
into settings.xml and see if that helps
there'll be a 1.0.1 release of the OBR plugin to fix these windows bugs
(I guess no-one tested the snapshot on windows with a non-default
local repo, as the code has been like this for quite some time...)
Pat.
>
> --
> Defy mediocrity.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Cheers, Stuart
Re: Problems building trunk...
Posted by Patrick Forhan <fe...@muddyhorse.com>.
On Jan 24, 2008 11:49 AM, Stuart McCulloch <st...@jayway.net> wrote:
\> ok, the OBR exception is caused by the custom localRepository setting:
>
> file://c:/bjc/javadown/m2repository
>
> for now changing this to use three slashes after file: should fix the
> exception:
>
> file:///c:/bjc/javadown/m2repository
Who is making that URL? My settings.xml has:
<localRepository>c:/bjc/javadown/m2repository</localRepository>
so it has to be maven or a mojo... are you saying I can put a URL in there?
Pat.
--
Defy mediocrity.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Problems building trunk...
Posted by Stuart McCulloch <st...@jayway.net>.
On 25/01/2008, Patrick Forhan <fe...@muddyhorse.com> wrote:
>
> > Could you provide the output from "mvn -X ...etc..." as this will turn
> on
> > the maven debug and show what versions of plugins/deps are being
> resolved.
ok, the OBR exception is caused by the custom localRepository setting:
file://c:/bjc/javadown/m2repository
for now changing this to use three slashes after file: should fix the
exception:
(see http://blogs.msdn.com/ie/archive/2006/12/06/file-uris-in-windows.aspx)
file:///c:/bjc/javadown/m2repository
in the longer term we'll probably add a patch to do more fixing up for URIs.
BTW, note that the OBR exception only means the repository.xml file won't be
updated - the bundle will still be installed to the local repo and the build
won't
fail on this exception.
the build error at the end was due to a missing version tag from the shell
pom
which meant it was using its parent version (ie. 1.0.2) - I've just
committed the
fix for this...
Done.
>
> Pat.
>
> --
> Defy mediocrity.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Cheers, Stuart
Re: Problems building trunk...
Posted by Patrick Forhan <fe...@muddyhorse.com>.
> Could you provide the output from "mvn -X ...etc..." as this will turn on
> the maven debug and show what versions of plugins/deps are being resolved.
Done.
Pat.
--
Defy mediocrity.
Re: Problems building trunk...
Posted by Stuart McCulloch <st...@jayway.net>.
On 25/01/2008, Patrick Forhan <fe...@muddyhorse.com> wrote:
>
> Is this normal? I get a bunch of "Exception while updating OBR" and
> then a missing on
> org.apache.felix:org.apache.felix.shell:jar:1.1.0-SNAPSHOT. The first
> step, "mvn -Dpackaging=plugins install" seemed to work just fine.
Could you provide the output from "mvn -X ...etc..." as this will turn on
the
maven debug and show what versions of plugins/deps are being resolved.
Thanks,
>
> Pat.
>
> --
> Defy mediocrity.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Cheers, Stuart