On 9/9/07, Hussein Badakhchani <[EMAIL PROTECTED]> wrote:
> Pascal.
>
> Thanks for the quick response:
>
> > BTW, the following dependency is really strange too. I don't know why
> > you had to add it.
> >
> >       <dependency>
> >         <groupId>com.sun</groupId>
> >         <artifactId>tools</artifactId>
> >         <version>1.5.0_11</version>
> >       </dependency>
> >
>
> I understand the that this is a requirement of the plugin, it was detailed
> in the instructions I found. I haven't tried removing it to see how it
> breaks, I'll give it an go to see what happens.

Oh yes, right. According to
http://mojo.codehaus.org/weblogic-maven-plugin/appc-use.html, this
dependency has been removed from the plugin's pom.xml because of
issues with Mac users (there is no tools.jar on mac os) so you have
now to deal with it in your project pom.

In my very humble opinion, this solution is a bit hugly. Again, I may
be wrong but I think this should be handled *in* the maven plugin,
like the cargo team is doing with the JdkUtils class (see
http://tinyurl.com/2rbpfu and it's usage).

Anyway, you currently have too add it somewhere (settings.xml or
pom.xml) to use weblogic:appc.

I'll do some tests.

>
> I'll also try declaring the dependencies of the plugin in it's own pom.
> Thanks again for the pointer.
>
> Cheers.
> Hoos
>
> > On 9/8/07, Hussein Badakhchani <[EMAIL PROTECTED]> wrote:
> >> Hello,
> >>
> >> In case anyone is interested I have posted some instructions for
> >> installing and using the Maven WebLogic Plug in on my blog.
> >>
> >> http://dev2dev.bea.com/blog/hoos/archive/2007/09/using_appc_with.html
> >>
> >> I am new to Maven and thus my implementation may not be optimal. For
> >> instance I found that I had to describe the dependencies twice in my
> >> pom.xml file, is this a standard thing in Maven or have I missed
> >> something?
> >>
> >> Also I found that Maven includes all the jars used to precompile JSPs
> >> into
> >> the final package, so I end up with files like weblogic.jar being
> >> deployed. I would like to know what options there are for filtering such
> >> files as the inclusion of the files violates our packaging
> >> specifications.
> >>
> >> Many thanks,
> >> Hoos
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > Pascal
> >
>
>
> --
> Hussein Badakhchani
> Xenith Consulting Limited
>
> Blog: http://dev2dev.bea.com/blog/hoos/
>
>


-- 
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to