问题
Thank you in advance for your help!
I can access the Admin console in Websphere 7 and install the EAR file successfully for a maven project.
I cannot right click on the Websphere 7 server, In Rad 8.5, and select 'Add and Remove'. When I do that, it doesn't show the maven project. Instead, it shows ' There are no resources that can be added or removed from the server'
Any Ideas for how to get it to show up under 'add and remove'?
回答1:
There is a video tutorial provided by IBM as
1. Using Maven Integration Tools in IBM Rational Application Developer, Part 1
This presentation introduces Rational Application Developer and WebSphere Application Server developer tools for Eclipse support for Maven Development.
2. Using Maven Integration Tools in IBM Rational Application Developer, Part 2
This presentation introduces Rational Application Developer and WebSphere Application Server developer tools for Eclipse support for Maven Development. Here we cover project conversion, project configuration, defining dependencies, and running on server.
There is also the PDF version as
Rational Application Developer and M2Eclipse: Maven in the development workbench
This paper explores real-world scenarios using Rational® Application Developer and m2eclipse together.
I hope this may help.
回答2:
Bit late but perhaps still helpfull for those running into this problem. What worked for me?
After a succesfull build on the command line I ran 'mvn eclipse:eclipse' to generate the prefs files for the project to import it smoothly into eclipse/Rad as a 'general project'. After this the wtp-migration tool popped up. I let it run and after correcting some project facet issues in the project properties I could easily see and add the ear module to my WAS7 server.
来源:https://stackoverflow.com/questions/16906938/cannot-add-and-remove-maven-project-with-websphere-7-on-rad-8-5