Where to find open-jpa maven plugin

This is a discussion on Where to find open-jpa maven plugin within the Apache forums in Application Servers & Tools category; 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)...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-10-2008, 08:09 AM
Håkon Sagehaug
Guest
 
Default 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)

Reply With Quote
  #2  
Old 11-10-2008, 11:16 AM
Mark Struberg
Guest
 
Default AW: Where to find open-jpa maven plugin

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)





Reply With Quote
  #3  
Old 11-10-2008, 11:47 AM
Håkon Sagehaug
Guest
 
Default Re: Where to find open-jpa maven plugin

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)

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:39 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.