I added:
<properties>
<derby.version>10.5.3.0</derby.version>
</properties>
I also went to
http://repo1.maven.org/maven2/org/apache/derby/derby-project/10.5.3.0 url
and there was no jar file, only poms.
bshep wrote:
>
> I have tried multiple derby versions but cannot get maven to compile.
>
> here is pom derby reference:
> <dependency>
> <groupId>org.apache.derby</groupId>
> <artifactId>derby</artifactId>
> <version>10.5.3.0</version>
> </dependency>
>
> I have also tried addding:
> <dependency>
> <groupId>org.apache.derby</groupId>
> <artifactId>derby-project</artifactId>
> <version>10.5.3.0</version>
> </dependency>
>
> Can someone tell me what I am missing?
>
> mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building SoccerDB - AppFramework Application
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory C:\Documents and Settings\MomAndDad\My
> Documents\NetBeansProjects\SoccerDB\target
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 21 resources
> Downloading:
> http://repo1.maven.org/maven2/org/apache/derby/derby-project/${derby.version}/derby-project-${derby.version
> }.pom
> [INFO] Unable to find resource
> 'org.apache.derby:derby-project:pom:${derby.version}' in repository
> central (http://repo1
> .maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.derby:derby:jar:null
>
> Reason: Cannot find parent: org.apache.derby:derby-project for project:
> org.apache.derby:derby:jar:null for project org.
> apache.derby:derby:jar:null
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Sat Nov 28 09:41:38 MST 2009
> [INFO] Final Memory: 8M/14M
> [INFO]
> ------------------------------------------------------------------------
>
--
View this message in context:
http://old.nabble.com/Cannot-find-parent-pom-for-derby-tp26554776p26556311.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]