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<
[email protected]> wrote:
Hi,
On Mon, Jul 11, 2011 at 9:34 AM, David Riccitelli
<[email protected]> 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