alfresco-transform-core icon indicating copy to clipboard operation
alfresco-transform-core copied to clipboard

Can't build in Windows 10

Open khandah opened this issue 3 years ago • 5 comments

When trying to compile the project I am always having the following error:

Plugin org.codehaus.mojo:license-maven-plugin:2.0.1.alfresco-2 or one of its dependencies could not be resolved: Could not find artifact org.codehaus.mojo:license-maven-plugin:jar:2.0.1.alfresco-2 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

Regards.

khandah avatar Jun 02 '22 22:06 khandah

I get the same error.

Does this have anything to do with Windows 10 tough?

gw-ubunye avatar Jun 14 '22 14:06 gw-ubunye

No it happens on Linux as well, changing the org.codehaus.mojo:license-maven-plugin version from 2.0.1-alfresco-2 to 2.0.0 fixes this issue. The build still fails with a missing dependency, though. Could not resolve dependencies for project org.alfresco:alfresco-transform-libreoffice:jar:3.0.0-A7-SNAPSHOT: org.alfresco:alfresco-jodconverter-core:jar:3.0.1.14

fintanmm avatar Oct 20 '22 13:10 fintanmm

This issue has not be resolved, yet (since months)

I got "Caused by ... AuthorizationException: Access denied to: https://mvnrepository.com/artifact/org/codehaus/mojo/license-maven-plugin/2.0.1.alfresco-2/license-maven-plugin-2.0.1.alfresco-2.pom"

(whatever repository I use, I get always the same message)

ciroppina avatar Feb 09 '23 09:02 ciroppina

now, trying to Maven-Build-ing (clean install goals) without any 'license' plugin reference (commented), it looks like all is going well; but I dont know if it's "legal"...

update: build, install and spring-boot:run SUCCESSFUL

ciroppina avatar Feb 09 '23 11:02 ciroppina

The artifact is available in Alfresco Public repository https://artifacts.alfresco.com/nexus/content/repositories/public/ and not on Maven Central

vagpap avatar Apr 07 '23 12:04 vagpap