<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Maven: No Snapshot allowed in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322716#M9717</link>
    <description>&lt;P&gt;I've stepped back to 5.8 sdk. Now currently everything works as expected.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2013 13:44:53 GMT</pubDate>
    <dc:creator>Edgar_</dc:creator>
    <dc:date>2013-11-21T13:44:53Z</dc:date>
    <item>
      <title>Maven: No Snapshot allowed</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322715#M9716</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;currently I'm using the 5.9.1-SNAPSHOT sdk to package the preview/conversion support for a new doc type. My target is to distribute the 'nuxeo-platform-preview' - feature with the new package. When I compile the project I get the following build errors (see below). I'm aware that these errors are produced by the dependencies to the preview feature, but I don't really know, how to deal with these messages. Is the previewing feature under major construction? Is it by design to manually copy the previewer to nuxeo bundles? Should I have a dependency error in my project's pom file? Should I go back to the latest stable version for testing the package?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[..]

[INFO] [enforcer:enforce {execution: enforce-versions}]
[WARNING] Rule 2: org.apache.maven.plugins.enforcer.RequireReleaseDeps failed with message:
No Snapshots Allowed!
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-directory-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-placeful-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-forms-layout-core:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.runtime:nuxeo-runtime-jtajca:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-convert:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-versioning-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-convert:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-commandline-executor:jar:5.9.1-SNAPSHO
T
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-types-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-contentview-jsf:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-schema:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.runtime:nuxeo-runtime:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-web-common:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.runtime:nuxeo-runtime-osgi:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-filemanager-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-forms-layout-client:jar:5.9.1-SNAPSHOT

Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.runtime:nuxeo-runtime-reload:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-filemanager-core:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-query:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-io:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-usermanager-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-login:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.runtime:nuxeo-runtime-management:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.common:nuxeo-common:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-ui-web:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-webapp-base:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-ui-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-htmlsanitizer:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-search-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-forms-layout-io:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-event:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.runtime:nuxeo-launcher-commons:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.theme:nuxeo-theme-core:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-el:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.runtime:nuxeo-runtime-metrics:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-preview:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-storage-sql:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-actions-core:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-mimetype-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.runtime:nuxeo-runtime-deploy:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-management:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-forms-layout-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-url-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.core:nuxeo-core-convert-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-query-api:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.ecm.platform:nuxeo-platform-actions-jsf:jar:5.9.1-SNAPSHOT
Found Banned Dependency: org.nuxeo.theme:nuxeo-theme-fragments:jar:5.9.1-SNAPSHOT
Use 'mvn dependency:tree' to locate the source of the banned dependencies.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Some Enforcer rules have failed. Look above for specific messages explaining why the rule fail
ed.

[..]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2013 12:04:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322715#M9716</guid>
      <dc:creator>Edgar_</dc:creator>
      <dc:date>2013-11-18T12:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Maven: No Snapshot allowed</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322716#M9717</link>
      <description>&lt;P&gt;I've stepped back to 5.8 sdk. Now currently everything works as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:44:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322716#M9717</guid>
      <dc:creator>Edgar_</dc:creator>
      <dc:date>2013-11-21T13:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Maven: No Snapshot allowed</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322717#M9718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The enforcer plugin complains about SNAPSHOT dependencies on a release: which means that your are building a non-SNAPSHOT artifact which depends on Nuxeo SNAPSHOT artifacts. That's obviously wrong since your build won't be reproducible.&lt;BR /&gt; /&amp;gt;
Depending on your development use case, there are various other recommended ways.&lt;/P&gt;
&lt;P&gt;Given the output, you are reusing Nuxeo compile rules for your own project (by Maven inheritance). Ideally, you should have your own corporate POM (copying most of the plugins and pluginManagement Nuxeo configuration) and only import the Nuxeo dependencies: see &lt;A href="https://github.com/nuxeo/nuxeo-marketplace-sample/blob/master/marketplace/pom.xml"&gt;https://github.com/nuxeo/nuxeo-marketplace-sample/blob/master/marketplace/pom.xml&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;With your current inheritance of Nuxeo POM, you can deactivate the constraint on Nuxeo artifacts with such a configuration (see &lt;A href="http://maven.apache.org/enforcer/enforcer-rules/index.html"&gt;http://maven.apache.org/enforcer/enforcer-rules/index.html&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;plugin&amp;gt;
  &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;
  &amp;lt;artifactId&amp;gt;maven-enforcer-plugin&amp;lt;/artifactId&amp;gt;
  &amp;lt;version&amp;gt;1.0.1&amp;lt;/version&amp;gt;
  &amp;lt;configuration&amp;gt;
    &amp;lt;rules&amp;gt;
      &amp;lt;requirePluginVersions&amp;gt;
        &amp;lt;message&amp;gt;Set plugin versions in pluginManagement section.&amp;lt;/message&amp;gt;
        &amp;lt;banLatest&amp;gt;true&amp;lt;/banLatest&amp;gt;
        &amp;lt;banRelease&amp;gt;true&amp;lt;/banRelease&amp;gt;
        &amp;lt;banSnapshots&amp;gt;true&amp;lt;/banSnapshots&amp;gt;
        &amp;lt;!-- &amp;lt;unCheckedPluginList&amp;gt;org.nuxeo.build:nuxeo-distribution-tools&amp;lt;/unCheckedPluginList&amp;gt; --&amp;gt;
      &amp;lt;/requirePluginVersions&amp;gt;
      &amp;lt;requireReleaseDeps&amp;gt;
        &amp;lt;message&amp;gt;No Snapshots Allowed!&amp;lt;/message&amp;gt;
        &amp;lt;onlyWhenRelease&amp;gt;true&amp;lt;/onlyWhenRelease&amp;gt;
        &amp;lt;excludes&amp;gt;
          &amp;lt;exclude&amp;gt;org.nuxeo*&amp;lt;/exclude&amp;gt;
        &amp;lt;/excludes&amp;gt;
      &amp;lt;/requireReleaseDeps&amp;gt;
      &amp;lt;requireMavenVersion&amp;gt;
        &amp;lt;version&amp;gt;[2.2.1,)&amp;lt;/version&amp;gt;
      &amp;lt;/requireMavenVersion&amp;gt;
      &amp;lt;requireJavaVersion&amp;gt;
        &amp;lt;version&amp;gt;[1.7,)&amp;lt;/version&amp;gt;
      &amp;lt;/requireJavaVersion&amp;gt;
    &amp;lt;/rules&amp;gt;
    &amp;lt;skip&amp;gt;false&amp;lt;/skip&amp;gt;
  &amp;lt;/configuration&amp;gt;
&amp;lt;/plugin&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 17:21:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322717#M9718</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2013-11-25T17:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Maven: No Snapshot allowed</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322718#M9719</link>
      <description>&lt;P&gt;That greatly helps to switch back to 5.9.1-SNAPSHOT for development.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2013 14:36:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/maven-no-snapshot-allowed/m-p/322718#M9719</guid>
      <dc:creator>Edgar_</dc:creator>
      <dc:date>2013-11-26T14:36:16Z</dc:date>
    </item>
  </channel>
</rss>

