Hi,
  How does <dependency> to OpenJPA be declared in other pom.xml?

 
I have following <dependency> declared in a pom.xml.
    
<dependency>
      <groupId>org.apache.openjpa</groupId>
      <artifactId>openjpa</artifactId>
      <version>1.0.0-SNAPSHOT</version>
      <scope>compile</scope>
</dependency>

On a fresh Maven repository, 'mvn package' complaints the following:

[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.openjpa:openjpa:jar:1.0.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.openjpa
-DartifactId=openjpa \
          -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.openjpa:sdo-persistence:jar:0.2.0-SNAPSHOT
        2) org.apache.openjpa:openjpa:jar:1.0.0-SNAPSHOT

Pinaki Poddar
972.834.2865


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

Reply via email to