2014-03-13 15 views
1

任何一個可以幫助擺脫這種:Maven的錯誤:在Windows系統中的artifactId不能爲空

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2. 
4:assembly (bin-assembly) on project ingest-scripts: Execution bin-assembly of g 
oal org.apache.maven.plugins:maven-assembly-plugin:2.4:assembly failed: For arti 
fact {rome:null:null:jar}: The artifactId cannot be empty. -> [Help 1] 
+1

可以添加你的pom.xml –

+0

對沒錯https://drive.google.com/file/d/0B_x2i7h_GC-VM0l1aWhncXNLTzQ/edit?usp=sharing – user3176280

+0

@KarthikPrasad你有什麼想法 – user3176280

回答

0

也許是因爲你忘了組ID

<plugin> 
     <groupId>org.apache.maven.plugins</groupId> 
    <artifactId>maven-assembly-plugin</artifactId> 
    <version>2.4</version> 
    </plugin> 

這只是一個猜測! 請告訴我,如果它以這種方式工作...

+0

嗨,它沒有工作 – user3176280

+0

它沒有工作... @ – user3176280