DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Maven can't find Alfresco AMP Plugin anywhere #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to use the "maven-alfresco-amp-archetype", but I can't compile it 
because Maven can't find "org.alfresco.maven.plugin:maven-amp-plugin" anywhere.

[OT]
Also, the links to the archetypes in the Alfresco wiki are outdated:

http://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven#How_to_manag
e_Alfresco_AMPs_.28alfresco.2Fmodule.2F.2A_based_AMP_builds.29_with_Maven

Original issue reported on code.google.com by ayeye.sy...@gmail.com on 7 Oct 2010 at 12:50

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

I also get the error message. I have tried to set up and compile an alfresco 
archetpye project with updated dependency to alfresco 3.4.a (Thanks to Gabriele 
it is working now with the latest version!!) and simply call the compile target.

am i missing some repository dependency?

Best Regards, any help or suggestion is welcome,

Robert

Here is my trace:

Missing:
----------
1) org.alfresco.maven.plugin:maven-amp-plugin:jar:3.0.1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.alfresco.maven.plugin -DartifactId=maven-amp-plugin -Dversion=3.0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.alfresco.maven.plugin -DartifactId=maven-amp-plugin -Dversion=3.0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
    1) org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.1
    2) org.alfresco.maven.plugin:maven-amp-plugin:jar:3.0.1-SNAPSHOT

----------
1 required artifact is missing.

for artifact: 
  org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.1

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2),
  alfresco-public (http://maven.alfresco.com/nexus/content/groups/public),
  alfresco-public-snapshots (http://maven.alfresco.com/nexus/content/groups/public-snapshots)

Original comment by Robert.M...@gmail.com on 8 Nov 2010 at 5:19

GoogleCodeExporter commented 9 years ago
We should having a properly deployed version of the plugin / archetypes which 
actually "works" OOTB :)

Scheduling this for the next release.

Original comment by colum...@gmail.com on 3 Aug 2011 at 11:44

GoogleCodeExporter commented 9 years ago
References to wiki are correct (just checked now) and verified every archetype 
creation with empty repos; could not reproduce any issue (anymore) regarding 
plugin resolution, therefore I can safely close this issue.

Please reopen (and forgive me :-) if I'm missing something.

Original comment by mauri...@session.it on 4 Apr 2012 at 7:54

GoogleCodeExporter commented 9 years ago

Original comment by mauri...@session.it on 6 Apr 2012 at 6:26