SampleTap
SampleTap copied to clipboard
Reg: SampleTap "pom.xml" error
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
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.
Hello,
is the how-to guide already anywhere available?
Regards, Julian
Andy,
Do you have the guide to build available yet.
Regards Mani
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
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,
Ian
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?
Regards, Aris.
Could anyone please let me know where the steps to run SampleTap are defined and explained?
Thanks
Kavita
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!