Hi Grzegorz,

some data dependencies need to be built locally. You need to call

    min clean install

first so that the data modules are built and installed to your local
repository

best
Rupert

On Saturday, August 4, 2018, Grzegorz Trzeciak <gtrzec...@gmail.com> wrote:

> Hi
>
> While running:
> mvn clean package tomcat7:run
> on full-war
>
> I got the following error:
> [ERROR] Failed to execute goal
> org.apache.sling:maven-launchpad-plugin:2.3.2:prepare-package
> (prepare-package) on project org.apache.stanbol.launchers.full-war: Unable
> to find artifact.: Could not find artifact
> org.apache.stanbol:org.apache.stanbol.data.opennlp.ner.en:jar:1.2.0 in
> central (https://repo.maven.apache.org/maven2)
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR]     mvn install:install-file -DgroupId=org.apache.stanbol
> -DartifactId=org.apache.stanbol.data.opennlp.ner.en -Dversion=1.2.0
> -Dpackaging=jar -Dfile=/path/to/file
> [ERROR]
> [ERROR] Alternatively, if you host your own repository you can deploy the
> file there:
> [ERROR]     mvn deploy:deploy-file -DgroupId=org.apache.stanbol
> -DartifactId=org.apache.stanbol.data.opennlp.ner.en -Dversion=1.2.0
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR]
> [ERROR]
>  org.apache.stanbol:org.apache.stanbol.data.opennlp.ner.en:jar:1.2.0
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots,
> releases=false, snapshots=true),
> [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true,
> snapshots=false)
> [ERROR] -> [Help 1]
>
> I couldn't find anywhere in the mentioned repo correct jar files so any
> advice on building and possibly fixing the dependency in the repo would be
> welcomed
>
> Best wishes
>
> Grzegorz
>


-- 
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO
..........................................................................
| http://redlink.co/

Reply via email to