English 中文(简体)
ven类包装是什么?
原标题:What does maven do with a bogus packaging type?
  • 时间:2011-11-08 15:51:32
  •  标签:
  • maven

我通过学习一个相当复杂的马文建筑,走我的道路。 I ve发现一个单元,它使用“底线-战争”的细菌包装类型。 如果我执行的话:

mvn -e -X clean install

因此:

[DEBUG] Error looking up lifecycle mapping to retrieve optional mojos. Lifecycle 
  ID: clean. Error: Component descriptor cannot be found in the component repository:
  org.apache.maven.lifecycle.mapping.LifecycleMappingcustom-war.

然而,它似乎要走下去,执行干净的:清洁,所以它必须就哪些目标进行规划。 谁能对ven子包装类型中的 decision子决策提供某种了解?

我认为,我应该补充说,这一习俗模式似乎是“界定它本身具有违约生命周期的约束性”;我发现了一个组成部分xml文件,确定对违约生命周期各阶段具有约束力的目标。 鉴于这一点,该错误似乎抱怨说,没有宣布有干净的约束力,但该构成部分的形式似乎并不支持。

问题回答

<代码>clean 阶段一直到完成,因为与这一阶段相关的目标独立于包装。

What should be done in response to the command mvn install on the other hand is predicated on the packaging. Maven encountered an unknown packaging of "custom-war" and so it threw its hands up.





相关问题
JavaFX with Maven [closed]

I recently started a JavaFX project, and I d like to use Maven as my compiler/deployment tool. Is there a good tutorial or plugin to integrate JavaFX and Maven?

How to upload jar to respository?

I have jar files that cannot be found on Maven Central repository. I would like to add the jar so I can just include extra tag in my pom.xml file and other developer can use the jar. What are the ...

Debug Maven project in Eclipse with third party sources

I am currently developing a maven project in eclipse. The m2eclipse plugin works beautifully. It even works out of the box with debugging. But when I am debugging open source third party libarries. ...

Could Free Pascal benefit of something like Apache Maven?

Apache Maven is a very popular build and dependency management tool in the Java open source ecosphere. I did some tests to find out if it can handle compiled Free Pascal / Delphi units and found it ...

Run a single test method with maven

I know you can run all the tests in a certain class using: mvn test -Dtest=classname But I want to run an individual method and -Dtest=classname.methodname doesn t seem to work.

Uploading a directory using sftp with Maven

How can I upload a directory - Eclipse update site - using sftp with public key authentication in Maven? For background information: I m using tycho to build an Eclipse plugin and want to get the ...

What are solid NMaven or build servers for .NET alternatives?

Maven had a long history and is well supported in the Java world. NMaven has received a less successful start and has never become as popular in the C#/.NET world as its larger cousin was in the Java ...

热门标签