Geçenlerde JAXB 2.2.11 yükseltilmiş ve benim Eclipse fark etmiş aşağıdaki iletiyi teselli:sadece Eclipse
10/15/14, 11:42:46 PM GMT+2: [INFO] Creating new launch configuration
10/15/14, 11:42:58 PM GMT+2: [INFO] C:\Projects\workspaces\mj2p\maven-jaxb2-plugin-project\tests\JAXB-1044
10/15/14, 11:42:58 PM GMT+2: [INFO] mvn -B -X -e clean install
10/16/14, 12:09:07 AM GMT+2: [WARN] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.sun.xml.bind:jaxb-impl:2.2.11
[ERROR] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${tools.jar} @
10/16/14, 12:09:07 AM GMT+2: [WARN] The POM for com.sun.xml.bind:jaxb-xjc:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.sun.xml.bind:jaxb-xjc:2.2.11
[ERROR] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${tools.jar} @
10/16/14, 12:09:07 AM GMT+2: [WARN] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.sun.xml.bind:jaxb-core:2.2.11
[ERROR] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${tools.jar} @
Bu bulmaca konsolda bu uyarıyı alamıyorum. Söz konusu pom
da doğru görünüyor. Eminim aynı Maven kurulumunu konsolda ve Eclipse'de (m2e
) kullanıyorum. Depo da doğru gibi görünüyor.
Bilinen bir şey var mı, buna ne sebep olabilir?
bu (neredeyse aynı adlı) soru için bir kopya değil lütfen unutmayın:
Bu soru konsolunda Maven yürütme arasındaki farklılıklar ve hakkındadır Eclipse'den.
com.sun.xml.bind.jaxb-impl
için
Sadece tekrar kontrol: 'JAVA_HOME' doğru ayarlanmış, çalışma alanı, bir JDK ile kurulur. Bunu nasıl ayıklayacağımı tam olarak bilmiyorum. – lexicore
Herhangi bir şans 'mvn: yardım-etkili-pom' çalışır ve eğer öyleyse ne çıktı verir? – Raghuram
Lütfen diğer cevabımı görün. Bu bir Eclipse hatasıdır ('java.home' varsayılan olarak doğru şekilde geçirilmiyor). Benim durumumda – lexicore