Hi all,

I have a maven project that produces a jar file. Attached to the lifecycle of the project, is a build of some c++ code into a shared library, that I need included in the jar file.

I thought this would do the trick, but it has no effect - my c++ library is ignored:

      <resource>
        <directory>${project.build.directory}/build</directory>
        <includes>
          <include>**/*.dll</include>
          <include>**/*.so</include>
          <include>**/*.dylib</include>
        </includes>
      </resource>

Running maven with -X doesn't come up with anything useful, the jar plugin doesn't mention where it looks for files for inclusion.

Am I going about this the right way?

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to