Return-Path: Delivered-To: apmail-ws-commons-dev-archive@minotaur.apache.org Received: (qmail 4461 invoked from network); 5 Feb 2010 02:00:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 02:00:04 -0000 Received: (qmail 88288 invoked by uid 500); 5 Feb 2010 02:00:04 -0000 Delivered-To: apmail-ws-commons-dev-archive@ws.apache.org Received: (qmail 88200 invoked by uid 500); 5 Feb 2010 02:00:03 -0000 Mailing-List: contact commons-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commons-dev@ws.apache.org Delivered-To: mailing list commons-dev@ws.apache.org Delivered-To: moderator for commons-dev@ws.apache.org Received: (qmail 10358 invoked by uid 99); 4 Feb 2010 23:57:33 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sakib.iut@gmail.com designates 209.85.223.199 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=VxKmjTrlv3qFSf6QmzSmB/efZYifpXuUVUqSe/+KH/o=; b=RgmnPT7wljvkyS0cg7cL+GfIvAp+Zks47lGY2rK53WGOgAzpuY1cnDC9gl4qMhacmj Zz0vd6uDHUbV1bpdt/6HbZM9ZU7nr8ELu4658s3LLtrzH8WjxEnQ9FYLAQ9BEnU0wKgm L6g+/wqfxFnPfsEFEQZ3lo+MK8vHlFxRnuiSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uvISHUrc8LT3sKFswn9/AiCapeCT9b+22GATV9xWI5q3d0DDHwTIpMeJYAKnQxdfXI qHUKJHDlBW5g+691C0ESfOPEjKuHPN251B9Zdjo5Lw/M81DDVDSWdwSXrxmL2YnqL79l e1k+AsW13goYFDMtg+8aoz6hrhLzZjkbYNea4= MIME-Version: 1.0 Date: Thu, 4 Feb 2010 18:57:04 -0500 Message-ID: <9f4336811002041557k412e91e2lb8877a5cb5e74437@mail.gmail.com> Subject: Question about Compiling TCPMon src From: Sakibul Hasan To: infrastructure@apache.org, commons-dev@ws.apache.org, Hamza UWO Content-Type: multipart/alternative; boundary=0050450163337aadd6047ecf1799 --0050450163337aadd6047ecf1799 Content-Type: text/plain; charset=ISO-8859-1 Hi, I got the source code from the following link which was given by you. The link is: http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/tcpmon/ I have used "mvn package" command to build jar file from source code. It is showing an error. I am new in maven but I have used ant previously. If you can give me some instructions for compiling the source code, then it would be a great help. *Error:* [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 7 source files to /home/sakib/tcpmon-src/modules/tcpmon-eclipse-plugin/target/classes [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/sakib/tcpmon-src/modules/tcpmon-eclipse-plugin/src/test/resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] No tests to run. [INFO] [bundle:bundle {execution: default-bundle}] [WARNING] Warning building bundle org.apache.ws.commons.tcpmon:tcpmon-eclipse-plugin:bundle:SNAPSHOT : Instructions in Export-Package that are never used: org\.apache\.ws\.commons\.tcpmon\.core [WARNING] Warning building bundle org.apache.ws.commons.tcpmon:tcpmon-eclipse-plugin:bundle:SNAPSHOT : Superfluous export-package instructions: [org.apache.ws.commons.tcpmon.core] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache TCPMon - IntelliJ IDEA plugin [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/sakib/tcpmon-src/modules/tcpmon-idea-plugin/src/main/resources Downloading: http://repo1.maven.org/maven2/com/intellij/openapi/5.0/openapi-5.0.pom Downloading: http://repo1.maven.org/maven2/com/intellij/openapi/5.0/openapi-5.0.jar [WARNING] Unable to get resource 'com.intellij:openapi:jar:5.0' from repository central (http://repo1.maven.org/maven2): GET request of: com/intellij/openapi/5.0/openapi-5.0.jar from central failed [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) com.intellij:openapi:jar:5.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.intellij -DartifactId=openapi -Dversion=5.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.intellij -DartifactId=openapi -Dversion=5.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.ws.commons.tcpmon:tcpmon-idea-plugin:jar:SNAPSHOT 2) com.intellij:openapi:jar:5.0 ---------- 1 required artifact is missing. for artifact: org.apache.ws.commons.tcpmon:tcpmon-idea-plugin:jar:SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Thanks. -- Md. Sakibul Hasan M.Sc Student Dept. of Computer Science The University of Western Ontario London, ON Canada. --0050450163337aadd6047ecf1799--