| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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) |
|
#2
| |||
| |||
| you can find the openjpa-maven-plugin in the codehaus mojo project http://mojo.codehaus.org/openjpa-mav...gin/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 <Hakon.Sagehaug-Z0Nu1tTSNVIXWF+eFR7m5Q@public.gmane.org> schrieb am Mo, 10.11.2008: > Von: Håkon Sagehaug <Hakon.Sagehaug-Z0Nu1tTSNVIXWF+eFR7m5Q@public.gmane.org> > Betreff: Where to find open-jpa maven plugin > An: users-8spYzHhHo/jWgOoZo4XcuR2eb7JE58TQ@public.gmane.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) |
|
#3
| |||
| |||
| Hi Thanks for the info, it now works fine. cheers, Håkon 2008/11/10 Mark Struberg <struberg-LWAfsSFWpa4@public.gmane.org> > you can find the openjpa-maven-plugin in the codehaus mojo project > > http://mojo.codehaus.org/openjpa-mav...gin/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 <Hakon.Sagehaug-Z0Nu1tTSNVIXWF+eFR7m5Q@public.gmane.org> schrieb am Mo, 10.11.2008: > > > Von: Håkon Sagehaug <Hakon.Sagehaug-Z0Nu1tTSNVIXWF+eFR7m5Q@public.gmane.org> > > Betreff: Where to find open-jpa maven plugin > > An: users-8spYzHhHo/jWgOoZo4XcuR2eb7JE58TQ@public.gmane.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) |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.