You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Pavel Gouchtchine <gu...@gmail.com> on 2016/03/23 20:09:54 UTC

Not found dependencies

Hi All,
Including the
<dependency>
        <groupId>org.apache.jmeter</groupId>
        <artifactId>jorphan</artifactId>
        <version>2.13</version>
    </dependency>

or
<dependency>
<groupId>org.apache.jmeter</groupId>
<artifactId>jorphan</artifactId>
<version>2.13</version>
</dependency>
<dependency>
<groupId>org.apache.jmeter</groupId>
<artifactId>ApacheJMeter_core</artifactId>
<version>2.13</version>
</dependency>
<dependency>
<groupId>org.apache.jmeter</groupId>
<artifactId>ApacheJMeter_java</artifactId>
<version>2.13</version>
</dependency>

into my pom.xml

triggers build failure with the following warning and message:

[WARNING] The POM for commons-math3:commons-math3:jar:3.4.1 is missing, no
dependency information available
[WARNING] The POM for commons-pool2:commons-pool2:jar:2.3 is missing, no
dependency information available my pom.xml give these Warnings. Build
fails:

c:\java\projects\webtest\extentions>mvn clean compile
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building extentions 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for commons-math3:commons-math3:jar:3.4.1 is missing, no
dependency information available
[WARNING] The POM for commons-pool2:commons-pool2:jar:2.3 is missing, no
dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.740 s
[INFO] Finished at: 2016-03-23T15:07:50-04:00
[INFO] Final Memory: 9M/102M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project extentions: Could not resolve
dependencies for project
com.ctc.jmeter.extentins:extentions:jar:1.0-SNAPSHOT: The following ar
tifacts could not be resolved: commons-math3:commons-math3:jar:3.4.1,
commons-pool2:commons-pool2:jar:2.3: Failure to find
commons-math3:commons-math3:jar:3.4.1 in htt
ps://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates ar
e forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

What can be wrong?

Re: Not found dependencies

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
This is a known bug fixed in nightly:
https://bz.apache.org/bugzilla/show_bug.cgi?id=57734

You will have to exclude the wrong dependencies and add the correct ones:


<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-math3</artifactId>
    <version>3.4.1</version>
</dependency>
<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-pool2</artifactId>
    <version>2.3</version>
</dependency>


Regards
On Wed, Mar 23, 2016 at 9:07 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

>
>
>
> On Wed, Mar 23, 2016 at 8:09 PM, Pavel Gouchtchine <gu...@gmail.com>
> wrote:
>
>> Hi All,
>> Including the
>> <dependency>
>>         <groupId>org.apache.jmeter</groupId>
>>         <artifactId>jorphan</artifactId>
>>         <version>2.13</version>
>>     </dependency>
>>
>> or
>> <dependency>
>> <groupId>org.apache.jmeter</groupId>
>> <artifactId>jorphan</artifactId>
>> <version>2.13</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.jmeter</groupId>
>> <artifactId>ApacheJMeter_core</artifactId>
>> <version>2.13</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.jmeter</groupId>
>> <artifactId>ApacheJMeter_java</artifactId>
>> <version>2.13</version>
>> </dependency>
>>
>> into my pom.xml
>>
>> triggers build failure with the following warning and message:
>>
>> [WARNING] The POM for commons-math3:commons-math3:jar:3.4.1 is missing, no
>> dependency information available
>> [WARNING] The POM for commons-pool2:commons-pool2:jar:2.3 is missing, no
>> dependency information available my pom.xml give these Warnings. Build
>> fails:
>>
>> c:\java\projects\webtest\extentions>mvn clean compile
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building extentions 1.0-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [WARNING] The POM for commons-math3:commons-math3:jar:3.4.1 is missing, no
>> dependency information available
>> [WARNING] The POM for commons-pool2:commons-pool2:jar:2.3 is missing, no
>> dependency information available
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1.740 s
>> [INFO] Finished at: 2016-03-23T15:07:50-04:00
>> [INFO] Final Memory: 9M/102M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project extentions: Could not resolve
>> dependencies for project
>> com.ctc.jmeter.extentins:extentions:jar:1.0-SNAPSHOT: The following ar
>> tifacts could not be resolved: commons-math3:commons-math3:jar:3.4.1,
>> commons-pool2:commons-pool2:jar:2.3: Failure to find
>> commons-math3:commons-math3:jar:3.4.1 in htt
>> ps://repo.maven.apache.org/maven2 was cached in the local repository,
>> resolution will not be reattempted until the update interval of central
>> has
>> elapsed or updates ar
>> e forced -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e
>> switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>>
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>
>> What can be wrong?
>>
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>


-- 
Cordialement.
Philippe Mouawad.

Re: Not found dependencies

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
This is a known bug fixed in nightly:
https://bz.apache.org/bugzilla/show_bug.cgi?id=57734

You will have to exclude the wrong dependencies and add the correct ones:


On Wed, Mar 23, 2016 at 8:09 PM, Pavel Gouchtchine <gu...@gmail.com>
wrote:

> Hi All,
> Including the
> <dependency>
>         <groupId>org.apache.jmeter</groupId>
>         <artifactId>jorphan</artifactId>
>         <version>2.13</version>
>     </dependency>
>
> or
> <dependency>
> <groupId>org.apache.jmeter</groupId>
> <artifactId>jorphan</artifactId>
> <version>2.13</version>
> </dependency>
> <dependency>
> <groupId>org.apache.jmeter</groupId>
> <artifactId>ApacheJMeter_core</artifactId>
> <version>2.13</version>
> </dependency>
> <dependency>
> <groupId>org.apache.jmeter</groupId>
> <artifactId>ApacheJMeter_java</artifactId>
> <version>2.13</version>
> </dependency>
>
> into my pom.xml
>
> triggers build failure with the following warning and message:
>
> [WARNING] The POM for commons-math3:commons-math3:jar:3.4.1 is missing, no
> dependency information available
> [WARNING] The POM for commons-pool2:commons-pool2:jar:2.3 is missing, no
> dependency information available my pom.xml give these Warnings. Build
> fails:
>
> c:\java\projects\webtest\extentions>mvn clean compile
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building extentions 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for commons-math3:commons-math3:jar:3.4.1 is missing, no
> dependency information available
> [WARNING] The POM for commons-pool2:commons-pool2:jar:2.3 is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.740 s
> [INFO] Finished at: 2016-03-23T15:07:50-04:00
> [INFO] Final Memory: 9M/102M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project extentions: Could not resolve
> dependencies for project
> com.ctc.jmeter.extentins:extentions:jar:1.0-SNAPSHOT: The following ar
> tifacts could not be resolved: commons-math3:commons-math3:jar:3.4.1,
> commons-pool2:commons-pool2:jar:2.3: Failure to find
> commons-math3:commons-math3:jar:3.4.1 in htt
> ps://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates ar
> e forced -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
>
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>
> What can be wrong?
>



-- 
Cordialement.
Philippe Mouawad.