Hi,

always thought it behaves the same except for some maven specific plugin 
specifications inside POM. Anyway. Will fiddle around with all that. 
For now it works and my setup is a little bit cleaner/lighter than using 
<dependency org="org.apache.openjpa" name="openjpa" rev="2.1.0">.


---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de




Am 01.03.2011 um 19:00 schrieb Michael Dick:

> Just read up (a little) on ivy. My comments about openjpa-persistence-jdbc
> were assuming it would pull the same dependencies as maven - which might not
> be the case.
> 
> This:  <dependency org="org.apache.openjpa" name="openjpa" rev="2.1.0"
> conf="default->default,sources,javadoc"/> should still work though.
> 
> -mike
> 
> On Tue, Mar 1, 2011 at 11:37 AM, Michael Dick <michael.d.d...@gmail.com>wrote:
> 
>> Off the top of my head you should only need openjpa-persistence-jdbc to get
>> 'most' of the JPA function. That should pull in lib,kernel,jdbc, and
>> persistence as dependencies for you.
>> 
>> Or just
>> <dependency org="org.apache.openjpa" name="openjpa" rev="2.1.0"
>> conf="default->default,sources,javadoc"/>
>> 
>> Which will probably grab everything (should be smaller than apache-openjpa
>> though).
>> 
>> -mike
>> 
>> 
>> On Tue, Mar 1, 2011 at 10:03 AM, Marc Logemann <l...@logemann.org> wrote:
>> 
>>> Yeah. You have this dependency page when it comes to plain old jars,
>>> manually managed, but with Maven, one needs advice what kind of artifacts
>>> one needs for what kind of situation:
>>> 
>>> I stopped using this dep:
>>> 
>>> <dependency org="org.apache.openjpa" name="apache-openjpa" rev="2.0.1"
>>> conf="default->default,sources,javadoc"/>
>>> 
>>> (there i had no sources and a lot of stuff was downloaded)
>>> 
>>> Now i use:
>>> 
>>>      <dependency org="org.apache.openjpa" name="openjpa-jdbc"
>>> rev="2.1.0" conf="default->default,sources,javadoc"/>
>>>      <dependency org="org.apache.openjpa" name="openjpa-kernel"
>>> rev="2.1.0" conf="default->default,sources,javadoc"/>
>>>      <dependency org="org.apache.openjpa" name="openjpa-lib" rev="2.1.0"
>>> conf="default->default,sources,javadoc"/>
>>>      <dependency org="org.apache.openjpa" name="openjpa-persistence"
>>> rev="2.1.0" conf="default->default,sources,javadoc"/>
>>>      <dependency org="org.apache.openjpa"
>>> name="openjpa-persistence-jdbc" rev="2.1.0"
>>> conf="default->default,sources,javadoc"/>
>>>      <dependency org="org.apache.geronimo.specs"
>>> name="geronimo-jpa_2.0_spec" rev="1.1"/>
>>> 
>>> But i perhaps one or two lines are useless. I would like to see a page
>>> where these different dependencies are explained. There are some more where
>>> i guessed from the name that they are not cruical.
>>> 
>>> 
>>> ---
>>> regards
>>> Marc Logemann
>>> http://www.logemann.org
>>> http://www.logentis.de
>>> 
>>> 
>>> 
>>> 
>>> Am 01.03.2011 um 16:32 schrieb Kevin Sutter:
>>> 
>>>> We do have this page that describes the various openjpa dependencies and
>>> how
>>>> they are packaged (or not) with the openjpa distributions:
>>>> 
>>>> http://openjpa.apache.org/build-and-runtime-dependencies.html
>>>> 
>>>> But, the maven dependency information seems to be "missing"...  Adding
>>> it to
>>>> this page seems like the logical location...
>>>> 
>>>> Kevin
>>>> 
>>>> On Tue, Mar 1, 2011 at 9:19 AM, Michael Dick <michael.d.d...@gmail.com
>>>> wrote:
>>>> 
>>>>> At one time there was a wiki page with this information (I think), but
>>> I
>>>>> can't find right now.
>>>>> 
>>>>> I did find an old mailing list post that might be a good starting
>>>>> point<http://markmail.org/message/j3nzhnn6pg7uwnk3>.
>>>>> 
>>>>> 
>>>>> Let us know if this is what you need and we'll see if we can get an up
>>> to
>>>>> date version added to the website.
>>>>> 
>>>>> -mike
>>>>> 
>>>>> On Mon, Feb 28, 2011 at 7:37 PM, Marc Logemann <l...@logemann.org>
>>> wrote:
>>>>> 
>>>>>> Ah sorry. Used the wrong maven dependency in my ivy setup. But still
>>>>>> wondering where i can find a documention about the various parts of
>>>>> openjpa
>>>>>> you can get via Maven and its meanings. Right now i am in trial and
>>> error
>>>>>> mode which of them i really need....
>>>>>> 
>>>>>> ---
>>>>>> regards
>>>>>> Marc Logemann
>>>>>> http://www.logemann.org
>>>>>> http://www.logentis.de
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Am 01.03.2011 um 02:15 schrieb Marc Logemann:
>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> i am really missing a src jar. And while i am thinking about it. it
>>>>> would
>>>>>> be nice if this would be shipped on request via Maven Reps as well.
>>>>>>> 
>>>>>>> ---
>>>>>>> regards
>>>>>>> Marc Logemann
>>>>>>> http://www.logemann.org
>>>>>>> http://www.logentis.de
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>> 
>>> 
>> 

Reply via email to