On Sun, May 4, 2014 at 4:16 PM, Raj Janorkar <[email protected]> wrote:
> Hi Chris, > > Thank you for your help... yes you are right it is failing at install > level only, when i run mvn install. > Below are details... > > *JRE 1.7.0.51* > *MAC OS (Mavericks)* > *TOMCAT 6* > */usr/local/apache-rave-0.23* > > - To build the Rave project invoke maven in the root directory ( > */usr/local/apache-rave-0.23*) : > *$mvn install* > * when i run above i get this error* > [ERROR] Failed to execute goal com.googlecode.mavenfilesync: > maven-filesync-plugin:1.0.0:generate (default) on project > rave-shindig-resources: Execution default of goal > com.googlecode.mavenfilesync:maven-filesync-plugin:1.0.0:generate failed: > Plugin com.googlecode.mavenfilesync:maven-filesync-plugin:1.0.0 or one of > its dependencies could not be resolved: Could not transfer artifact > commons-io:commons-io:jar:1.2 from/to central ( > http://repo.maven.apache.org/maven2): repo.maven.apache.org: nodename nor > servname provided, or not known: Unknown host repo.maven.apache.org: > nodename nor servname provided, or not known -> [Help 1] > This error is saying you can't resolve the DNS name for repo.maven.apache.org, that is either a problem with your network (do you have a proxy??) or with the maven site. > > > - from the top-level rave directory, use the command > * $mvn cargo:run -f rave-portal/pom.xml* > You want to run 'mvn cargo:run' from the rave-portal directory but this won't work as long as you are getting errors above. > > *I get below error.* > [ERROR] Failed to execute goal > org.codehaus.cargo:cargo-maven2-plugin:1.4.2:run > (default-cli) on project rave-portal: Execution default-cli of goal > org.codehaus.cargo:cargo-maven2-plugin:1.4.2:run failed: Failed to create > deployable with implementation class > org.codehaus.cargo.container.tomcat.TomcatWAR > for the parameters (container [id = [tomcat6x]], deployable type [war]). > InvocationTargetException: Failed to parse Tomcat WAR file in > [/usr/local/apache-rave-0.23/rave-portal/target/rave-portal-0.23.war]: > Failed to find file > [/usr/local/apache-rave-0.23/rave-portal/target/rave-portal-0.23.war]: > /usr/local/apache-rave-0.23/rave-portal/target/rave-portal-0.23.war (No > such file or directory) -> [Help 1] > > Thank you in advance. > Regards, > Raj > > > On Mon, May 5, 2014 at 12:48 AM, Chris Geer <[email protected]> wrote: > >> Raj, >> >> Thanks for looking at Rave. This is really a question for the users list >> not the dev list so I've moved it over. >> >> I noticed you second error is on the cargo:run goal. That goal won't work >> until you've successfully build the application which I'm assuming you >> haven't? To help you we would really need a lot more information like: >> - What Java version >> - What platform (i.e Windows) >> - What commands are you running when you get each error >> - What directory are you running them from (full path) >> >> Thanks, >> Chris >> >> >> On Sun, May 4, 2014 at 3:31 AM, Raj Janorkar <[email protected]>wrote: >> >>> Sorry About This... >>> >>> Here is one more >>> >>> [INFO] BUILD FAILURE >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [INFO] Total time: 5.225s >>> >>> [INFO] Finished at: Sun May 04 20:26:18 EST 2014 >>> >>> [INFO] Final Memory: 13M/182M >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [ERROR] Failed to execute goal >>> org.codehaus.cargo:cargo-maven2-plugin:1.4.2:run (default-cli) on project >>> rave-portal: Execution default-cli of goal >>> org.codehaus.cargo:cargo-maven2-plugin:1.4.2:run failed: Failed to create >>> deployable with implementation class >>> org.codehaus.cargo.container.tomcat.TomcatWAR for the parameters >>> (container >>> [id = [tomcat6x]], deployable type [war]). InvocationTargetException: >>> Failed to parse Tomcat WAR file in >>> [/usr/local/apache-rave-0.23/rave-portal/target/rave-portal-0.23.war]: >>> Failed to find file >>> [/usr/local/apache-rave-0.23/rave-portal/target/rave-portal-0.23.war]: >>> /usr/local/apache-rave-0.23/rave-portal/target/rave-portal-0.23.war (No >>> such file or directory) -> [Help 1] >>> >>> [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/PluginExecutionException >>> >>> >>> >>> >>> >>> On Sun, May 4, 2014 at 8:13 PM, Raj Janorkar <[email protected]> >>> wrote: >>> >>> > Hi Team, >>> > >>> > Whenever i am trying to install version 0.23 it is failing no matter >>> how >>> > much time i try. And below error i am not understanding what is wrong >>> with >>> > build. >>> > >>> > Could anyone please have look, and please suggest what i need to do to >>> > resolve it. >>> > >>> > Thank you in advance. >>> > >>> > >>> > >>> > [INFO] BUILD FAILURE >>> > >>> > [INFO] >>> > >>> ------------------------------------------------------------------------ >>> > >>> > [INFO] Total time: 17:04.228s >>> > >>> > [INFO] Finished at: Sun May 04 20:03:58 EST 2014 >>> > >>> > [INFO] Final Memory: 56M/254M >>> > >>> > [INFO] >>> > >>> ------------------------------------------------------------------------ >>> > >>> > [ERROR] Failed to execute goal >>> > com.googlecode.mavenfilesync:maven-filesync-plugin:1.0.0:generate >>> (default) >>> > on project rave-shindig-resources: Execution default of goal >>> > com.googlecode.mavenfilesync:maven-filesync-plugin:1.0.0:generate >>> failed: >>> > Plugin com.googlecode.mavenfilesync:maven-filesync-plugin:1.0.0 or one >>> of >>> > its dependencies could not be resolved: Could not transfer artifact >>> > commons-io:commons-io:jar:1.2 from/to central ( >>> > http://repo.maven.apache.org/maven2): repo.maven.apache.org: nodename >>> nor >>> > servname provided, or not known: Unknown host repo.maven.apache.org: >>> > nodename nor servname provided, or not known -> [Help 1] >>> > >>> > [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/PluginResolutionException >>> > >>> > [ERROR] >>> > >>> > [ERROR] After correcting the problems, you can resuresume the build >>> with >>> > the command >>> > >>> > >>> > >>> > Regards, >>> > Raj >>> > >>> > >>> > >>> >> >> >
