Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find artifact com.someco:actions-tutorial-platform-jar:amp:1.0-SNAPSHOT #35

Closed
DJArty opened this issue Feb 13, 2020 · 1 comment

Comments

@DJArty
Copy link

DJArty commented Feb 13, 2020

Hello!
Following this ecmarchitect tutorial just try to run alfresco-developer-series/workflow/workflow-tutorial/run.sh
Got it from git early for alfresco 5.2.xxx (not need 6.0, still need 5.2..).
But it stops after some downloading(?) error:
[INFO] Configured Artifact: org.alfresco:alfresco-share-services:5.2.e:amp [INFO] Configured Artifact: com.someco:workflow-tutorial-platform-jar:1.0-SNAPSHOT:amp [INFO] Configured Artifact: com.someco:content-tutorial-platform-jar:1.0-SNAPSHOT:amp [INFO] Configured Artifact: com.someco:actions-tutorial-platform-jar:1.0-SNAPSHOT:amp Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/com/someco/actions-tutorial-platform-jar/1.0-SNAPSHOT/maven-metadata.xml Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/com/someco/actions-tutorial-platform-jar/1.0-SNAPSHOT/maven-metadata.xml Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/com/someco/actions-tutorial-platform-jar/1.0-SNAPSHOT/actions-tutorial-platform-jar-1.0-SNAPSHOT.amp Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/com/someco/actions-tutorial-platform-jar/1.0-SNAPSHOT/actions-tutorial-platform-jar-1.0-SNAPSHOT.amp [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ecmarchitect.com workflow tutorial ................. FAILURE [ 4.536 s] [INFO] workflow-tutorial repo tier AMP project ............ SUCCESS [ 5.490 s] [INFO] workflow-tutorial share tier AMP project ........... SUCCESS [ 1.195 s] [INFO] Integration Tests Module ........................... SUCCESS [ 0.787 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.229 s [INFO] Finished at: 2020-02-13T11:04:15+02:00 [INFO] Final Memory: 60M/365M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.alfresco.maven.plugin:alfresco-maven-plugin:3.0.1:run (default-cli) on project workflow-tutorial: Unable to execute mojo: Unable to find artifact. Could not find artifact com.someco:actions-tutorial-platform-jar:amp:1.0-SNAPSHOT in alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public) [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=com.someco -DartifactId=actions-tutorial-platform-jar -Dversion=1.0-SNAPSHOT -Dpackaging=amp -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=com.someco -DartifactId=actions-tutorial-platform-jar -Dversion=1.0-SNAPSHOT -Dpackaging=amp -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] com.someco:actions-tutorial-platform-jar:amp:1.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public, releases=true, snapshots=true), [ERROR] alfresco-public-snapshots (https://artifacts.alfresco.com/nexus/content/groups/public-snapshots, releases=true, snapshots=true), [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
So there I can get actions-tutorial-platform-jar-1.0-SNAPSHOT.amp now? Looks like its really not exist in path. (com/someco/?)

BTW content-tutorial run OK. Need working workflow tutorial. Thank you!

@DJArty
Copy link
Author

DJArty commented Feb 13, 2020

Hmm. Sorry looks like my fault - need to build/run content-tutorial and actions-tutorial before start workflow-tutorial.

@DJArty DJArty closed this as completed Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant