掲示板

Setting up maven support for eclipse liferay 6.2

thumbnail
7年前 に Naresh Reddy Kallamadi によって更新されました。

Setting up maven support for eclipse liferay 6.2

Regular Member 投稿: 120 参加年月日: 14/07/09 最新の投稿
Hi All,

I am trying to generate maven archetypes for liferay 6.2 using below steps:

1.liferay-maven-plugin downloaded and generated ant install -- done
2.liferay-maven-support-6.2.10.15 downloaded and trying to run mvn install but giving below error:

Can any one help me out?

---
[INFO] Using following parameters for creating project from Archetype: liferay-e
xt-archetype:6.2.10.15
[INFO] -------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: archetype.it
[INFO] Parameter: artifactId, Value: default
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: package, Value: build.archetype
[INFO] Parameter: packageInPathFormat, Value: build/archetype
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: package, Value: build.archetype
[INFO] Parameter: groupId, Value: archetype.it
[INFO] Parameter: artifactId, Value: default
[INFO] 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-cl
asses\projects\default\project\default
[INFO] Comparing generated project with reference content: C:\liferay_tomcat\lif
eray6.2\Maven\liferay-maven-support-6.2.10.15\archetypes\liferay-ext-archetype\t
arget\test-classes\projects\default\reference
[WARNING] Contents of file default-ext\pom.xml are not equal
[WARNING] Contents of file default-ext\src\main\webapp\WEB-INF\liferay-plugin-pa
ckage.properties are not equal
[WARNING] Contents of file default-ext\src\main\webapp\WEB-INF\web.xml are not e
qual
[WARNING] Contents of file default-ext-impl\pom.xml are not equal
[WARNING] Contents of file default-ext-lib-global\pom.xml are not equal
[WARNING] Contents of file default-ext-lib-portal\pom.xml are not equal
[WARNING] Contents of file default-ext-service\pom.xml are not equal
[WARNING] Contents of file default-ext-util-bridges\pom.xml are not equal
[WARNING] Contents of file default-ext-util-java\pom.xml are not equal
[WARNING] Contents of file default-ext-util-taglib\pom.xml are not equal
[WARNING] Contents of file default-ext-web\pom.xml are not equal
[WARNING] Contents of file default-ext-web\src\main\webapp\WEB-INF\liferay-portl
et-ext.xml are not equal
[WARNING] Contents of file default-ext-web\src\main\webapp\WEB-INF\portlet-ext.x
ml are not equal
[WARNING] Contents of file default-ext-web\src\main\webapp\WEB-INF\remoting-serv
let-ext.xml are not equal
[WARNING] Contents of file default-ext-web\src\main\webapp\WEB-INF\struts-config
-ext.xml are not equal
[WARNING] Contents of file default-ext-web\src\main\webapp\WEB-INF\tiles-defs-ex
t.xml are not equal
[WARNING] Contents of file default-ext-web\src\main\webapp\WEB-INF\web.xml are n
ot equal
[WARNING] Contents of file pom.xml are not equal
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Liferay Maven Support .............................. SUCCESS [ 0.893 s]
[INFO] Liferay Maven Archetypes ........................... SUCCESS [ 0.102 s]
[INFO] Liferay Maven Ext Archetype ........................ FAILURE [ 3.868 s]
[INFO] Liferay Maven Hook Archetype ....................... SKIPPED
[INFO] Liferay Maven Layout Template Archetype ............ SKIPPED
[INFO] Liferay Maven Portlet Archetype .................... SKIPPED
[INFO] Liferay Maven Portlet ICEfaces Archetype ........... SKIPPED
[INFO] Liferay Maven Portlet JSF Archetype ................ SKIPPED
[INFO] Liferay Maven Portlet Liferay Faces Alloy Archetype SKIPPED
[INFO] Liferay Maven Portlet PrimeFaces Archetype ......... SKIPPED
[INFO] Liferay Maven Portlet RichFaces Archetype .......... SKIPPED
[INFO] Liferay Maven Portlet Spring MVC Archetype ......... SKIPPED
[INFO] Liferay Maven ServiceBuilder Archetype ............. SKIPPED
[INFO] Liferay Maven Theme Archetype ...................... SKIPPED
[INFO] Liferay Maven Web Archetype ........................ SKIPPED
[INFO] Liferay Maven Plugins .............................. SKIPPED
[INFO] Liferay Maven Plugin ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.051 s
[INFO] Finished at: 2016-08-22T15:17:39+05:30
[INFO] Final Memory: 18M/219M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2
.2:integration-test (default-integration-test) on project liferay-ext-archetype:

[ERROR] Archetype IT 'default' failed: Some content are not equals
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

Thanks,
Naresh.