This error looks pretty straight forward. What exactly are you looking for help with?
Justin On 9/18/10 10:29 AM, Sridhar Laxmipuram Srinivasan wrote: > Hi, > I am trying to execute java maven command thru a php script from browser > > Php script: > <?php > print " > <body bgcolor=black> > <font color=white>"; > system("/home/y/bin/mvn -o -f /home/y/share/htdocs/ugc_cloud_qa/pom.xml > clean"); > print "</font>"; > ?> > > But I always get error like : > NOTE: Maven is executing in offline mode. Any artifacts not already in your > local > repository will be inaccessible. > > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Building ugc_cloud_qa > [INFO] task-segment: [clean] > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error building POM (may not be this project's POM). > > > Project ID: org.apache.maven.plugins:maven-clean-plugin > > Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in > repository: System is offline. > > org.apache.maven.plugins:maven-clean-plugin:pom:2.2 > > > for project org.apache.maven.plugins:maven-clean-plugin > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: < 1 second > [INFO] Finished at: Sat Sep 18 14:28:33 GMT 2010 > [INFO] Final Memory: 2M/38M > [INFO] > ------------------------------------------------------------------------ > > When I execute php script from terminal it executes correctly, problem is > while executing php script from browser, I think path variables are different > in apache when compared to shell. Can anyone please help me resolve this issue > > > thnkx > sridharl > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org