Cucumber pom.xml | Selenium Forum
M
Posted on 31/01/2016
After add the below tag in pom.xml then it is hitting error

<parent>
<artifactId>Salesforce-Project</artifactId>
<groupId>test.qtpselenium.salesforce</groupId>
<version>1.1.2</version>
</parent>


[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.qtpselenium.app.salesforce:SalesForce-
App-Project:1.0-SNAPSHOT: Failure to find com.qtpselenium.app.salesforce:Salesfo
rce-Project:pom:1.1.2 in https://repo.maven.apache.org/maven2 was cached in the
local repository, resolution will not be reattempted until the update interval o
f central has elapsed or updates are forced and 'parent.relativePath' points at
wrong local POM @ line 6, column 11

M
Replied on 01/02/2016

what is the name of the project you are running?


M
Replied on 01/02/2016

[quote="mmohan":2qn06bm8]After add the below tag in pom.xml then it is hitting error

<parent>
<artifactId>Salesforce-Project</artifactId>
<groupId>test.qtpselenium.salesforce</groupId>
<version>1.1.2</version>
</parent>


[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.qtpselenium.app.salesforce:SalesForce-
App-Project:1.0-SNAPSHOT: Failure to find com.qtpselenium.app.salesforce:Salesfo
rce-Project:pom:1.1.2 in https://repo.maven.apache.org/maven2 was cached in the
local repository, resolution will not be reattempted until the update interval o
f central has elapsed or updates are forced and 'parent.relativePath' points at
wrong local POM @ line 6, column 11[/quote:2qn06bm8][quote="mmohan":2qn06bm8]After add the below tag in pom.xml then it is hitting error

<parent>
<artifactId>Salesforce-Project</artifactId>
<groupId>test.qtpselenium.salesforce</groupId>
<version>1.1.2</version>
</parent>


[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.qtpselenium.app.salesforce:SalesForce-
App-Project:1.0-SNAPSHOT: Failure to find com.qtpselenium.app.salesforce:Salesfo
rce-Project:pom:1.1.2 in https://repo.maven.apache.org/maven2 was cached in the
local repository, resolution will not be reattempted until the update interval o
f central has elapsed or updates are forced and 'parent.relativePath' points at
wrong local POM @ line 6, column 11[/quote:2qn06bm8]


M
Replied on 01/02/2016

SalesForce-App-Project is the project name.


I am unable to add parent tag.

what is the need of this parent tag?


M
Replied on 01/02/2016

Please fnd screen shot

Responsive image

M
Replied on 02/02/2016

are you using any proxy?


M
Replied on 06/02/2016

No .i am not using any proxy Responsive image .

But i am able to run the tests without parent tag also.

what is the need of this parent tag.

and how should i run the tests with parent tag? pls help


M
Replied on 07/02/2016

to understand parent tag go thorough this

https://maven.apache.org/guides/introduction/introduction-to-the-pom.html

you can get rid of it.