share-extras / js-console

Administration Console component for Alfresco Share, that enables the execution of arbitrary JavaScript code against the repository
Other
74 stars 53 forks source link

spring-social-facebook:1.0.0.RC1 dependency missing #95

Closed chyder closed 3 years ago

chyder commented 4 years ago

It seems that a facebook dependency for org.springframework.social is breaking the build:

[ERROR] Failed to execute goal on project javascript-console-repo: Could not resolve dependencies for project de.fmaul:javascript-console-repo:amp:0.7-SNAPSHOT: Could not find artifact org.springframework.social:spring-social-facebook:jar:1.0.0.RC1 in alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public) -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :javascript-console-repo

A potential solution would be to remove org.springframework.social in the console-repo pom:

    <dependencies>
        <dependency>
            <groupId>${alfresco.groupId}</groupId>
            <artifactId>alfresco-repository</artifactId>
            <exclusions>
               <exclusion>
                  <groupId>org.springframework.social</groupId>
                  <artifactId>*</artifactId>
               </exclusion>
            </exclusions>
        </dependency>
    </dependencies>

pom.xml.txt