On Fri, 2002-12-27 at 16:16, John Casey wrote:
> I can't seem to get glob includes/excludes to work in jarResources...
>
> I'm trying to specify a set of interface implementations via the
> jar discovery mechanism (META-INF/services/<interface-name>) and include
> these files in the jar file when the build takes place. I have the
> files created, but I can't seem to get the service specs included in the
> jar file. Does anyone know of a project I can look at to get an example
> of this?
jarResources is gone, look at maven's project.xml file itself. The
resource handling was unified a few weeks ago to this:
<resources>
<resource>
<directory>src/conf</directory>
<includes>
<include>*.xsd</include>
<include>*.dtd</include>
<include>*.mod</include>
<include>log4j.properties</include>
<include>driver.jelly</include>
<include>driver.properties</include>
</includes>
</resource>
<resource>
<directory>src/messages</directory>
<targetPath>org/apache/maven/messages</targetPath>
<includes>
<include>messages*.properties</include>
</includes>
</resource>
</resources>
</build>
Everything is specified in the POM now.
> Thanks,
> John
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>