0

I want to persist a class to an RDMS datastore and I created custom mapping. In the datanucleus documentation, it mentioned.

The only thing we need to do is enable use of this Java type when running DataNucleus. To do this we create a plugin.xml (at the root of our CLASSPATH) to contain our mappings.

I added plugin.xml in src/main/resources of my webapp module. It also stated that,

Note that we also require a MANIFEST.MF file as per the Extensions Guide.

But I cannot generate META-INF and manifest.mf even if I've added this in my pom.xml (of webapp module):

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        ...
        <configuration>
          <archive>
            <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
          </archive>
        </configuration>
    ...
    </plugin>

Can someone enlighten me? Any help is greatly appreciated.

elL
  • 767
  • 2
  • 14
  • 35
  • 2
    `maven-jar-plugin` will generate a `MANIFEST.MF` by default. Remove your current configuration, post your POM, and post the result you are having. – Tunaki Oct 15 '15 at 08:07
  • 1
    oh sorry, i totally missed where the location it generated. i've just found it – elL Oct 15 '15 at 08:33

0 Answers0