openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From No1UNo <je...@jerrycarter.org>
Subject Re: Open jpa 2.0 and maven build
Date Wed, 10 Mar 2010 20:48:36 GMT

Perhaps this?


On Mar 10, 2010, at 3:28 PM, Pmoran [via OpenJPA] wrote:

> I think I have done that. Here is the pom any input would be greatly appreciated as this
problem has taken some time to resolve 
> 
> - <plugin> 
>   <groupId>org.codehaus.mojo</groupId> 
>   <artifactId>openjpa-maven-plugin</artifactId> 
>   <version>openjpa-maven-plugin.version</version> 

<version>${openjpa-maven-plugin.version}</version>

> - <configuration> 
>   <enforcePropertyRestrictions>true</enforcePropertyRestrictions> 
>   </configuration> 
> - <executions> 
> - <execution> 
>   <id>enhancer</id> 
>   <phase>process-classes</phase> 
> - <goals> 
>   <goal>enhance</goal> 
>   </goals> 
>   </execution> 
> <groupId>org.apache.openjpa</groupId> 
>   <artifactId>apache-openjpa</artifactId> 
>   <version>${openJPA.version}</version> 

Move these list three elements, <groupId>, <artifactId>, and <version> into
the dependency block:

>   </executions> 
> <dependencies> 
> <dependency> 
> 
> </dependency> 
> </dependencies> 

        <dependencies>
          <dependency>
            <groupId>org.apache.openjpa</groupId>
            <artifactId>openjpa</artifactId>
            <version>${openJPA.version}</version>
          </dependency>
        </dependencies>

>   </plugin> 



-- 
View this message in context: http://n2.nabble.com/Open-jpa-2-0-and-maven-build-tp4705782p4712210.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

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