Hello
I am not able to make a build by Maven due to the Error code 401, Unauthorized.
I have downloaded the latest "OpenKM-6.3-community-portable-dev-1.0.zip".
Before the build I cleared .m2, USER\AppData\Local\Temp, USER\AppData\Roaming\Mozilla\eclipse and USER\AppData\Local\eclipse\
Then I started Eclipse and made refresh. After some downloads invoked automatically by this F5 I triggered a maven build (there are two possibilites - I tried both of them). And both end up with the Error 401.
Interesting is that the same DEV was working last week....
What am I doing wrong?
Environment:
* VMWare 12.5.2 24GB RAM, 4 processors
* MS Windows 7 Professional Service Pack 1
* java.version=1.8.0_121
* OpenKM-6.3-community-portable-dev-1.0.zip downloaded 20.3.2017 with no customizations
I am not able to make a build by Maven due to the Error code 401, Unauthorized.
I have downloaded the latest "OpenKM-6.3-community-portable-dev-1.0.zip".
Before the build I cleared .m2, USER\AppData\Local\Temp, USER\AppData\Roaming\Mozilla\eclipse and USER\AppData\Local\eclipse\
Then I started Eclipse and made refresh. After some downloads invoked automatically by this F5 I triggered a maven build (there are two possibilites - I tried both of them). And both end up with the Error 401.
Code: Select all
Moreover, when I check m2, there are missing some libraries - for example .m2\repository\org\apache\tomcat\tomcat-util\7.0.27 does not contain any jar.[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenKM Web Application 6.3.1-DEV
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.openkm.com/maven2/com/dropbox/sdk/dropbox-client/5.1.3/dropbox-client-5.1.3.pom
Downloading: http://maven.openkm.com/maven2/net/sf/jodreports/2.3.0/jodreports-2.3.0.pom
Downloading: http://maven.openkm.com/maven2/com/github/dcarter/gdata-java-client/gdata-contacts-3.0/1.46.0/gdata-contacts-3.0-1.46.0.pom
Downloading: http://maven.openkm.com/maven2/com/github/dcarter/gdata-java-client/gdata-docs-3.0/1.46.0/gdata-docs-3.0-1.46.0.pom
Downloading: http://maven.openkm.com/maven2/com/ettrema/milton-api/1.8.1.3/milton-api-1.8.1.3.pom
Downloading: http://maven.openkm.com/maven2/com/ettrema/milton-servlet/1.8.1.3/milton-servlet-1.8.1.3.pom
Downloading: http://maven.openkm.com/maven2/commons-logging/commons-logging/1.2.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata commons-logging:commons-logging:1.2.1-SNAPSHOT/maven-metadata.xml from/to openkm.com (http://maven.openkm.com/maven2): Access denied to http://maven.openkm.com/maven2/commons-logging/commons-logging/1.2.1-SNAPSHOT/maven-metadata.xml. Error code 401, Unauthorized
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.546s
[INFO] Finished at: Mon Mar 20 11:02:17 CET 2017
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "openkm-6.3-community" could not be activated because it does not exist.
[ERROR] Failed to execute goal on project openkm: Could not resolve dependencies for project com.openkm:openkm:war:6.3.1-DEV: Failed to collect dependencies for [junit:junit:jar:4.11 (compile), com.googlecode.catch-exception:catch-exception:jar:1.2.0 (compile), javax.transaction:jta:jar:1.1 (test), javassist:javassist:jar:3.12.1.GA (test), org.hsqldb:hsqldb:jar:2.2.6 (test), javax.servlet:servlet-api:jar:2.5 (provided), javax.servlet:jstl:jar:1.2 (provided), javax.servlet.jsp:jsp-api:jar:2.1 (provided), javax.mail:mail:jar:1.4.7 (provided), log4j:log4j:jar:1.2.17 (provided), org.apache.tomcat:tomcat-catalina:jar:7.0.27 (provided), commons-io:commons-io:jar:1.4 (compile), commons-fileupload:commons-fileupload:jar:1.2.2 (compile), commons-httpclient:commons-httpclient:jar:3.1 (compile), org.apache.commons:commons-compress:jar:1.0 (compile), de.schlichtherle:truezip:jar:6.8.2 (compile), org.slf4j:slf4j-api:jar:1.5.3 (compile), org.slf4j:slf4j-log4j12:jar:1.5.3 (compile), org.slf4j:jul-to-slf4j:jar:1.5.3 (compile), dnsjava:dnsjava:jar:2.0.8 (compile), commons-beanutils:commons-beanutils:jar:1.8.3 (compile), commons-codec:commons-codec:jar:1.2 (compile), javax.jcr:jcr:jar:1.0 (compile), org.apache.jackrabbit:jackrabbit-core:jar:1.6.5 (compile), org.apache.jackrabbit:jackrabbit-text-extractors:jar:1.6.5 (compile), net.homeip.yusuke:twitter4j:jar:2.0.10 (compile), rome:rome:jar:1.0 (compile), net.sf.jasperreports:jasperreports:jar:3.7.6 (compile), org.codehaus.groovy:groovy-all-minimal:jar:1.5.8 (compile), org.jbpm.jbpm3:jbpm-jpdl:jar:3.3.1.OKM (compile), org.jbpm.jbpm3:jbpm-identity:jar:3.3.1.OKM (compile), org.hibernate:hibernate-core:jar:3.6.10.Final (compile), org.hibernate:hibernate-ehcache:jar:3.6.10.Final (compile), org.hibernate:hibernate-search:jar:3.4.2.Final (compile), org.hibernate:hibernate-validator:jar:4.2.0.Final (compile), org.apache.lucene:lucene-queries:jar:3.1.0 (compile), org.beanshell:bsh:jar:2.0b5 (compile), com.dropbox.sdk:dropbox-client:jar:5.1.3 (compile), org.artofsolving.jodconverter:jodconverter-core:jar:3.0-beta-4 (compile), entagged.audioformats:audioformats:jar:0.15 (compile), com.drewnoakes:metadata-extractor:jar:2.4.0-beta-1 (compile), org.apache.poi:poi:jar:3.9 (compile), org.apache.poi:poi-scratchpad:jar:3.9 (compile), org.apache.pdfbox:pdfbox:jar:1.6.0 (compile), com.catcode:odfutils:jar:051129 (compile), org.dts:jmyspell-core:jar:1.0.0-beta-2 (compile), net.sf:jodreports:jar:2.3.0 (compile), org.odftoolkit:odfdom-java:jar:0.8.6 (compile), org.hyperic:sigar:jar:1.6.5.132 (compile), com.google.gwt:gwt-servlet:jar:2.4.0 (runtime), com.google.gwt:gwt-user:jar:2.4.0 (provided), com.google.gwt:gwt-dev:jar:2.4.0 (provided), com.google.code.gwt-log:gwt-log:jar:3.1.6 (compile), com.google.gwt:gwt-incubator:jar:2.1.0 (compile), gwt-vl.sourceforge.net:gwt-vl:jar:2.0b-without-hibernate (compile), org.openrdf.sesame:onejar:jar:2.2.4 (compile), com.google.code.gson:gson:jar:2.2.4 (compile), com.kenai.crontab-parser:crontab-parser:jar:1.0.1 (compile), de.sven-jacobs:loremipsum:jar:1.0 (compile), com.github.dcarter.gdata-java-client:gdata-contacts-3.0:jar:1.46.0 (compile), com.github.dcarter.gdata-java-client:gdata-docs-3.0:jar:1.46.0 (compile), org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.7.12 (compile), org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.7.12 (compile), org.apache.cxf:cxf-rt-transports-http:jar:2.7.12 (compile), org.apache.cxf:cxf-rt-ws-security:jar:2.7.12 (compile), org.apache.ws.security:wss4j:jar:1.6.16 (compile), org.springframework:spring-core:jar:3.1.0.RELEASE (compile), org.springframework:spring-beans:jar:3.1.0.RELEASE (compile), org.springframework:spring-web:jar:3.1.0.RELEASE (compile), org.springframework:spring-context:jar:3.1.0.RELEASE (compile), org.springframework:spring-orm:jar:3.1.0.RELEASE (compile), org.springframework.ws:spring-ws-core:jar:2.0.3.RELEASE (compile), org.springframework.security:spring-security-core:jar:3.1.0.RELEASE (compile), org.springframework.security:spring-security-config:jar:3.1.0.RELEASE (compile), org.springframework.security:spring-security-web:jar:3.1.0.RELEASE (compile), org.springframework.security:spring-security-taglibs:jar:3.1.0.RELEASE (compile), org.springframework.security:spring-security-ldap:jar:3.1.0.RELEASE (compile), com.google.code:jspf:jar:1.0.1 (compile), org.apache.chemistry.opencmis:chemistry-opencmis-server-support:jar:0.10.0 (compile), org.apache.chemistry.opencmis:chemistry-opencmis-server-bindings:jar:0.10.0 (compile), com.ettrema:milton-api:jar:1.8.1.3 (compile), com.ettrema:milton-servlet:jar:1.8.1.3 (compile), net.sf.dozer:dozer:jar:5.3.2 (compile), com.google.zxing:core:jar:2.2 (compile), com.google.zxing:javase:jar:2.2 (compile), com.amazonaws:aws-java-sdk:jar:1.3.0 (compile), com.cybozu:langdetect:jar:2011.11.28 (compile), net.sourceforge:jashi:jar:2008.07.31 (compile), com.googlecode.jcsv:jcsv:jar:1.4.0 (compile), org.owasp:encoder:jar:1.1 (compile), com.auxilii:msgparser:jar:1.12 (compile), com.ibm.icu:icu4j:jar:50.1.1 (compile), ca.uwaterloo.a3seth:omr-tool:jar:2007.07.01 (compile), net.sourceforge:jiu:jar:2007.07.01 (compile), org.docx4j:docx4j:jar:2.8.1 (compile), org.reflections:reflections:jar:0.9.9-RC1 (compile)]: Failed to read artifact descriptor for com.dropbox.sdk:dropbox-client:jar:5.1.3: Could not transfer artifact com.dropbox.sdk:dropbox-client:pom:5.1.3 from/to openkm.com (http://maven.openkm.com/maven2): Access denied to http://maven.openkm.com/maven2/com/dropbox/sdk/dropbox-client/5.1.3/dropbox-client-5.1.3.pom. Error code 401, Unauthorized -> [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
Interesting is that the same DEV was working last week....
What am I doing wrong?
Environment:
* VMWare 12.5.2 24GB RAM, 4 processors
* MS Windows 7 Professional Service Pack 1
* java.version=1.8.0_121
* OpenKM-6.3-community-portable-dev-1.0.zip downloaded 20.3.2017 with no customizations