maven倉庫は手動で地元jar経典の方法をインストールして、問題の解決方法と出会います。
mvn install:install-file-Dfile=xml 2 j.jar-DgroupId=comp.xml 2 j-DartifactId=xml 2 j-core-Dversion=2.5.0-Dpackaging=jar
mvn install:install-file
-Dfile jar
-DgroupId
-DartifactId jar
-Dversion
-Dpackaging
PS E:\ \002. \003. · \009. \002. > mvn install:install-file -Dfile=xml2j.jar -DgroupId=com.xml2j -DartifactId=xml2j-core -Dversion=2.5.0 -Dpackaging=jar
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.126 s
[INFO] Finished at: 2019-06-02T09:54:36+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (E:\ \002. \003. · \009. \002. ). Please verify you invoked Maven from the correct directory. -> [Help 1]
[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/MissingProjectException
解決策: , cmd , :
#
e:
#
cd E:\ \002. \003. · \009. \002.
#
mvn install:install-file -Dfile=xml2j.jar -DgroupId=com.xml2j -DartifactId=xml2j-core -Dversion=2.5.0 -Dpackaging=jar
#
E:\ \002. \003. · \009. \002. >mvn install:install-file -Dfile=saxon.jar -DgroupId=com.icl.saxon -DartifactId=saxon -Dversion=6.5.5 -Dpackaging=jar
[INFO] Scanning for projects...
Downloading from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
Downloaded from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom (6.4 kB at 5.5 kB/s)
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
Downloading from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.pom
Downloaded from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.pom (2.5 kB at 8.7 kB/s)
Downloading from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.jar
Downloaded from nexus-aliyun: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.jar (230 kB at 384 kB/s)
[INFO] Installing E:\ \002. \003. · \009. \002. \saxon.jar to C:\Users\troll\.m2\repository\com\icl\saxon\saxon\6.5.5\saxon-6.5.5.jar
[INFO] Installing C:\Users\troll\AppData\Local\Temp\mvninstall4944592553766850504.pom to C:\Users\troll\.m2\repository\com\icl\saxon\saxon\6.5.5\saxon-6.5.5.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.828 s
[INFO] Finished at: 2019-06-02T09:40:11+08:00
[INFO] ------------------------------------------------------------------------
通常はローカルjarパッケージのmaven倉庫アップロードが順調です。今はこの問題だけが発生しています。もし皆さんが異なる問題があったら、コメントエリアにメッセージを残してください。お互いに勉強して処理します。ありがとうございます。