Search code examples
javaeclipsemavengoogle-glassgoogle-mirror-api

Mirror API in Eclipse


I downloaded the glass-java-starter from github and followed all of the instructions on the glass developers site. I got it imported into Eclipse as a Maven existing project as instructed and I changed the oAuth file ID and Secret as specified. When I try to start the project or debug the project I am getting the following exception: Source not found for http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException. The instructions give a command line command for running the project, $ mvn jetty, but nothing for Eclipse. How do I debug this project with Eclipse?


Solution

  • You will need to use one of the maven plugins available for Eclipse to initiate the run:jetty goal.

    There are a few available. One of them is Eclipse m2e.

    1. Install the plugin
    2. Create a new run configuration of type Maven Build
    3. Specify a goal of jetty:run