我正在尝试使用以下步骤为liferay 6.2生成maven原型:
任何人都可以帮助我吗?
日志:
Using following parameters for creating project from Archetype: liferay-e
xt-archetype:6.2.10.15
Parameter: groupId, Value: archetype.it
Parameter: artifactId, Value: default
Parameter: version, Value: 1.0.0-SNAPSHOT
Parameter: package, Value: build.archetype
Parameter: packageInPathFormat, Value: build/archetype
Parameter: version, Value: 1.0.0-SNAPSHOT
Parameter: package, Value: build.archetype
Parameter: groupId, Value: archetype.it
Parameter: artifactId, Value: default
project created from Archetype in dir: C:\liferay_tomcat\liferay6.2\Maven\liferay-maven-support-6.2.10.15\archetypes\liferay-ext- archetype\target\test-classes\projects\default\project\default
Comparing generated project with reference content: C:\liferay_tomcat\liferay6.2\Maven\liferay-maven-support-6.2.10.15\archetypes\liferay-ext-archetype\target\test-classes\projects\default\reference
Contents of file default-ext\pom.xml are not equal
Contents of file default-ext\src\main\webapp\WEB-INF\liferay-plugin-package.properties are not equal
Contents of file default-ext\src\main\webapp\WEB-INF\web.xml are not equal
Contents of file default-ext-impl\pom.xml are not equal
Contents of file default-ext-lib-global\pom.xml are not equal
Contents of file default-ext-lib-portal\pom.xml are not equal
Contents of file default-ext-service\pom.xml are not equal
Contents of file default-ext-util-bridges\pom.xml are not equal
Contents of file default-ext-util-java\pom.xml are not equal
Contents of file default-ext-util-taglib\pom.xml are not equal
Contents of file default-ext-web\pom.xml are not equal
Contents of file default-ext-web\src\main\webapp\WEB-INF\liferay-portl et-ext.xml are not equal
Contents of file default-ext-web\src\main\webapp\WEB-INF\portlet-ext.xml are not equal
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test (default-integration-test) on project liferay-ext-archetype:
Archetype IT 'default' failed: Some content are not equals
-> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e swit
答案 0 :(得分:0)
应检查门户和maven工件的版本号,如果两者都是CE或EE。安装工件时,不匹配的版本通常会导致冲突。