You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2007/12/26 21:47:42 UTC
[m2] addition resources to an ear?
I have this in my ear's pom.xml
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<targetPath>META-INF</targetPath>
<filtering>true</filtering>
</resource>
</resources>
but my orion.xml inside ${basedir}/src/main/resources does not get included
into my ear.
Can anyone help please?
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---
Re: [m2] addition resources to an ear?
Posted by Wayne Fay <wa...@gmail.com>.
As documented [1], the EAR plugin uses /src/main/application by
default. I'm not sure if it supports additional <resource> directives.
http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html#earSourceDirectory
Wayne
On Dec 26, 2007 2:47 PM, Mick Knutson <mi...@gmail.com> wrote:
> I have this in my ear's pom.xml
>
> <resources>
> <resource>
> <directory>${basedir}/src/main/resources</directory>
> <targetPath>META-INF</targetPath>
> <filtering>true</filtering>
> </resource>
> </resources>
>
> but my orion.xml inside ${basedir}/src/main/resources does not get included
> into my ear.
>
> Can anyone help please?
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven.proxy.nonProxyHosts
Posted by Do...@gmx.de.
Hi,
isn't there anyone who could help me out with my proxy / no proxy problem using Maven 1.1.?
>Nope, we don't need a proxy username or password -
>
>plus, the IP I wrote down is the IP that should NOT use a proxy.
>When I type in the IP into my browser, I can see the maven repository.
>And when I remove the proxy setting it also works in Maven.
>
>With these settings:
>maven.repo.remote=http://192.168.0.54
>maven.proxy.nonProxyHosts=http://192.168.0.54
>#maven.proxy.host=MYPROXY
>#maven.proxy.port=8080
>
>It works (but then the urls that need a proxy don't work anymore...)
>
>maven tomcat:deploy
>Trying to get missing dependencies (and updated snapshots) required by >MYPROJECT:
>- Attempting to download MYFOLDER:MYDEPENDENCY:jar from >http://192.168.0.54
>70K downloaded
>Well, actually, I am just thinking - the IP I wrote down needs to be >tunneled in a VPN. But
>when I am in the VPN tunnel, should that also apply for Maven? In Tomcat >I added noProxy Settings
>like this:
>
>http.proxyPort=8080
>http.proxyHost=MYPROXY
>http.nonProxyHosts=localhost||192.168.*
>
>And with Tomcat it does work that way.
Thanks in advance,
Christine
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] addition resources to an ear?
Posted by Stephane Nicoll <st...@gmail.com>.
On Dec 27, 2007 5:54 PM, Mick Knutson <mi...@gmail.com> wrote:
> First off, thank you SO MUCH for the response. It works like a charm.
>
> But, second, where is this documented? I assumed that the <resources>
> declaration was the same with all modules, and now I find another directory
> I needed to add.
Well, it depends. I think it was a misunderstanding with the original
version of the EAR plugin. Using resources for this is indeed the way
to go but at that time it wasn't that clear (hence the specific
directory for the ear)
See http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html#earSourceDirectory
Stéphane
>
>
>
>
> On Dec 27, 2007 8:41 AM, Tom Huybrechts <to...@gmail.com> wrote:
>
> > just put in src/main/application ?
> >
> > On Dec 27, 2007 5:39 PM, Mick Knutson <mi...@gmail.com> wrote:
> >
> > > Is this not possible? I really have a Oc4j requirement that I need to
> > add
> > > an
> > > orion-application.xml into my ear. Can someone please help me add this?
> > >
> > > On Dec 26, 2007 12:47 PM, Mick Knutson <mi...@gmail.com> wrote:
> > >
> > > > I have this in my ear's pom.xml
> > > >
> > > > <resources>
> > > > <resource>
> > > > <directory>${basedir}/src/main/resources</directory>
> > > > <targetPath>META-INF</targetPath>
> > > > <filtering>true</filtering>
> > > > </resource>
> > > > </resources>
> > > >
> > > > but my orion.xml inside ${basedir}/src/main/resources does not get
> > > > included into my ear.
> > > >
> > > > Can anyone help please?
> > > >
> > > > --
> > > > Thanks,
> > > > Mick Knutson
> > > >
> > > > http://www.baselogic.com
> > > > http://www.blincmagazine.com
> > > > http://www.djmick.com
> > > > http://www.myspace.com/mickknutson
> > > > http://www.myspace.com/BLiNCMagazine
> > > > http://tahoe.baselogic.com
> > > > ---
> > >
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > > http://www.myspace.com/BLiNCMagazine
> > > http://tahoe.baselogic.com
> > > ---
> > >
> >
>
>
>
> --
>
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] addition resources to an ear?
Posted by Mick Knutson <mi...@gmail.com>.
First off, thank you SO MUCH for the response. It works like a charm.
But, second, where is this documented? I assumed that the <resources>
declaration was the same with all modules, and now I find another directory
I needed to add.
On Dec 27, 2007 8:41 AM, Tom Huybrechts <to...@gmail.com> wrote:
> just put in src/main/application ?
>
> On Dec 27, 2007 5:39 PM, Mick Knutson <mi...@gmail.com> wrote:
>
> > Is this not possible? I really have a Oc4j requirement that I need to
> add
> > an
> > orion-application.xml into my ear. Can someone please help me add this?
> >
> > On Dec 26, 2007 12:47 PM, Mick Knutson <mi...@gmail.com> wrote:
> >
> > > I have this in my ear's pom.xml
> > >
> > > <resources>
> > > <resource>
> > > <directory>${basedir}/src/main/resources</directory>
> > > <targetPath>META-INF</targetPath>
> > > <filtering>true</filtering>
> > > </resource>
> > > </resources>
> > >
> > > but my orion.xml inside ${basedir}/src/main/resources does not get
> > > included into my ear.
> > >
> > > Can anyone help please?
> > >
> > > --
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > > http://www.myspace.com/BLiNCMagazine
> > > http://tahoe.baselogic.com
> > > ---
> >
> >
> >
> >
> > --
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/BLiNCMagazine
> > http://tahoe.baselogic.com
> > ---
> >
>
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---
Re: [m2] addition resources to an ear?
Posted by Tom Huybrechts <to...@gmail.com>.
just put in src/main/application ?
On Dec 27, 2007 5:39 PM, Mick Knutson <mi...@gmail.com> wrote:
> Is this not possible? I really have a Oc4j requirement that I need to add
> an
> orion-application.xml into my ear. Can someone please help me add this?
>
> On Dec 26, 2007 12:47 PM, Mick Knutson <mi...@gmail.com> wrote:
>
> > I have this in my ear's pom.xml
> >
> > <resources>
> > <resource>
> > <directory>${basedir}/src/main/resources</directory>
> > <targetPath>META-INF</targetPath>
> > <filtering>true</filtering>
> > </resource>
> > </resources>
> >
> > but my orion.xml inside ${basedir}/src/main/resources does not get
> > included into my ear.
> >
> > Can anyone help please?
> >
> > --
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/BLiNCMagazine
> > http://tahoe.baselogic.com
> > ---
>
>
>
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>
Re: [m2] addition resources to an ear?
Posted by Mick Knutson <mi...@gmail.com>.
Is this not possible? I really have a Oc4j requirement that I need to add an
orion-application.xml into my ear. Can someone please help me add this?
On Dec 26, 2007 12:47 PM, Mick Knutson <mi...@gmail.com> wrote:
> I have this in my ear's pom.xml
>
> <resources>
> <resource>
> <directory>${basedir}/src/main/resources</directory>
> <targetPath>META-INF</targetPath>
> <filtering>true</filtering>
> </resource>
> </resources>
>
> but my orion.xml inside ${basedir}/src/main/resources does not get
> included into my ear.
>
> Can anyone help please?
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---