You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by bshep <sh...@q.com> on 2009/11/28 17:50:49 UTC

Cannot find parent pom for derby

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-tp26554776p26554776.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Cannot find parent pom for derby

Posted by Wayne Fay <wa...@gmail.com>.
> Downloading:
> http://repo1.maven.org/maven2/org/apache/derby/derby-project
> /${derby.version}/derby-project-${derby.version}.pom

Try adding <derby.version>10.5.3.0</derby.version> to
project.properties in your project's pom file. See more online (look
at the Hibernate example):
http://www.sonatype.com/books/maven-book/reference/resource-filtering-sect-user-defined.html

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Cannot find parent pom for derby

Posted by bshep <sh...@q.com>.
Thanks, that worked.



Stephen Connolly-2 wrote:
> 
> that version is bad. add a _1
> 
> Sent from my [rhymes with tryPod] ;-)
> 
> 
-- 
View this message in context: http://old.nabble.com/Cannot-find-parent-pom-for-derby-tp26554776p26556919.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Cannot find parent pom for derby

Posted by Stephen Connolly <st...@gmail.com>.
that version is bad. add a _1

Sent from my [rhymes with tryPod] ;-)

On 28 Nov 2009, at 16:50, bshep <sh...@q.com> 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-tp26554776p26554776.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Cannot find parent pom for derby

Posted by Stephen Connolly <st...@gmail.com>.
those pom's are faulty

the correct ones are 10.5.3.0_1

use artifactid of derby not derby-project

Sent from my [rhymes with tryPod] ;-)

On 28 Nov 2009, at 19:40, bshep <sh...@q.com> wrote:

>
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Cannot find parent pom for derby

Posted by bshep <sh...@q.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org