Я пытаюсь следовать инструкциям на этом сайте:Maven не может найти местную Зависимость от
http://trac.erichseifert.de/warp/wiki/DeveloperGuide
Я получил весь источник - и сделал МВНА установить на оба mpqparser и vectorgraphics2d - тогда я иду в Граля папку - и попробуйте запустить его, я встретился с этой ошибкой:
> $ mvn install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
de.erichseifert.gral:GRAL:jar:0.8
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-
changelog-plugin is missing. @ line 143, column 17
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GRAL Graphing Library 0.8
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for de.erichseifert.vectorgraphics2d:VectorGraphics2D:jar:0.6
is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.329s
[INFO] Finished at: Sun Apr 22 00:18:13 BST 2012
[INFO] Final Memory: 3M/122M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project GRAL: Could not resolve dependencies f
or project de.erichseifert.gral:GRAL:jar:0.8: Failure to find de.erichseifert.ve
ctorgraphics2d:VectorGraphics2D:jar:0.6 in http://repo.maven.apache.org/maven2 w
as cached in the local repository, resolution will not be reattempted until the
update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
Я полагаю, он пытается загрузить банку, который был только что построенной в папке vectorgraphics2D - но я не уверен, если инструкции вики отсутствует шаг, или если что-то ng необходимо установить.
pom.xml для Грали имеет следующее как его зависимости заявление:
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>de.erichseifert.vectorgraphics2d</groupId>
<artifactId>VectorGraphics2D</artifactId>
<version>0.6</version>
<optional>true</optional>
</dependency>
</dependencies>
Пожалуйста, может кто-нибудь помочь мне через это - это мой первый опыт мавенны!
Что находится в '~/.m2/repository/de/erichseifert/vectorgraphics2d'? –
папка с именем VectorGraphics2D/различные вещи - например 0,6/и 0,9-SNAPSHOT/и maven-metadata-local – RenegadeAndy
и что такое 'VectorGraphics2D/0.6'? –