On Sat, Jan 16, 2010 at 11:47 AM, Dennis Lundberg <[email protected]> wrote: > See inline below for the reason for this. > > Where is this BUILD-JAVA that you refer to? Can you provide a URL so > that we can get it updated.
Sure, it's in your subversion repository, see http://svn.apache.org/repos/asf/incubator/shindig/trunk/BUILD-JAVA > Joe Corneli wrote: >> Following the directions in the BUILD-JAVA in the section on >> "Building a Maven Site with Reports", I run into the following >> problem. Instead of installing locally, Maven hits people.apache.org >> to try to install there. (I'm confused about a number of the >> points in BUILD-JAVA, but this one is pretty key.) >> >> I can provide the full debugging trace if you're interested; >> excerpts below. >> >> % sudo mvn -X -e clean install site:site site:deploy > > Here's the reason. When you do "site-deploy" Maven will try to deploy > the site of the project to *production* server. That is similar to doing > "deploy:deploy" for the project artifacts. The production site is > usually uploaded to people.a.o for ASF projects. If you want to try the > site locally "site:site" will usually be enough. I tried that and now I'm getting a different error: ~/java-src/shindig$ sudo mvn -X -e clean install site:site -Dsite.localurl=file:///home/joe/public_html/shindig -Dproject.url=/shindig [sudo] password for joe: + Error stacktraces are turned on. Apache Maven 2.2.1 (rdebian-1) Java version: 1.6.0_0 Java home: /usr/lib/jvm/java-6-openjdk/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "2.6.31-17-generic" arch: "i386" Family: "unix" [DEBUG] Building Maven user-level plugin registry from: '/root/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/usr/share/maven2/conf/plugin-registry.xml' [INFO] Scanning for projects... [...] [DEBUG] compress file :/home/joe/java-src/shindig/features/target/classes/features/opensocial-jsonrpc/jsonrpccontainer.js to /home/joe/java-src/shindig/features/target/classes/features/opensocial-jsonrpc/jsonrpccontainer.opt.js [DEBUG] only compress if input file is youger than existing output file [DEBUG] use a temporary outputfile (in case in == out) [DEBUG] start compression [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [DEBUG] Trace java.lang.RuntimeException at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:299) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
