Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reg: SampleTap "pom.xml" error #1

Open
subashgandhiece opened this issue Apr 15, 2014 · 8 comments
Open

Reg: SampleTap "pom.xml" error #1

subashgandhiece opened this issue Apr 15, 2014 · 8 comments

Comments

@subashgandhiece
Copy link

Hi,
I have downloaded Sample Tap app from GitHub and that SampleTap-master folder contains install-app.sh and pom.xml ..etc.....So I tried to create sampleTap.jar using "mvn clean install" but it shows the following error .

Could you please someone assist me to integrate sample Tap with ODL and It will be much better if someone publish "README" document (with pre-requisites) and installation steps.

Note: Let me know if any other way to create sampleTap.jar file ? rather than doing mvn clean.

"pom.xml" Output:
root@admin1-Vostro-230:/home/admin1/SampleTap-master# mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.opendaylight.controller:samples.onftappingapp:0.4.2-SNAPSHOT (/home/admin1/SampleTap-master/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.opendaylight.controller:commons.opendaylight:pom:1.4.2-SNAPSHOT in http://www.sparkjava.com/nexus/content/repositories/spark/ was cached in the local repository, resolution will not be reattempted until the update interval of Spark repository has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Regards,
Subash Gandhi

@andrewkpearce
Copy link
Contributor

Subash,

Thanks for your note. Yes. I am in the process of writing a how to guide that tells people where to put the files so they can build the product using maven.

The simple answer is to create a directory that is a peer to samples/simpleforwarding and put the files from guy there. I called mine onftappingapp.

You will also need to download some third party libraries like MongoDB, Javax and google gson. I will post the complete instructions in the next day or so.

Regards
Andy

Sent from my iPhone

On Apr 15, 2014, at 8:57 AM, subashgandhiece [email protected] wrote:

Hi,
I have downloaded Sample Tap app from GitHub and that SampleTap-master folder contains install-app.sh and pom.xml ..etc.....So I tried to create sampleTap.jar using "mvn clean install" but it shows the following error .

Could you please someone assist me to integrate sample Tap with ODL and It will be much better if someone publish "README" document (with prequisites) and installation steps.

Note: Let me know if any other way to create sampleTap.jar file ? rather than doing mvn clean.

"pom.xml" Output:
root@admin1-Vostro-230:/home/admin1/SampleTap-master# mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]

[ERROR] The project org.opendaylight.controller:samples.onftappingapp:0.4.2-SNAPSHOT (/home/admin1/SampleTap-master/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.opendaylight.controller:commons.opendaylight:pom:1.4.2-SNAPSHOT in http://www.sparkjava.com/nexus/content/repositories/spark/ was cached in the local repository, resolution will not be reattempted until the update interval of Spark repository has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Regards,
Subash Gandhi


Reply to this email directly or view it on GitHub.

@JulianTh
Copy link

JulianTh commented May 7, 2014

Hello,

is the how-to guide already anywhere available?

Regards,
Julian

@manimuthiah
Copy link

Andy,

Do you have the guide to build available yet.

Regards
Mani

@chandru85
Copy link

Hi Everyone,

Do you have the guide for integrating the Sample TAP. If not, anyone could please put the steps here?

Thanks and Regards
Chandru

@ianychoi
Copy link

Hello Chandru,

Please see the following 2 folks from this repository
: https://github.com/jjcipher/SampleTap
: https://github.com/ggee/SampleTap/

Those were very helpful to me. I successfully have compiled, executed, and finally now see web user interfaces on the port 4567.
But, I cannot further deep into this program...
I am testing with Mininet+OVS, and I cannot see any detail switch information on the right side.

I would like to write the guide when I solve this current problem...
Could anyone see my problem? Thanks in advance,

image

Ian

@ariscahyadi
Copy link

Hello Ian,

I have the same problem with you? I can configure all the objects but there is nothing appear in right side window and direct capture testing still no luck.

Is it the import statement and pom dependency solve the problem?

image

Regards,
Aris.

@kjai
Copy link

kjai commented Apr 17, 2015

Could anyone please let me know where the steps to run SampleTap are defined and explained?

Thanks

Kavita

@jzybsy
Copy link

jzybsy commented May 13, 2015

Hi,
I download your SampleTap application on github,I change the Opendaylight SNAPSHOT of pom.xml in root directory.Using 1.4.6-SNAPSHOT instead of 1.4.2-SNAPSHOT.Because when I use 1.4.2-SNAPSHOT have this error
Could not transfer artifact org.opendaylight.controller:commons.opendaylight:pom:1.4.2-SNAPSHOT from/to Spark repository:www.sparkjava.com and 'parent.relativePath' points at wrong local POM@line 4,column 11:Unknown host www.sparkjava.com

when I change it,I insert :mvn clean install ,I got BUILD SUCCESS
but when I copy the jar in SampleTap-master/target under opendaylight plugin directory,I find another problem in OpenDaylight OSGi webUI
Now I don't have any way to deal with it,please help me,thank you very much!
Uploading D64329C207241990B4D7B8F8FD64DF72.png…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

9 participants