レポのリリースを作成しようとしています。私が抱えている問題は、実行するときです
mvn release:prepare -DdryRun= true
親を持つ pom.xml で実行しようとしています。
これは、リリースしようとしている pom.xml です。
...
<parent>
<groupId>com..ehr</groupId>
<artifactId>ehr-common</artifactId>
<version>0.5.0.26</version>
<relativePath> ../../EhrPom/main/pom.xml</relativePath>
</parent>
...
mvn release:prepare -DdryRun= true を実行すると。このエラーが表示されます。
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/com//ehr//0.5.0.26/ehr-
-0.5.0.26.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com..ehr:emergency-login-webapp:2.0.7.0-SNAPSHOT
(/Users/computer1/Documents/computer1_MacBook/depot//-
webapp/main/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact in central (http://repo1.maven.org/maven2) and 'parent.relativePath'
points at wrong local POM @ line 8, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the
following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
この作業を行う前に、親ポンを解放する必要がありますか? これは、私のレポではなくhttp://repo1.maven.org/maven2/からダウンロードしようとしているという事実に起因するものはありますか? どんな助けでも感謝します!