Настройка поддержки maven для eclipse liferay 6.2

Я пытаюсь создать архетипы maven для liferay 6.2, используя следующие шаги:

  1. liferay-maven-plugin скачал и сгенерировал установку муравья - готово
  2. liferay-maven-support-6.2.10.15 загружен и пытается запустить mvn install, но дает ошибку ниже:

Может кто-нибудь мне помочь?

Бревно:

     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

person Naresh Reddy Kallamadi    schedule 23.08.2016    source источник
comment
Не могли бы вы повторно проверить номера версий для артефактов портала и maven, а также для обоих типов: CE или EE?   -  person Shivam Aggarwal    schedule 23.08.2016
comment
Thansk Shivam, Liferay 6.2.10.15 Поддержка EE и maven загружена с Git Tags версии 6.2.10.15   -  person Naresh Reddy Kallamadi    schedule 25.08.2016
comment
Добавлю в качестве ответа для будущих ссылок!   -  person Shivam Aggarwal    schedule 25.08.2016


Ответы (1)


Следует проверить номера версий как для артефактов портала, так и для maven, а также для обоих типов: CE или EE. Несовпадающие версии часто могут приводить к конфликтам при установке артефактов.

person Shivam Aggarwal    schedule 25.08.2016