As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Try using this command:
mvn archetype:generate -Dfilter="org.alfresco":
Include the " character in the filter.
Hi Experts,
I am new to Alfresco & also getting the same error while performing maven build from Eclipse as below:
[ERROR] No plugin found for prefix 'alfresco' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\USER\.m2\repository), alfresco-plugin-public (https://artifacts.alfresco.com/nexus/content/groups/public), alfresco-plugin-public-snapshots (https://artifacts.alfresco.com/nexus/content/groups/public-snapshots), central (https://repo.maven.apache.org/maven2)] -> [Help 1]org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'alfresco' in the current project and in the plugin groups
I have used the latest archetype version as below for maven:
org.alfresco.maven.archetype:alfresco-allinone-archetype version 4.1.0
FYI, the below command with quotes in the filter is not working for me giving syntax error:
Kindly suggest.
Welcome @supriyoece to community.
Seems you are using wrong command. It is:
mvn archetype:generate -Dfilter=org.alfresco: or mvn archetype:generate -Dfilter="org.alfresco:"
Have a look at this documentation to get started with SDK :
https://docs.alfresco.com/5.2/concepts/sdk-getting-started.html
In the above documentation, it asks to chose "10" (3.0.1) version, but you select "11" (3.1.0)
3.1.0 is the latest sdk to work with ACS5.2.x and 4.1.0 is the latest SDK for ACS6.2.x. Look at the below given post for details.
https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-configure-the-development-environment-with-eclipse/m-p/299187/highlight/true#M19551
@abhinavmishra14 , Thank you so much for your reply.
I am using the Alfresco Community Edition 6.2 & selected the SDK 4.1.0 while generating the artifacts.
I have followed the same steps as suggested by you from the below link but still getting the listed error while perfroming Maven->Build from Eclipse:
https://hub.alfresco.com/t5/alfresco-content-services-forum/problem-when-creating-an-all-in-one-project-in-eclipse/m-p/296208/highlight/true#M17793
My Maven version is 3.5.0. Do I need to update tothe latest maven version ?