Hi,
how to get the old dependency:
I'm using the Alfresco SDK to create the project.
From some time, this is missing and I can't compile my project.
Nobody from Alfresco can help or give an answer why the library dissappeared?
"How to get the old dependency" => Add it to your pom.xml as a dependency, re-build, et viola....
Sorry to activate this topic, but I have this same problem, could you explain how to do what you indicate? What should be added in the pom.xml file?
These jars are no longer available in the repository here: https://artifacts.alfresco.com/nexus/content/repositories/public/org/springframework/extensions/surf or https://artifacts.alfresco.com/nexus/content/groups/public/org/springframework/extensions/surf
You can manually add dependencies what next available version for the build to complete, example:
<dependency> <groupId>org.springframework.extensions.surf</groupId> <artifactId>spring-surf-core-configservice</artifactId> <version>1.2.0-M17</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework.social</groupId> <artifactId>spring-social-facebook</artifactId> <version>1.0.0.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.extensions.surf</groupId> <artifactId>spring-webscripts-api</artifactId> <version>1.2.0-M17</version> </dependency> <dependency> <groupId>org.springframework.extensions.surf</groupId> <artifactId>spring-webscripts</artifactId> <version>1.2.0-M17</version> </dependency>
Thanks, more and more progress is made, now I see that it compiles or does something like that, but something happens in the end
[INFO]
[INFO] --- alfresco-maven-plugin:1.1.1:amp (default-amp) @ alfresco-trashcan-cleaner ---
[INFO] Building jar: /root/tmp_maven/alfresco-trashcan-cleaner/target/alfresco-trashcan-cleaner/lib/alfresco-trashcan-cleaner.jar
[INFO] Adding directory to AMP package [ '/root/tmp_maven/alfresco-trashcan-cleaner/target/alfresco-trashcan-cleaner' '']
[INFO] Building amp: /root/tmp_maven/alfresco-trashcan-cleaner/target/alfresco-trashcan-cleaner.amp
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ alfresco-trashcan-cleaner ---
Downloading from alfresco-plugin-public: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/maven/shared/maven-shared-util...
Downloading from alfresco-plugin-public-snapshots: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/maven/shared/maven-s...
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-uti...
Downloading from alfresco-plugin-public: https://artifacts.alfresco.com/nexus/content/groups/public/org/codehaus/plexus/plexus-utils/3.0.15/p...
Downloading from alfresco-plugin-public-snapshots: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/codehaus/plexus/plexus-util...
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:11 min
[INFO] Finished at: 2021-11-25T09:17:41-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.1:install (default-install) on project alfresco-trashcan-cleaner: Execution default-install of goal org.apache.maven.plugins:maven-install-plugin:2.5.1:install failed: Plugin org.apache.maven.plugins:maven-install-plugin:2.5.1 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-install-plugin:jar:2.5.1 -> org.apache.maven.shared:maven-shared-utils:jar:0.4: Failed to read artifact descriptor for org.apache.maven.shared:maven-shared-utils:jar:0.4: Could not transfer artifact org.apache.maven.shared:maven-shared-utilsom:0.4 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [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/PluginResolutionException
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.