[Mulgara-dev] embedded server with eternal config files

Paul Gearon gearon at ieee.org
Fri Mar 4 15:39:16 UTC 2011


On Thu, Mar 3, 2011 at 2:17 PM, Gregg Reynolds <dev at mobileink.com> wrote:
> On Mon, Feb 28, 2011 at 2:41 AM, Agustina Martinez <amgcia at gmail.com> wrote:
>> Hi Gregg,
>>
>> Thanks a lot for your examples on how to configure Mulgara - Jetty with
>> Maven, it's been very useful since I am developping web-apps that use
>> Mulgara and I am using Maven to pack and deploy them.
>>
>> I've seen your example POM file and I was wondering whether Mulgara is
>> available through Maven since I've seen you have it as a Maven dependency in
>> your POM file, because I was not able to find it in the Maven repos.
>
> Hi,
>
> Sorry to get back to you late.  If you're asking whether I uploaded a
> mulgara jar to one of the Maven repositories, the answer is no.  I
> forget exactly what I did, but it was all local.  I think I might have
> just copied the jar into my development directory, but there is also a
> way you can add it to your local repo, I forget how.

I set the version number in a variable called VER, and then run these:

mvn install:install-file -Dfile=dist/mulgara-${VER}.jar
-DgroupId=org.mulgara -DartifactId=mulgara -Dversion=${VER}
-Dpackaging=jar
mvn install:install-file -Dfile=dist/driver-${VER}.jar
-DgroupId=org.mulgara -DartifactId=driver -Dversion=${VER}
-Dpackaging=jar

This installs the mulgara and driver jar files.

I'd put it into a central repository, but I never figured out how, and
no one ever asked me for it before.  :-}

Paul


More information about the Mulgara-dev mailing list