db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <michael.bousc...@akquinet.de>
Subject Re: Running individual configurations
Date Sun, 18 Nov 2012 21:27:24 GMT
Hi Craig,

I see the same results when I try to run an individual configuration 
from the trunk directory.

It works if you run it from the tck directory:
tck > pwd
/Users/mbouschen/Projects/JDO/workspace/jdo/trunk/tck
tck > mvn jdo-exectck:runtck -Djdo.tck.cfglist=pm.conf

I get some errors when running an individual configuration, but I think 
this does not affect the test:
 >> Error copying implementation log file: Source 
'/Users/mbouschen/Projects/JDO/workspace/jdo/trunk/tck/datanucleus.txt' 
does not exist

When you see an error saying it cannot find artifact 
javax.jdo:parent-pom:pom:3.1-SNAPSHOT, you need to run mvn clean install 
from the directory parent-pom:
[ERROR] Failed to execute goal on project jdo-exectck: Could not resolve 
dependencies for project 
org.apache.jdo:jdo-exectck:maven-plugin:1.0-SNAPSHOT: Failed to collect 
dependencies for [org.apache.maven:maven-plugin-api:jar:2.0 (compile), 
junit:junit:jar:3.8.1 (compile), org.apache.derby:derby:jar:10.6.1.0 
(compile), org.apache.derby:derbytools:jar:10.6.1.0 (compile), 
commons-io:commons-io:jar:1.4 (compile), 
javax.jdo:jdo-api:jar:3.1-SNAPSHOT (compile), 
org.springframework:spring-core:jar:2.0 (compile), 
org.springframework:spring-beans:jar:2.0 (compile), 
commons-collections:commons-collections:jar:3.2 (compile), 
org.apache.geronimo.specs:geronimo-jpa_2.0_spec:jar:1.0 (compile)]: 
Failed to read artifact descriptor for 
javax.jdo:jdo-api:jar:3.1-SNAPSHOT: Could not find artifact 
javax.jdo:parent-pom:pom:3.1-SNAPSHOT in apache.snapshots 
(http://repository.apache.org/snapshots) -> [Help 1]

Regards Michael


> I'm trying to run an individual configuration of the tck and not 
> having much luck.
>
> I've edited the tck/src/conf/clr.conf file but it doesn't quite get 
> that far.
>
> What am I doing wrong?
>
> Thanks,
>
> Craig
>
> P.S. mvn downloads the two maven-metadata.xml files every time I run 
> this. Is that part of the symptom or the problem?
>
> clr% mvn jdo-exectck:runtck -Djdo.tck.cfglist=clr.conf
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective 
> model for javax.jdo:jdo-api:jar:3.1-SNAPSHOT
> [WARNING] 'parent.relativePath' of POM 
> javax.jdo:parent-pom:3.1-SNAPSHOT 
> (/Users/clr/apache/jdo/trunk/parent-pom/pom.xml) points at 
> javax.jdo:root instead of org.apache:apache, please verify your 
> project structure @ javax.jdo:parent-pom:3.1-SNAPSHOT, 
> /Users/clr/apache/jdo/trunk/parent-pom/pom.xml, line 5, column 11
> [WARNING]
> [WARNING] Some problems were encountered while building the effective 
> model for org.apache.jdo:jdo-tck:jar:3.1-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-clean-plugin is missing. @ line 151, 
> column 21
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they 
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer 
> support building such malformed projects.
> [WARNING]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] JDO API
> [INFO] JDO TCK Execution Maven Mojo
> [INFO] JDO RI Jar Copy
> [INFO] JDO Technology Compatibility Kit (TCK)
> [INFO] JDO Root POM
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
> Downloading: 
> http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml
> Downloaded: 
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml (11 
> KB at 8.2 KB/sec)
> Downloaded: 
> http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 
> KB at 14.9 KB/sec)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] JDO API ........................................... SKIPPED
> [INFO] JDO TCK Execution Maven Mojo ...................... SKIPPED
> [INFO] JDO RI Jar Copy ................................... SKIPPED
> [INFO] JDO Technology Compatibility Kit (TCK) ............ SKIPPED
> [INFO] JDO Root POM ...................................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 8.844s
> [INFO] Finished at: Sat Nov 17 10:07:36 PST 2012
> [INFO] Final Memory: 9M/81M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] No plugin found for prefix 'jdo-exectck' in the current 
> project and in the plugin groups [org.apache.maven.plugins, 
> org.codehaus.mojo] available from the repositories [local 
> (/Users/clr/.m2/repository), central (http://repo1.maven.org/maven2)] 
> -> [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/NoPluginFoundForPrefixException
>
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@oracle.com
> P.S. A good JDO? O, Gasp!
>


-- 
*Michael Bouschen*
*Prokurist*

akquinet tech@spree GmbH
Bülowstr. 66, D-10783 Berlin

Fon:   +49 30 235 520-33
Fax:   +49 30 217 520-12
Email: michael.bouschen@akquinet.de
Web: www.akquinet.de <http://www.akquinet.de>

akquinet tech@spree GmbH, Berlin
Geschäftsführung: Martin Weber, Dr. Torsten Fink
Amtsgericht Berlin-Charlottenburg HRB 86780 B
USt.-Id. Nr.: DE 225 964 680

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message