Re: JDBC and Maven
Re: JDBC and Maven
- Subject: Re: JDBC and Maven
- From: Theodore Petrosky via Webobjects-dev <email@hidden>
- Date: Mon, 27 Jan 2025 09:34:50 -0500
OK, so help me out with setting up the GAV for this framework. I have a
workspace with a project called MyApp. I have a framework in this workspace
called MuApp_FW. I don't understand what to put in the pom. The framework lives
in my workspace.
> On Jan 26, 2025, at 8:07 PM, Ramsey Gurley <email@hidden> wrote:
>
> Hi Ted,
>
> You should not need a Libraries folder with maven, since maven manages all
> that for you. If you open the pom.xml in Eclipse, you can switch the tab on
> bottom from source to dependency hierarchy and you should see your driver jar
> listed in there.
>
> To add a framework, you do it the same way as adding the driver jar, by
> putting it in the pom.xml. It should be able to resolve your framework in the
> workspace given the correct GAV (groupId, artifactId, version).
>
> Ramsey
>
> On 1/26/25 4:46 AM, Theodore Petrosky via Webobjects-dev wrote:
>> Ok so I can create new Maven based apps. I can download the postgres JDBC
>> driver or the maven text:
>>
>> <dependency>
>> <groupId>org.postgresql</groupId>
>> <artifactId>postgresql</artifactId>
>> <version>42.7.5</version>
>> </dependency>
>>
>> I tried putting the postgresql-42.7.5.jar in /Libraries but my app still
>> does not see the driver.
>>
>> AND
>>
>> My app uses a framework that I created. How do I add it?
>>
>> Ted
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden <mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >JDBC and Maven (From: Theodore Petrosky via Webobjects-dev <email@hidden>) |
| >Re: JDBC and Maven (From: Ramsey Gurley via Webobjects-dev <email@hidden>) |