Hi Jesse, Looks like ilrndinf01.mercury.co.il must be an intranet system, not accessible outside the HP intranet. in addition to xpp3, I had to manually download another jar. The following steps were successful for me:
1) download and unzip each of: http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-1.1.3.4.O_src.zip http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.2/surefire-junit-2.4.2.jar http://mirror.olnevhost.net/pub/apache/commons/cli/binaries/commons-cli-1.2-bin.zip http://repo2.maven.org/maven2/maven/maven-dependency-plugin/1.0/maven-dependency-plugin-1.0.jar 2) install each of these with the command: mvn install:install-file -DgroupId=xpp3 -DartifactId=xpp3_min -Dversion=1.1.3.4.O -Dpackaging=jar -Dmaven.repo.local=/home/rott/eclipse/HP_repository -Dfile=/home/rott/documents/temp/xpp3/xpp3-1.1.3.4.O/xpp3_min-1.1.3.4.O.jar 3) mvn -o -Dmaven.repo.local=/home/rott/eclipse/HP_repository install For #2 and #3, the -Dmaven.repo.local flag is optional, depending on your environment. For #3, the -o flag means 'offline' so the build won't try to go grab the jars we already know it can't find. This got me past those problems, but then I ran into this: [INFO] ------------------------------------------------------------------------ [INFO] Building WebDAV:2.0-SNAPSHOT [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-dependency-plugin Reason: POM 'org.apache.maven.plugins:maven-dependency-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-dependency-plugin:pom:2.0 for project org.apache.maven.plugins:maven-dependency-plugin So I commented out the symphony-examples module and ran into a similar problem with maven-antrun-plugin, so I commented out symphony-sdk-scripts module in pom.xml. Incidentally, I tried to install these two plugins 'by-hand' but I must have done something wrong... so for now, it was just easier to comment out those modules. My build and tests are good now, but of course I'm not building these two modules. mike Mike Rheinheimer (512) 838-0086 t/l 678-0086 WebSphere WebService Core Engine Team |------------> | From: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Jesse A Ramos/Austin/i...@ibmus | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |[email protected] | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |06/09/2009 05:29 PM | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Re: [jira] Updated: (WINK-2) HP REST SDK contribution | >--------------------------------------------------------------------------------------------------------------------------------------------------| Hi, I started to take a look at the Symphony JAX-RS runtime and encountered some errors when running mvn install. Downloading: http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/xp p3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.pom [WARNING] Unable to get resource 'xpp3:xpp3_min:pom:1.1.3.4.O' from repository c entral (http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public): Error transferring file: Operation timed out: connect:could be due to invalid address Downloading: http://repository.codehaus.org/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1 .3.4.O.pom [INFO] Unable to find resource 'xpp3:xpp3_min:pom:1.1.3.4.O' in repository codeh aus-repository (http://repository.codehaus.org) Downloading: http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/or. g/codehaus/plexus/plexus-interpolation/1.2/plexus-interpolation-1.2.pom [WARNING] Unable to get resource 'org.codehaus.plexus:plexus-interpolation:pom:1 .2' from repository central (http://ilrndinf01.mercury.co.il:8081/nexus/content/ groups/public): Error transferring file: Operation timed out: connect:could be d ue to invalid address Downloading: http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/xp p3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar Downloading: http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public/or g/codehaus/plexus/plexus-interpolation/1.2/plexus-interpolation-1.2.jar [WARNING] Unable to get resource 'xpp3:xpp3_min:jar:1.1.3.4.O' from repository c entral (http://ilrndinf01.mercury.co.il:8081/nexus/content/groups/public): Error transferring file: Operation timed out: connect:could be due to invalid address Downloading: http://repository.codehaus.org/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1 .3.4.O.jar [WARNING] Unable to get resource 'org.codehaus.plexus:plexus-interpolation:jar:1 .2' from repository central (:http://ilrndinf01.mercury.co.il:8081/nexus/content/ groups/public): Error transferring file: Operation timed out: connect:could be d ue to invalid address [INFO] Unable to find resource 'xpp3:xpp3_min:jar:1.1.3.4.O' in repository codeh aus-repository (http://repository.codehaus.org) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Any help is appreciated. I've started looking at some of the implementation and would like to take the runtime for a test drive. "Eli Baram (JIRA)" <[email protected]> 06/04/2009 11:25 AM Please respond to [email protected] To [email protected] cc Subject [jira] Updated: (WINK-2) HP REST SDK contribution [ https://issues.apache.org/jira/browse/WINK-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Baram updated WINK-2: ------------------------- Attachment: HP_REST_SDK_readme.txt HP_REST_SDK.zip Attached is a zip file containing the sources HP contributes to the Apache Wink project. Symphony is the project name used internally in HP. The best way to understand what Symphony provides is to read the "Symphony_SDK_2.0_Features_List.pdf" located in src\doc\DeveloperGuide directory. System requirements ==================== ? Java 1.5 and above ? Maven 2.0.9 and above *Note*: Symphony is built using maven. All the ant build.xml files located under the examples directories, are aimed to run from the symphony distribution only and not from the development environment (see "Symphony distribution") How to build Symphony with maven ================================ Run "mvn install" from the Symphony root directory. This will build all the Symphony jars and examples and install symphony runtime jars into the local maven repository. Note that it may take a while for all dependency jars to be downloaded from the maven repository. How to run Symphony Server examples =================================== Run "mvn jetty:run-war" from the desired server example directory. Read the readme.txt file of the example to understand its functionality. How to run Symphony Client examples =================================== Build and unzip the distribution zip file (see "Symphony distribution" section). Run "ant" from the desired example directory. This will create an executable jar. Read the example readme.txt for detailed instructions. Symphony distribution file ========================== The Symphony distribution is a zip file containing the entire Symphony project in an easy to use structure. In order to build Symphony distribution: 1. cd to the root folder and first run "mvn install" and then run "mvn javadoc:javadoc". 2. cd to the symphony-sdk-scripts\symphony-sdk-dist folder and run "mvn antrun:run". The Symphony distribution file will be created under the symphony-sdk-scripts\symphony-sdk-dist\target directory. Symphony site ============= Symphony provides a site which includes detailed project information and runtime reports such as Unit Tests, coverage and dependency reports. To generate the Symphony site run "mvn site-deploy -Dsite.deploy.dir=<SITE_DIR>" Where SITE_DIR is the location for the generated site. > HP REST SDK contribution > ------------------------- > > Key: WINK-2 > URL: https://issues.apache.org/jira/browse/WINK-2 > Project: Wink > Issue Type: New Feature > Reporter: martin snitkovsky > Attachments: HP_REST_SDK.zip, HP_REST_SDK_readme.txt > > > This issue will host the HP REST SDK codebase - JAX-RS implementation and a REST client framework. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
