Maven tomee mvn安装don';t包META-INF

Maven tomee mvn安装don';t包META-INF,maven,apache-tomee,meta-inf,Maven,Apache Tomee,Meta Inf,当尝试构建war文件时,maven不会使用pom打包任何META-INF: <modelVersion>4.0.0</modelVersion> <groupId>demo-test</groupId> <artifactId>core-parent</artifactId> <packaging>pom</packaging> <version>1.0.0</version>

当尝试构建war文件时,maven不会使用pom打包任何META-INF:

<modelVersion>4.0.0</modelVersion>
<groupId>demo-test</groupId>
<artifactId>core-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<name>test</name>
<url>http://maven.apache.org</url>

<properties>
    <test.core.version>1.0.0</test.core.version>
</properties>

<modules>
    <module>testDataModule</module>
    <module>testFramework</module>
    <module>testManagerModule</module>
    <module>CoreWar</module>
</modules>

<dependencies>
    <dependency>
        <groupId>javax</groupId>
        <artifactId>javaee-api</artifactId>
        <version>6.0</version>
        <!-- scope provided means the container delivers it -->
        <scope>provided</scope>
    </dependency>
</dependencies>

<build>
    <finalName>test</finalName>
    <plugins>
        <plugin>
            <groupId>org.apache.openejb.maven</groupId>
            <artifactId>tomee-maven-plugin</artifactId>
            <version>1.5.2</version>
            <configuration>
                <finalName>test</finalName>
                <tomeeVersion>1.5.2</tomeeVersion>
                <tomeeClassifier>plus</tomeeClassifier>
                <path>C:\test\code\test.core\CoreWar\target\test.war</path>
                <debug>true</debug>
                <tomeeHost>localhost</tomeeHost>
                <tomeeHttpPort>8080</tomeeHttpPort>
                <libs>
                    <lib>mysql:mysql-connector-java:5.1.20</lib>
                </libs>
            </configuration>
        </plugin>
        <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>1.6</source>
                <target>1.6</target>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <configuration>
                <webXml>..\testFramework\WebFramework\src\webapp\WEB-INF\web.xml</webXml>
                <outputFileNameMapping>@{groupId}@-@{artifactId}@@{dashClassifier?}@.@{extension}@</outputFileNameMapping>
            </configuration>
        </plugin>
    </plugins>
</build>
4.0.0
演示测试
核心父代
聚甲醛
1.0.0
测验
http://maven.apache.org
1.0.0
testDataModule
测试框架
testManagerModule
科雷瓦尔
爪哇
JavaEEAPI
6
假如
测验
org.apache.openejb.maven
tomee maven插件
1.5.2
测验
1.5.2
加
C:\test\code\test.core\CoreWar\target\test.war
符合事实的
本地服务器
8080
mysql:mysql连接器java:5.1.20
maven编译器插件
1.6
1.6
org.apache.maven.plugins
maven战争插件
..\testFramework\WebFramework\src\webapp\WEB-INF\WEB.xml
@{groupId}@-@{artifactId}@{dashClassifier?}@{extension}@

我试着到处放META-INF。 并且不要替换tomee.xml 我尝试了以下结构:

myApp->src->resources->meta inf/persistence.xml
myApp->src->webapp->meta-inf/persistence.xml

您尝试过webapp/WEB-inf/persistence.xml吗