DPascalBernard / maven-alfresco-archetypes

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

All-In-One Archetype Maven Site Build Failure #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We have successfully run 'mvn package' and now we are trying to build a site.

What steps will reproduce the problem?
1) run 'mvn site:site'

What is the expected output? What do you see instead?
After Alfresco Custom Content and Alfresco AMP Module sites were generated, 
expected remaining sites to be generated but see the following:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Alfresco Custom Content ........................... SUCCESS [17.769s]
[INFO] Alfresco AMP Module ............................... SUCCESS [1:04.127s]
[INFO] Alfresco Repository and Explorer Client ........... FAILURE [3.527s]
[INFO] Alfresco Apache Solr customization ................ SKIPPED
[INFO] Alfresco Share Client ............................. SKIPPED
[INFO] Alfresco Web Quick Start customization ............ SKIPPED
[INFO] Alfresco and Share Runner ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:30.525s
[INFO] Finished at: Tue Jul 09 08:02:39 CDT 2013
[INFO] Final Memory: 28M/612M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project alfresco: Could not resolve 
dependencies for project com.gxs.ecm.alf.custom:alfresco:war:1.0-SNAPSHOT: 
Could not find artifact com.gxs.ecm.alf.custom:amp:amp:1.0-SNAPSHOT in 
alfresco-artifacts-releases-private 
(https://artifacts.alfresco.com/nexus/content/groups/private) -> [Help 1]

What version of the product are you using? On what operating system?
    <parent>
        <groupId>org.alfresco.maven</groupId>
        <artifactId>alfresco-sdk-parent</artifactId>
        <version>1.0.1</version>
    </parent>
currently running this on Windows 7 with ultimate goal to run on Red Hat 
Enterprise Linux

Please provide any additional information below.
Attachment: maven_site_build_20130709.txt 

Thanks,
Rick

Original issue reported on code.google.com by anonymou...@gmail.com on 9 Jul 2013 at 1:33

Attachments:

GoogleCodeExporter commented 9 years ago
So I have reviewed your build logs and I think you are missing something, i.e.:

if you run mvn site:site you are not building any main artifact and so not 
installing nothing in the local repo.

So when you try to build 'alfresco' that has a dependency on 'amp', and 
probably some site report is trying to resolve dependencies, it fails as you 
don't have 'amp' yet installed in any repo or remotely.

More of a maven thing, than anything specific with the SDK.

Closing with won't fix.

as you are building the website and you are probably doing some kind of 
top-down aggregation of the documentation, 

Original comment by colum...@gmail.com on 30 Oct 2013 at 7:26

GoogleCodeExporter commented 9 years ago

Original comment by colum...@gmail.com on 30 Oct 2013 at 7:27