{"action":"created","issue":{"url":"https://api.github.com/repos/Alfresco/alfresco-sdk/issues/266","labels_url":"https://api.github.com/repos/Alfresco/alfresco-sdk/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/Alfresco/alfresco-sdk/issues/266/comments","events_url":"https://api.github.com/repos/Alfresco/alfresco-sdk/issues/266/events","html_url":"https://github.com/Alfresco/alfresco-sdk/issues/266","id":60356834,"number":266,"title":"alfresco-maven-plugin compiling 2.0.1-SNAPSHOT, noclass velocity","user":{"login":"dhartford","id":2898108,"avatar_url":"https://avatars.githubusercontent.com/u/2898108?v=3","gravatar_id":"","url":"https://api.github.com/users/dhartford","html_url":"https://github.com/dhartford","followers_url":"https://api.github.com/users/dhartford/followers","following_url":"https://api.github.com/users/dhartford/following{/other_user}","gists_url":"https://api.github.com/users/dhartford/gists{/gist_id}","starred_url":"https://api.github.com/users/dhartford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhartford/subscriptions","organizations_url":"https://api.github.com/users/dhartford/orgs","repos_url":"https://api.github.com/users/dhartford/repos","events_url":"https://api.github.com/users/dhartford/events{/privacy}","received_events_url":"https://api.github.com/users/dhartford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T15:06:51Z","updated_at":"2015-04-07T09:31:55Z","closed_at":null,"body":"When compiling 2.0.1-SNAPSHOT (as of 3/9/2015 from github), w/ mvn 3.0.5 getting:\r\n\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default-descriptor) on project alfresco-maven-plugin: The API of the mojo scanner is not compatible with this plugin version. Please check the plugin dependencies configured in the POM and ensure the versions match. org/apache/velocity/context/Context: org.apache.velocity.context.Context -> [Help 1]\r\n\r\n-X, this comes up: java.lang.NoClassDefFoundError: org/apache/velocity/context/Context"},"comment":{"url":"https://api.github.com/repos/Alfresco/alfresco-sdk/issues/comments/90483191","html_url":"https://github.com/Alfresco/alfresco-sdk/issues/266#issuecomment-90483191","issue_url":"https://api.github.com/repos/Alfresco/alfresco-sdk/issues/266","id":90483191,"user":{"login":"gravitonian","id":2564552,"avatar_url":"https://avatars.githubusercontent.com/u/2564552?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitonian","html_url":"https://github.com/gravitonian","followers_url":"https://api.github.com/users/gravitonian/followers","following_url":"https://api.github.com/users/gravitonian/following{/other_user}","gists_url":"https://api.github.com/users/gravitonian/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitonian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitonian/subscriptions","organizations_url":"https://api.github.com/users/gravitonian/orgs","repos_url":"https://api.github.com/users/gravitonian/repos","events_url":"https://api.github.com/users/gravitonian/events{/privacy}","received_events_url":"https://api.github.com/users/gravitonian/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T09:31:55Z","updated_at":"2015-04-07T09:31:55Z","body":"Hi,\r\n\r\nI downloaded Maven 3.0.5 and tested with it, you should get a Maven version error:\r\n```\r\nmartin@gravitonian:~/apps/apache-maven-3.0.5/bin$ export M2_HOME=~/apps/apache-maven-3.0.5\r\nmartin@gravitonian:~/apps/apache-maven-3.0.5/bin$ ./mvn -version\r\nApache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 13:51:28+0000)\r\nMaven home: /home/martin/apps/apache-maven-3.0.5\r\nJava version: 1.7.0_76, vendor: Oracle Corporation\r\nmartin@gravitonian:~/src/alfresco-sdk$ ~/apps/apache-maven-3.0.5/bin/mvn clean install -Dmaven.test.skip=true\r\n...\r\n[INFO] Building Maven Alfresco SDK - Parent POM 2.0.1-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ alfresco-sdk-parent ---\r\n[INFO] \r\n[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-sdk-requirements) @ alfresco-sdk-parent ---\r\n[WARNING] Rule 2: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:\r\nDetected Maven Version: 3.0.5 is not in the allowed range 3.2.2.\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] Alfresco SDK ...................................... SUCCESS [0.241s]\r\n[INFO] Rapid Application Development Support ............. SUCCESS [2.549s]\r\n[INFO] Maven Alfresco Plugin ............................. SUCCESS [7.060s]\r\n[INFO] Maven Alfresco SDK - Parent POM ................... FAILURE [0.109s]\r\n[INFO] Maven Alfresco SDK - Repository AMP Archetype ..... SKIPPED\r\n[INFO] Maven Alfresco SDK - Share AMP Archetype .......... SKIPPED\r\n[INFO] Maven Alfresco SDK - All-in-One Archetype ......... SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n```"}}