cancel
Showing results for 
Search instead for 
Did you mean: 

I followed the simple workflow tutorial by " http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html" i am getting this error Please assist

chetantewari
Champ in-the-making
Champ in-the-making

i have uploaded the error i am getting please help me with this

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary for AIO - SDK 3.0 1.0-SNAPSHOT:

[INFO]

[INFO] AIO - SDK 3.0 ...................................... FAILURE [ 23.188 s]

[INFO] Alfresco Platform/Repository JAR Module ............ SUCCESS [ 10.205 s]

[INFO] Alfresco Share JAR Module .......................... SUCCESS [  1.298 s]

[INFO] Integration Tests Module ........................... SUCCESS [  2.786 s]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  39.017 s

[INFO] Finished at: 2018-12-10T14:36:33+05:30

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.alfresco.maven.plugin:alfresco-maven-plugin:3.0.1:run (default-cli) on project workflow: Unable to execute mojo: Unable to resolve artifact. Could not transfer artifact com.tcs:content-tutorial-platform-jar:amp:1.0-SNAPSHOT from/to alfresco-private-repository (https://artifacts.alfresco.com/nexus/content/groups/private): Not authorized

[ERROR]   com.tcs:content-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]   alfresco-private-repository (https://artifacts.alfresco.com/nexus/content/groups/private, 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

6 REPLIES 6

krutik_jayswal
Elite Collaborator
Elite Collaborator

Add the first error which is there in error log, If alfresco failed to start with some spring bean issue or some other issue.It will populate this kind of error repeatedly.

Adding actual log and the configuration which you did will help in resolving the error.

you need full log file

yes

yash_patel_c2
Star Contributor
Star Contributor

Hi Chetan Tewari‌,

Kindly attach proper log file with the question so that we can have proper idea.

Thanks 

ContCentric

vidhipanchal
Star Contributor
Star Contributor

Hi Chetan,

Please attach Spring bean configuration and kindly mention which files you are created.

Are you add any extra dependency? 

Thanks,

ContCentric

Regards,
Vidhi

jpotts
World-Class Innovator
World-Class Innovator

It looks to me like you are using com.tcs as the group. The workflow tutorial depends on previous tutorials. In this case it is looking for the content-tutorial AMP. If you haven't already, switch into the content tutorial and do a "mvn install -DskipTests" so that the AMP will be built and added to your local Maven repo. Once you do that your workflow project should be able to build.