You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by Bansari Shah <ba...@gmail.com> on 2016/10/11 20:11:51 UTC

Unresolved dependency

Hi,
I have cloned incubator-predictionIO_0.10.0, and did
./make-distribution.sh, it generated PredictionIO_0.11.0-SNAPSHOT
directory.

My template is running properly with predictionIO-0.9.7Snapshot in that
case,

build.sbt contains:

"org.apache.predictionio"    %% "core" % "0.9.7-SNAPSHOT" % "provided"

I am trying to build this template with new artifacts. In that case i changed

build.sbt by:

"org.apache.predictionio"    %% "core" % "0.10.0" % "provided",

or

"org.apache.predictionio"    %% "core" % "0.11.0-SNAPSHOT" % "provided",

and

*sbt.version = 0.13.12*

In all of above cases while building with new artifacts, it shows error:

[error] (*:update) sbt.ResolveException: unresolved dependency:
org.apache.predictionio#core_2.10;0.10.0: not found

[error] (*:ssExtractDependencies) sbt.ResolveException: unresolved
dependency: org.apache.predictionio#core_2.10;0.10.0: not found
same in other case of 0.11.0-SNAPSHOT

Please guide me how to solve this dependency issue.

Thank you

Regards,

Bansari

Re: Unresolved dependency

Posted by Bansari Shah <ba...@gmail.com>.
Hi Donald,
Yes, it have been resolved. Thank you.

Regards,
Bansari

On Sun, Oct 23, 2016 at 8:49 PM, Donald Szeto <do...@apache.org> wrote:

> Hi Bansari,
>
> It should have been resolved. The parent artifact is now on Maven. This is
> a bug and should be fixed in build.sbt. Would appreciate any contribution
> if this is something you want to try. :)
>
> Regards,
> Donald
>
> On Friday, October 14, 2016, Bansari Shah <ba...@gmail.com> wrote:
>
>> In continuation to above mail :
>> Getting below error Log:
>>
>> *[info] Resolving
>> org.apache.predictionio#predictionio-parent_2.10;0.10.0-incubating ...*
>> [warn] io problem while parsing ivy file: *https://repo1.maven.org/maven2/org/apache/predictionio/apache-predictionio-core_2.10/0.10.0-incubating/apache-predictionio-core_2.10-0.10.0-incubating.pom
>> <https://repo1.maven.org/maven2/org/apache/predictionio/apache-predictionio-core_2.10/0.10.0-incubating/apache-predictionio-core_2.10-0.10.0-incubating.pom>:
>> Impossible to load parent for
>> file:/Users/bansarishah/.ivy2/cache/org.apache.predictionio/apache-predictionio-core_2.10/ivy-0.10.0-incubating.xml.original.
>> Parent=org.apache.predictionio#predictionio-parent_2.10;0.10.0-incubating*
>> [warn] module not found: org.apache.predictionio#apache
>> -predictionio-core_2.10;0.10.0-incubating
>> [warn] ==== local: tried
>> [warn]   /Users/bansarishah/.ivy2/local/org.apache.predictionio/predi
>> ctionio-parent_2.10/0.10.0-incubating/ivys/ivy.xml
>> [warn] ==== public: tried
>> [warn]   https://repo1.maven.org/maven2/org/apache/predictionio/
>> predictionio-parent_2.10/0.10.0-incubating/predictionio-
>> parent_2.10-0.10.0-incubating.pom
>> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
>> ...
>> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn] ::          UNRESOLVED DEPENDENCIES         ::
>> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn] :: org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
>> not found
>> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>> ...
>> *sbt.ResolveException: unresolved dependency:
>> org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
>> not found*
>>
>> Please guide me how to solve this.
>>
>> Thank you
>> Regards,
>> Bansari
>>
>> On Thu, Oct 13, 2016 at 12:12 PM, Bansari Shah <ba...@gmail.com>
>> wrote:
>>
>>> Hi,
>>> Thank you, i tried with this dependency information with sbt and
>>> relevant dependency information with gradle and maven as well. But still
>>> dependency can't get resolved.
>>>
>>> We are looking in this url: http://search.maven.org/#artif
>>> actdetails%7Corg.apache.predictionio%7Capache-predictionio-c
>>> ore_2.10%7C0.10.0-incubating%7Cjar
>>>
>>> As per observing pom file, It may be case that there is mismatch between
>>> artifactId and version.
>>>
>>>
>>> ​
>>> ​Please have a look at this issue and please let us know if the issue is
>>> a valid one, and what should we do to resolve this.
>>>
>>> Please consider it.
>>>
>>> Thank you
>>>
>>> Regards,
>>> Bansari
>>>
>>> On Wed, Oct 12, 2016 at 2:15 AM, Donald Szeto <do...@apache.org> wrote:
>>>
>>>> Hi Bansari,
>>>>
>>>> For production template, please used release artifacts on the central
>>>> Maven repository: http://search.maven.org/#artifactdetails%7Corg.a
>>>> pache.predictionio%7Capache-predictionio-core_2.10%7C0.10.0-
>>>> incubating%7Cjar
>>>>
>>>> In your case, please use
>>>>
>>>> "org.apache.predictionio"    %% "apache-predictionio-core" %
>>>> "0.10.0-incubating" % "provided"
>>>>
>>>> in your template's build.sbt.
>>>>
>>>> Regards,
>>>> Donald
>>>>
>>>>
>>>> On Tue, Oct 11, 2016 at 1:11 PM, Bansari Shah <ba...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> I have cloned incubator-predictionIO_0.10.0, and did
>>>>> ./make-distribution.sh, it generated PredictionIO_0.11.0-SNAPSHOT
>>>>> directory.
>>>>>
>>>>> My template is running properly with predictionIO-0.9.7Snapshot in
>>>>> that case,
>>>>>
>>>>> build.sbt contains:
>>>>>
>>>>> "org.apache.predictionio"    %% "core" % "0.9.7-SNAPSHOT" % "provided"
>>>>>
>>>>> I am trying to build this template with new artifacts. In that case i changed
>>>>>
>>>>> build.sbt by:
>>>>>
>>>>> "org.apache.predictionio"    %% "core" % "0.10.0" % "provided",
>>>>>
>>>>> or
>>>>>
>>>>> "org.apache.predictionio"    %% "core" % "0.11.0-SNAPSHOT" % "provided",
>>>>>
>>>>> and
>>>>>
>>>>> *sbt.version = 0.13.12*
>>>>>
>>>>> In all of above cases while building with new artifacts, it shows error:
>>>>>
>>>>> [error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>>>>>
>>>>> [error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>>>>> same in other case of 0.11.0-SNAPSHOT
>>>>>
>>>>> Please guide me how to solve this dependency issue.
>>>>>
>>>>> Thank you
>>>>>
>>>>> Regards,
>>>>>
>>>>> Bansari
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>

Re: Unresolved dependency

Posted by Donald Szeto <do...@apache.org>.
Hi Bansari,

It should have been resolved. The parent artifact is now on Maven. This is
a bug and should be fixed in build.sbt. Would appreciate any contribution
if this is something you want to try. :)

Regards,
Donald

On Friday, October 14, 2016, Bansari Shah <ba...@gmail.com> wrote:

> In continuation to above mail :
> Getting below error Log:
>
> *[info] Resolving
> org.apache.predictionio#predictionio-parent_2.10;0.10.0-incubating ...*
> [warn] io problem while parsing ivy file: *https://repo1.maven.org/maven2/org/apache/predictionio/apache-predictionio-core_2.10/0.10.0-incubating/apache-predictionio-core_2.10-0.10.0-incubating.pom
> <https://repo1.maven.org/maven2/org/apache/predictionio/apache-predictionio-core_2.10/0.10.0-incubating/apache-predictionio-core_2.10-0.10.0-incubating.pom>:
> Impossible to load parent for
> file:/Users/bansarishah/.ivy2/cache/org.apache.predictionio/apache-predictionio-core_2.10/ivy-0.10.0-incubating.xml.original.
> Parent=org.apache.predictionio#predictionio-parent_2.10;0.10.0-incubating*
> [warn] module not found: org.apache.predictionio#
> apache-predictionio-core_2.10;0.10.0-incubating
> [warn] ==== local: tried
> [warn]   /Users/bansarishah/.ivy2/local/org.apache.predictionio/
> predictionio-parent_2.10/0.10.0-incubating/ivys/ivy.xml
> [warn] ==== public: tried
> [warn]   https://repo1.maven.org/maven2/org/apache/
> predictionio/predictionio-parent_2.10/0.10.0-incubating/
> predictionio-parent_2.10-0.10.0-incubating.pom
> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
> ...
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] ::          UNRESOLVED DEPENDENCIES         ::
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] :: org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
> not found
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> ...
> *sbt.ResolveException: unresolved dependency:
> org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
> not found*
>
> Please guide me how to solve this.
>
> Thank you
> Regards,
> Bansari
>
> On Thu, Oct 13, 2016 at 12:12 PM, Bansari Shah <bansari.jan93@gmail.com
> <javascript:_e(%7B%7D,'cvml','bansari.jan93@gmail.com');>> wrote:
>
>> Hi,
>> Thank you, i tried with this dependency information with sbt and relevant
>> dependency information with gradle and maven as well. But still dependency
>> can't get resolved.
>>
>> We are looking in this url: http://search.maven.org/#artif
>> actdetails%7Corg.apache.predictionio%7Capache-predictionio-
>> core_2.10%7C0.10.0-incubating%7Cjar
>>
>> As per observing pom file, It may be case that there is mismatch between
>> artifactId and version.
>>
>>
>> ​
>> ​Please have a look at this issue and please let us know if the issue is
>> a valid one, and what should we do to resolve this.
>>
>> Please consider it.
>>
>> Thank you
>>
>> Regards,
>> Bansari
>>
>> On Wed, Oct 12, 2016 at 2:15 AM, Donald Szeto <donald@apache.org
>> <javascript:_e(%7B%7D,'cvml','donald@apache.org');>> wrote:
>>
>>> Hi Bansari,
>>>
>>> For production template, please used release artifacts on the central
>>> Maven repository: http://search.maven.org/#artifactdetails%7Corg.a
>>> pache.predictionio%7Capache-predictionio-core_2.10%7C0.10.0-
>>> incubating%7Cjar
>>>
>>> In your case, please use
>>>
>>> "org.apache.predictionio"    %% "apache-predictionio-core" %
>>> "0.10.0-incubating" % "provided"
>>>
>>> in your template's build.sbt.
>>>
>>> Regards,
>>> Donald
>>>
>>>
>>> On Tue, Oct 11, 2016 at 1:11 PM, Bansari Shah <bansari.jan93@gmail.com
>>> <javascript:_e(%7B%7D,'cvml','bansari.jan93@gmail.com');>> wrote:
>>>
>>>> Hi,
>>>> I have cloned incubator-predictionIO_0.10.0, and did
>>>> ./make-distribution.sh, it generated PredictionIO_0.11.0-SNAPSHOT
>>>> directory.
>>>>
>>>> My template is running properly with predictionIO-0.9.7Snapshot in that
>>>> case,
>>>>
>>>> build.sbt contains:
>>>>
>>>> "org.apache.predictionio"    %% "core" % "0.9.7-SNAPSHOT" % "provided"
>>>>
>>>> I am trying to build this template with new artifacts. In that case i changed
>>>>
>>>> build.sbt by:
>>>>
>>>> "org.apache.predictionio"    %% "core" % "0.10.0" % "provided",
>>>>
>>>> or
>>>>
>>>> "org.apache.predictionio"    %% "core" % "0.11.0-SNAPSHOT" % "provided",
>>>>
>>>> and
>>>>
>>>> *sbt.version = 0.13.12*
>>>>
>>>> In all of above cases while building with new artifacts, it shows error:
>>>>
>>>> [error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>>>>
>>>> [error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>>>> same in other case of 0.11.0-SNAPSHOT
>>>>
>>>> Please guide me how to solve this dependency issue.
>>>>
>>>> Thank you
>>>>
>>>> Regards,
>>>>
>>>> Bansari
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Re: Unresolved dependency

Posted by Bansari Shah <ba...@gmail.com>.
In continuation to above mail :
Getting below error Log:

*[info] Resolving
org.apache.predictionio#predictionio-parent_2.10;0.10.0-incubating ...*
[warn] io problem while parsing ivy file:
*https://repo1.maven.org/maven2/org/apache/predictionio/apache-predictionio-core_2.10/0.10.0-incubating/apache-predictionio-core_2.10-0.10.0-incubating.pom
<https://repo1.maven.org/maven2/org/apache/predictionio/apache-predictionio-core_2.10/0.10.0-incubating/apache-predictionio-core_2.10-0.10.0-incubating.pom>:
Impossible to load parent for
file:/Users/bansarishah/.ivy2/cache/org.apache.predictionio/apache-predictionio-core_2.10/ivy-0.10.0-incubating.xml.original.
Parent=org.apache.predictionio#predictionio-parent_2.10;0.10.0-incubating*
[warn] module not found:
org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating
[warn] ==== local: tried
[warn]
/Users/bansarishah/.ivy2/local/org.apache.predictionio/predictionio-parent_2.10/0.10.0-incubating/ivys/ivy.xml
[warn] ==== public: tried
[warn]
https://repo1.maven.org/maven2/org/apache/predictionio/predictionio-parent_2.10/0.10.0-incubating/predictionio-parent_2.10-0.10.0-incubating.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::
org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
...
*sbt.ResolveException: unresolved dependency:
org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
not found*

Please guide me how to solve this.

Thank you
Regards,
Bansari

On Thu, Oct 13, 2016 at 12:12 PM, Bansari Shah <ba...@gmail.com>
wrote:

> Hi,
> Thank you, i tried with this dependency information with sbt and relevant
> dependency information with gradle and maven as well. But still dependency
> can't get resolved.
>
> We are looking in this url: http://search.maven.org/#
> artifactdetails%7Corg.apache.predictionio%7Capache-
> predictionio-core_2.10%7C0.10.0-incubating%7Cjar
>
> As per observing pom file, It may be case that there is mismatch between
> artifactId and version.
>
>
> ​
> ​Please have a look at this issue and please let us know if the issue is a
> valid one, and what should we do to resolve this.
>
> Please consider it.
>
> Thank you
>
> Regards,
> Bansari
>
> On Wed, Oct 12, 2016 at 2:15 AM, Donald Szeto <do...@apache.org> wrote:
>
>> Hi Bansari,
>>
>> For production template, please used release artifacts on the central
>> Maven repository: http://search.maven.org/#artifactdetails%7Corg.
>> apache.predictionio%7Capache-predictionio-core_2.10%7C0.10.
>> 0-incubating%7Cjar
>>
>> In your case, please use
>>
>> "org.apache.predictionio"    %% "apache-predictionio-core" %
>> "0.10.0-incubating" % "provided"
>>
>> in your template's build.sbt.
>>
>> Regards,
>> Donald
>>
>>
>> On Tue, Oct 11, 2016 at 1:11 PM, Bansari Shah <ba...@gmail.com>
>> wrote:
>>
>>> Hi,
>>> I have cloned incubator-predictionIO_0.10.0, and did
>>> ./make-distribution.sh, it generated PredictionIO_0.11.0-SNAPSHOT
>>> directory.
>>>
>>> My template is running properly with predictionIO-0.9.7Snapshot in that
>>> case,
>>>
>>> build.sbt contains:
>>>
>>> "org.apache.predictionio"    %% "core" % "0.9.7-SNAPSHOT" % "provided"
>>>
>>> I am trying to build this template with new artifacts. In that case i changed
>>>
>>> build.sbt by:
>>>
>>> "org.apache.predictionio"    %% "core" % "0.10.0" % "provided",
>>>
>>> or
>>>
>>> "org.apache.predictionio"    %% "core" % "0.11.0-SNAPSHOT" % "provided",
>>>
>>> and
>>>
>>> *sbt.version = 0.13.12*
>>>
>>> In all of above cases while building with new artifacts, it shows error:
>>>
>>> [error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>>>
>>> [error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>>> same in other case of 0.11.0-SNAPSHOT
>>>
>>> Please guide me how to solve this dependency issue.
>>>
>>> Thank you
>>>
>>> Regards,
>>>
>>> Bansari
>>>
>>>
>>>
>>>
>>
>

Re: Unresolved dependency

Posted by Bansari Shah <ba...@gmail.com>.
Hi,
Thank you, i tried with this dependency information with sbt and relevant
dependency information with gradle and maven as well. But still dependency
can't get resolved.

We are looking in this url:
http://search.maven.org/#artifactdetails%7Corg.apache.predictionio%7Capache-predictionio-core_2.10%7C0.10.0-incubating%7Cjar

As per observing pom file, It may be case that there is mismatch between
artifactId and version.


​
​Please have a look at this issue and please let us know if the issue is a
valid one, and what should we do to resolve this.

Please consider it.

Thank you

Regards,
Bansari

On Wed, Oct 12, 2016 at 2:15 AM, Donald Szeto <do...@apache.org> wrote:

> Hi Bansari,
>
> For production template, please used release artifacts on the central
> Maven repository: http://search.maven.org/#artifactdetails%
> 7Corg.apache.predictionio%7Capache-predictionio-core_2.
> 10%7C0.10.0-incubating%7Cjar
>
> In your case, please use
>
> "org.apache.predictionio"    %% "apache-predictionio-core" %
> "0.10.0-incubating" % "provided"
>
> in your template's build.sbt.
>
> Regards,
> Donald
>
>
> On Tue, Oct 11, 2016 at 1:11 PM, Bansari Shah <ba...@gmail.com>
> wrote:
>
>> Hi,
>> I have cloned incubator-predictionIO_0.10.0, and did
>> ./make-distribution.sh, it generated PredictionIO_0.11.0-SNAPSHOT
>> directory.
>>
>> My template is running properly with predictionIO-0.9.7Snapshot in that
>> case,
>>
>> build.sbt contains:
>>
>> "org.apache.predictionio"    %% "core" % "0.9.7-SNAPSHOT" % "provided"
>>
>> I am trying to build this template with new artifacts. In that case i changed
>>
>> build.sbt by:
>>
>> "org.apache.predictionio"    %% "core" % "0.10.0" % "provided",
>>
>> or
>>
>> "org.apache.predictionio"    %% "core" % "0.11.0-SNAPSHOT" % "provided",
>>
>> and
>>
>> *sbt.version = 0.13.12*
>>
>> In all of above cases while building with new artifacts, it shows error:
>>
>> [error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>>
>> [error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>> same in other case of 0.11.0-SNAPSHOT
>>
>> Please guide me how to solve this dependency issue.
>>
>> Thank you
>>
>> Regards,
>>
>> Bansari
>>
>>
>>
>>
>

Re: Unresolved dependency

Posted by Donald Szeto <do...@apache.org>.
Hi Bansari,

For production template, please used release artifacts on the central Maven
repository:
http://search.maven.org/#artifactdetails%7Corg.apache.predictionio%7Capache-predictionio-core_2.10%7C0.10.0-incubating%7Cjar

In your case, please use

"org.apache.predictionio"    %% "apache-predictionio-core" %
"0.10.0-incubating" % "provided"

in your template's build.sbt.

Regards,
Donald


On Tue, Oct 11, 2016 at 1:11 PM, Bansari Shah <ba...@gmail.com>
wrote:

> Hi,
> I have cloned incubator-predictionIO_0.10.0, and did
> ./make-distribution.sh, it generated PredictionIO_0.11.0-SNAPSHOT
> directory.
>
> My template is running properly with predictionIO-0.9.7Snapshot in that
> case,
>
> build.sbt contains:
>
> "org.apache.predictionio"    %% "core" % "0.9.7-SNAPSHOT" % "provided"
>
> I am trying to build this template with new artifacts. In that case i changed
>
> build.sbt by:
>
> "org.apache.predictionio"    %% "core" % "0.10.0" % "provided",
>
> or
>
> "org.apache.predictionio"    %% "core" % "0.11.0-SNAPSHOT" % "provided",
>
> and
>
> *sbt.version = 0.13.12*
>
> In all of above cases while building with new artifacts, it shows error:
>
> [error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
>
> [error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: org.apache.predictionio#core_2.10;0.10.0: not found
> same in other case of 0.11.0-SNAPSHOT
>
> Please guide me how to solve this dependency issue.
>
> Thank you
>
> Regards,
>
> Bansari
>
>
>
>