Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

antrun not found

The "WCB: Java development" forum contains threads on issues that are related to Java while programming a WCB (WebManager Component Bundle). If you have questions that have impact on Java code, post them in this forum. Some example topics: authorization, the different component types, setting up component dependencies, data access, and so forth.

Answered
Not marked as answered yet

Forums  >  WCB: Java development  >  antrun not found


Author antrun not found
Michiel76


Posts: 7

Posted: 27-11-2009 12:15

Hi there,
I'm following the Quickstart Eclipse guide and I'm trying to add the copy action to the pom.xml of my project. I added the xml to the pom.xml (like on page 24) and try to run it but i got the following result:

[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-antrun-plugin
Reason: POM 'org.apache.maven.plugins:maven-antrun-plugin' not found in repository: System is offline.
org.apache.maven.plugins:maven-antrun-plugin:pom:1.1
for project org.apache.maven.plugins:maven-antrun-plugin



When I remove the xml form the pom, everything works like it should. Any ideas, hints or tips? Btw, i'm pretty new to maven en eclipse :)

williamb



Posts: 224

Posted: 27-11-2009 19:24 Solved

Hi Michiel,

If you change the setting of <offline>true</offline> to <offline>false</offline> in the settings.xml you are building your WCB with, you'll see a file being downloaded.

This download is the antrun-plugin. After that one is downloaded, the project will build successfully.

You can put the setting back to 'true' if you want after that, the file is already installed into you local maven-repo.

-William
p.s. If this solves your issue, please mark it as solved.

Back to top

New message: "antrun not found"
Message:
bold boitalicd underline url quote code smile cool eek grin mad razz sad wink
 
© 2010 GX creative online development B.V.

Disclaimer

This website (GXdeveloperweb.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.