ws-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sumedha rubasinghe <sumedh...@gmail.com>
Subject Re: Question about Compiling TCPMon src
Date Fri, 05 Feb 2010 02:18:14 GMT
Hi,
Do a 'mvn clean install -Dmaven.test.skip=true' . This will download
the missing jars from online maven repositories & solve your problem.

/sumedha

On Fri, Feb 5, 2010 at 5:27 AM, Sakibul Hasan <sakib.iut@gmail.com> wrote:
> 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.
>

Mime
View raw message