You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Håkon Sagehaug <Ha...@bccs.uib.no> on 2008/11/10 14:09:47 UTC

Where to find open-jpa maven plugin

Hi

I want to use the open-jpa maven plguin for enhancig my entity classes, I
cant get å hold of it. I my pom I've got this

<plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>openjpa-maven-plugin</artifactId>
                <configuration>
                    <!-- Pass properties to the Plugin here -->
                    <toolProperties>
                        <property>
                            <name>addDefaultConstructor</name>
                            <value>true</value>
                        </property>
                        <property>
                            <name>enforcePropertyRestrictions</name>
                            <value>true</value>
                        </property>
                    </toolProperties>
                </configuration>
            </plugin>

But dont know what repository I should set, if I  don't set any I get build
error

Any tips?

cheers, Håkon

-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Re: Where to find open-jpa maven plugin

Posted by Håkon Sagehaug <Ha...@bccs.uib.no>.
Hi

Thanks for the info, it now works fine.

cheers, Håkon

2008/11/10 Mark Struberg <st...@yahoo.de>

> you can find the openjpa-maven-plugin in the codehaus mojo project
>
> http://mojo.codehaus.org/openjpa-maven-plugin/usage.html
>
> http://repository.codehaus.org/org/codehaus/mojo/
>
> and here is the howto enable it:
> http://mojo.codehaus.org/using-sandbox-plugins.html
>
>
> There is also a newer version in the chain, additionally providing the
> goals openjpa:sql and openjpa:schema.
>
> We will (hopefully) release this in the next few weeks, after I finalised
> the docu ;)
>
> LieGrue,
> strub
>
> --- Håkon Sagehaug <Ha...@bccs.uib.no> schrieb am Mo, 10.11.2008:
>
> > Von: Håkon Sagehaug <Ha...@bccs.uib.no>
> > Betreff: Where to find open-jpa maven plugin
> > An: users@openjpa.apache.org
> > Datum: Montag, 10. November 2008, 14:09
> > Hi
> >
> > I want to use the open-jpa maven plguin for enhancig my
> > entity classes, I
> > cant get å hold of it. I my pom I've got this
> >
> > <plugin>
> >
> > <groupId>org.codehaus.mojo</groupId>
> >
> > <artifactId>openjpa-maven-plugin</artifactId>
> >                 <configuration>
> >                     <!-- Pass properties to the Plugin
> > here -->
> >                     <toolProperties>
> >                         <property>
> >
> > <name>addDefaultConstructor</name>
> >                             <value>true</value>
> >                         </property>
> >                         <property>
> >
> > <name>enforcePropertyRestrictions</name>
> >                             <value>true</value>
> >                         </property>
> >                     </toolProperties>
> >                 </configuration>
> >             </plugin>
> >
> > But dont know what repository I should set, if I  don't
> > set any I get build
> > error
> >
> > Any tips?
> >
> > cheers, Håkon
> >
> > --
> > Håkon Sagehaug, Software Developer
> > Parallab, Bergen Center for Computational Science (BCCS)
> > UNIFOB AS (University of Bergen Research Company)
>
>
>
>


-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

AW: Where to find open-jpa maven plugin

Posted by Mark Struberg <st...@yahoo.de>.
you can find the openjpa-maven-plugin in the codehaus mojo project

http://mojo.codehaus.org/openjpa-maven-plugin/usage.html

http://repository.codehaus.org/org/codehaus/mojo/

and here is the howto enable it:
http://mojo.codehaus.org/using-sandbox-plugins.html


There is also a newer version in the chain, additionally providing the goals openjpa:sql and openjpa:schema.

We will (hopefully) release this in the next few weeks, after I finalised the docu ;)

LieGrue,
strub

--- Håkon Sagehaug <Ha...@bccs.uib.no> schrieb am Mo, 10.11.2008:

> Von: Håkon Sagehaug <Ha...@bccs.uib.no>
> Betreff: Where to find open-jpa maven plugin
> An: users@openjpa.apache.org
> Datum: Montag, 10. November 2008, 14:09
> Hi
> 
> I want to use the open-jpa maven plguin for enhancig my
> entity classes, I
> cant get å hold of it. I my pom I've got this
> 
> <plugin>
>                
> <groupId>org.codehaus.mojo</groupId>
>                
> <artifactId>openjpa-maven-plugin</artifactId>
>                 <configuration>
>                     <!-- Pass properties to the Plugin
> here -->
>                     <toolProperties>
>                         <property>
>                            
> <name>addDefaultConstructor</name>
>                             <value>true</value>
>                         </property>
>                         <property>
>                            
> <name>enforcePropertyRestrictions</name>
>                             <value>true</value>
>                         </property>
>                     </toolProperties>
>                 </configuration>
>             </plugin>
> 
> But dont know what repository I should set, if I  don't
> set any I get build
> error
> 
> Any tips?
> 
> cheers, Håkon
> 
> -- 
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)