You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by David Riccitelli <da...@interact.it> on 2011/07/11 09:34:58 UTC

The repository system is offline

Dears,

Do you know if something happened to
http://people.apache.org/repo/m2-incubating-repository/org/apache/sling/?

I get the following error, the directory online is empty nonetheless:

[ERROR] Plugin org.apache.sling:maven-sling-plugin:2.0.4-incubator or one of
its dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.sling:maven-sling-plugin:jar:2.0.4-incubator: The repository
system is offline but the artifact org.apache.sling:sling:pom:5-incubator is
not available in the local repository. -> [Help 1]

Any tip on how to solve this issue?

Thanks,
David


-- 
David Riccitelli

Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma

T +39 06 58318 301
F +39 06 58318 303

Re: The repository system is offline

Posted by David Riccitelli <da...@interact.it>.
Holy... shame on me :-)

David

On Mon, Jul 11, 2011 at 12:56 PM, florent andré <
florent.andre-dev@4sengines.com> wrote:

>
>
> On 07/11/2011 11:51 AM, David Riccitelli wrote:
>
>> Thanks Bertrand,
>>
>> I tried clearing everything out, but I still have the issue. I don't
>> understand why Maven is executing in offline mode...
>>
>
> This is cause by your -o parameter in your command line.
>
> Remove it and you will be on line ! :)
> ++
>
>
>
>
>> ----
>> $ mvn install -DskipTests -PinstallBundle -Dsling.url=
>> http://localhost:8080/system/**console<http://localhost:8080/system/console>-o
>> [INFO]
>> *NOTE: Maven is executing in offline mode. Any artifacts not already in
>> your
>> local*
>> *repository will be inaccessible.*
>>
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------**------------------------------**
>> ------------
>> [INFO] Building Apache Stanbol Enhancer Enhancement Engine : Zemanta
>> Tagging
>> [INFO]    task-segment: [install]
>> [INFO]
>> ------------------------------**------------------------------**
>> ------------
>> [INFO]
>> ------------------------------**------------------------------**
>> ------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------**------------------------------**
>> ------------
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: org.apache.sling:maven-sling-**plugin
>>
>> Reason: POM 'org.apache.sling:maven-sling-**plugin' not found in
>> repository:
>> System is offline.
>>
>>   org.apache.sling:maven-sling-**plugin:pom:2.0.4-incubator
>>
>>
>>  for project org.apache.sling:maven-sling-**plugin
>>
>>
>> [INFO]
>> ------------------------------**------------------------------**
>> ------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------**------------------------------**
>> ------------
>> [INFO] Total time: 3 seconds
>> [INFO] Finished at: Mon Jul 11 12:49:35 IDT 2011
>> [INFO] Final Memory: 9M/81M
>> [INFO]
>> ------------------------------**------------------------------**
>> ------------
>>
>> On Mon, Jul 11, 2011 at 10:53 AM, Bertrand Delacretaz<
>> bdelacretaz@apache.org>  wrote:
>>
>>  Hi,
>>>
>>> On Mon, Jul 11, 2011 at 9:34 AM, David Riccitelli
>>> <da...@interact.it>  wrote:
>>>
>>>> ...Do you know if something happened to
>>>> http://people.apache.org/repo/**m2-incubating-repository/org/**
>>>> apache/sling/<http://people.apache.org/repo/m2-incubating-repository/org/apache/sling/>
>>>>
>>> ?
>>>
>>>>
>>>> I get the following error, the directory online is empty nonetheless:
>>>>
>>>> [ERROR] Plugin org.apache.sling:maven-sling-**plugin:2.0.4-incubator or
>>>> one
>>>>
>>> of
>>>
>>>> its dependencies could not be resolved...
>>>>
>>>
>>> I don't think the Stanbol build needs that repository, running "find .
>>> -name pom.xml | xargs grep people.apache.org" at the top of the
>>> Stanbol source tree finds nothing. If you added it to your Maven
>>> settings you can probably remove it.
>>>
>>> The org.apache.sling:maven-sling-**plugin:2.0.4-incubator artifact is
>>> available on the default Maven central repository, if you need it.
>>>
>>> -Bertrand
>>>
>>>
>>
>>
>>


-- 
David Riccitelli

Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma

T +39 06 58318 301
F +39 06 58318 303

Re: The repository system is offline

Posted by florent andré <fl...@4sengines.com>.

On 07/11/2011 11:51 AM, David Riccitelli wrote:
> Thanks Bertrand,
>
> I tried clearing everything out, but I still have the issue. I don't
> understand why Maven is executing in offline mode...

This is cause by your -o parameter in your command line.

Remove it and you will be on line ! :)
++


