Hi Andrus,
WebObjects libs and Sun's jars have similar problems. We have to
manually download the jars and install into local repository.
Furthermore, these kinds of jars don't have any naming conventions.
As you and Ulrich said, we could create a plug-in or a goal on woproject
plug-in (woproject:bootstrap or woproject:prepare) that install these WO
jars into local repository or deploy to a remote repository.
In first place, however, I think we must define the naming conventions
for WO jars. For example:
GroupId: webobjects.apple
ArtifactId: java-wo-extensions
Version: 5.2.4
JAR name: java-wo-extensions-5.2.4.jar
We could implement a routine that search for
NEXT_ROOT/Library/WebObjects/lib, copy all jars to a temporary folder
with the new name (i.e. JavaWOExtensions.jar into
java-wo-extensions-${woversion}.jar) and call mvn install:install-file
to put these jars into local repository.
References about the topic:
[1]http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
[2]http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html
[3]http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html
Hope this helps.
Cheers,
Henrique
Andrus Adamchik wrote:
>
> On Sep 29, 2006, at 12:13 AM, Henrique Prange (JIRA) wrote:
>
>>
>> Maybe we could create a repository for webobjects libs and become
>> available at objectstyle server. I don't know, however, about legal
>> impediments.
>
> I don't think we can do that legally. We may check how this is done for
> other commercial libs (such as J2EE), but the simplest way would be to
> provide users with a script that bootsraps local repository from a
> standard WO installation ...
>
> Or maybe make it a Maven plugin itself - maven-wobootstrap-plugin? At
> least on Mac we know where those are located.
>
> Andrus
>
>
>
>
>
--\o/ Henrique Prange, Moleque de Idéias Educação e Tecnologia Ltda | Phone: 55-21-2710-0178 E-mail: hprang..oleque.com.br / \ http://www.moleque.com.br
This archive was generated by hypermail 2.0.0 : Fri Sep 29 2006 - 13:51:26 EDT