Closed smtk closed 10 years ago
More details.
i have write permissions in the folder where is the java-lib. In .m2, there isn't the file settings.xml.
Regards.
Hi, please download maven >3.1 (http://maven.apache.org/download.cgi) and try: mvn clean install
cheers,
iago
Thanks for your help.
Regards.
Hello,
I want to use javalib for working with archetypes eN13606. I download the library and i unzip in my disc. In eclipse, i go to run, run configurations, Maven build and i create new with goal eclipse:eclipse. it produces a failure:
[INFO] Not running eclipse plugin goal for pom project [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building openEHR Measurement Service Implementation 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ measure-serv >>> [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ measure-serv <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ measure-serv --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\measure-serv.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "measure-serv" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\measure-serv. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building openEHR Reference Model Core 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-rm-core >>> [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-rm-core <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-rm-core --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\openehr-rm-core.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "openehr-rm-core" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\openehr-rm-core. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building openEHR Minimum Terminology Service 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ mini-termserv >>> [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ mini-termserv <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ mini-termserv --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\mini-termserv.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "mini-termserv" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\mini-termserv. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building openEHR Reference Model Domain 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-rm-domain >>> [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-rm-domain <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-rm-domain --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\openehr-rm-domain.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "openehr-rm-domain" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\openehr-rm-domain. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building openEHR Archetype Object Model 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-aom >>> [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-aom <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-aom --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\openehr-aom.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "openehr-aom" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\openehr-aom. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building openEHR Archetype Profile 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-ap >>> [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-ap <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ openehr-ap --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\openehr-ap.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "openehr-ap" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\openehr-ap. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building java ADL Parser 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repo.maven.apache.org/maven2/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or
one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ adl-parser >>> [INFO] [INFO] --- javacc-maven-plugin:2.6:javacc (default) @ adl-parser --- [INFO] Skipping - all parsers are up to date [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ adl-parser <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ adl-parser --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\adl-parser.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "adl-parser" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\adl-parser. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building java dADL Parser 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or
one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ dadl-parser >>> [INFO] [INFO] --- javacc-maven-plugin:2.6:javacc (default) @ dadl-parser --- [INFO] Skipping - all parsers are up to date [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ dadl-parser <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ dadl-parser --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\dadl-parser.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "dadl-parser" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\dadl-parser. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building ADL Serializer 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ adl-serializer >>> [INFO] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ adl-serializer <<< [INFO] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ adl-serializer --- [INFO] Using Eclipse Workspace: null [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] File C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\adl-serializer.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "adl-serializer" to C:\Users\clr1\Google Drive\Entorno\workspace\java-libs-master\adl-serializer. [INFO] [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building openEHR OET Template Parser and Flattener 1.0.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ oet-parser >>> [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] The openEHR Reference Java Implementation ......... SUCCESS [22.666s] [INFO] openEHR Measurement Service Implementation ........ SUCCESS [1.001s] [INFO] openEHR Reference Model Core ...................... SUCCESS [0.316s] [INFO] openEHR Minimum Terminology Service ............... SUCCESS [2.928s] [INFO] openEHR Reference Model Domain .................... SUCCESS [0.170s] [INFO] openEHR Archetype Object Model .................... SUCCESS [0.144s] [INFO] openEHR Archetype Profile ......................... SUCCESS [0.113s] [INFO] java ADL Parser ................................... SUCCESS [3.551s] [INFO] java dADL Parser .................................. SUCCESS [0.193s] [INFO] ADL Serializer .................................... SUCCESS [0.301s] [INFO] openEHR OET Template Parser and Flattener ......... FAILURE [0.841s] [INFO] XML Serializer .................................... SKIPPED [INFO] openEHR Reference Model Object Builder ............ SKIPPED [INFO] openEHR RM XML Data Binding Component ............. SKIPPED [INFO] java dADL Binding ................................. SKIPPED [INFO] openEHR RM Skeleton Instance Generator ............ SKIPPED [INFO] Archetype Validator ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 46.409s [INFO] Finished at: Thu Jan 16 14:08:06 CET 2014 [INFO] Final Memory: 11M/72M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project oet-parser: Could not resolve dependencies for project openehr:oet-parser:jar:1.0.5-SNAPSHOT: The
following artifacts could not be resolved: openehr:openehr-rm-core:jar:1.0.5-SNAPSHOT, openehr:openehr-rm-domain:jar:1.0.5-SNAPSHOT,
openehr:openehr-aom:jar:1.0.5-SNAPSHOT, openehr:adl-parser:jar:1.0.5-SNAPSHOT, openehr:openehr-ap:jar:1.0.5-SNAPSHOT, openehr:measure-
serv:jar:1.0.5-SNAPSHOT, openehr:mini-termserv:jar:1.0.5-SNAPSHOT, openehr:adl-serializer:jar:1.0.5-SNAPSHOT: Could not find artifact
openehr:openehr-rm-core:jar:1.0.5-SNAPSHOT -> [Help 1]
Can you help me?
Very thanks for your attention.
Regards.