>
> ----
> $ mvn install -DskipTests -PinstallBundle -Dsling.url=
> http://localhost:8080/system/console -o
> [INFO]
> *NOTE: Maven is executing in offline mode. Any artifacts not already in your
> local*
> *repository will be inaccessible.*
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Stanbol Enhancer Enhancement Engine : Zemanta Tagging
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.sling:maven-sling-plugin
>
> Reason: POM 'org.apache.sling:maven-sling-plugin' not found in repository:
> System is offline.
>
>    org.apache.sling:maven-sling-plugin:pom:2.0.4-incubator
>
>
>   for project org.apache.sling:maven-sling-plugin
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Mon Jul 11 12:49:35 IDT 2011
> [INFO] Final Memory: 9M/81M
> [INFO]
> ------------------------------------------------------------------------
>
> On Mon, Jul 11, 2011 at 10:53 AM, Bertrand Delacretaz<
> bdelacretaz@apache.org>  wrote:
>
>> Hi,
>>
>> On Mon, Jul 11, 2011 at 9:34 AM, David Riccitelli
>> <da...@interact.it>  wrote:
>>> ...Do you know if something happened to
>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/sling/
>> ?
>>>
>>> I get the following error, the directory online is empty nonetheless:
>>>
>>> [ERROR] Plugin org.apache.sling:maven-sling-plugin:2.0.4-incubator or one
>> of
>>> its dependencies could not be resolved...
>>
>> I don't think the Stanbol build needs that repository, running "find .
>> -name pom.xml | xargs grep people.apache.org" at the top of the
>> Stanbol source tree finds nothing. If you added it to your Maven
>> settings you can probably remove it.
>>
>> The org.apache.sling:maven-sling-plugin:2.0.4-incubator artifact is
>> available on the default Maven central repository, if you need it.
>>
>> -Bertrand
>>
>
>
>

Re: The repository system is offline

Posted by David Riccitelli <da...@interact.it>.
Thanks Bertrand,

I tried clearing everything out, but I still have the issue. I don't
understand why Maven is executing in offline mode...

----
$ mvn install -DskipTests -PinstallBundle -Dsling.url=
http://localhost:8080/system/console -o
[INFO]
*NOTE: Maven is executing in offline mode. Any artifacts not already in your
local*
*repository will be inaccessible.*

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Stanbol Enhancer Enhancement Engine : Zemanta Tagging
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.sling:maven-sling-plugin

Reason: POM 'org.apache.sling:maven-sling-plugin' not found in repository:
System is offline.

  org.apache.sling:maven-sling-plugin:pom:2.0.4-incubator


 for project org.apache.sling:maven-sling-plugin


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Mon Jul 11 12:49:35 IDT 2011
[INFO] Final Memory: 9M/81M
[INFO]
------------------------------------------------------------------------

On Mon, Jul 11, 2011 at 10:53 AM, Bertrand Delacretaz <
bdelacretaz@apache.org> wrote:

> Hi,
>
> On Mon, Jul 11, 2011 at 9:34 AM, David Riccitelli
> <da...@interact.it> wrote:
> > ...Do you know if something happened to
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/sling/
> ?
> >
> > I get the following error, the directory online is empty nonetheless:
> >
> > [ERROR] Plugin org.apache.sling:maven-sling-plugin:2.0.4-incubator or one
> of
> > its dependencies could not be resolved...
>
> I don't think the Stanbol build needs that repository, running "find .
> -name pom.xml | xargs grep people.apache.org" at the top of the
> Stanbol source tree finds nothing. If you added it to your Maven
> settings you can probably remove it.
>
> The org.apache.sling:maven-sling-plugin:2.0.4-incubator artifact is
> available on the default Maven central repository, if you need it.
>
> -Bertrand
>



-- 
David Riccitelli

Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma

T +39 06 58318 301
F +39 06 58318 303

Re: The repository system is offline

Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,

On Mon, Jul 11, 2011 at 9:34 AM, David Riccitelli
<da...@interact.it> wrote:
> ...Do you know if something happened to
> http://people.apache.org/repo/m2-incubating-repository/org/apache/sling/?
>
> I get the following error, the directory online is empty nonetheless:
>
> [ERROR] Plugin org.apache.sling:maven-sling-plugin:2.0.4-incubator or one of
> its dependencies could not be resolved...

I don't think the Stanbol build needs that repository, running "find .
-name pom.xml | xargs grep people.apache.org" at the top of the
Stanbol source tree finds nothing. If you added it to your Maven
settings you can probably remove it.

The org.apache.sling:maven-sling-plugin:2.0.4-incubator artifact is
available on the default Maven central repository, if you need it.

-Bertrand