Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Maven Pom清洁问题_Maven_Spring Mvc_Pom.xml - Fatal编程技术网

Maven Pom清洁问题

Maven Pom清洁问题,maven,spring-mvc,pom.xml,Maven,Spring Mvc,Pom.xml,我在org.apache.maven.plugins上收到了这个maven clean错误: maven clean插件:2.4.1:clean未能删除C:\Users\Hobbs\git\heroku\reservosity\target\tomcat.8080\work\tomcat\localhost\uux\WEB-INF\lib\mysql-connector-java-5.1.20.jar 不知道为什么会这样。任何帮助都将不胜感激 日志: ApacheMaven 3.0.4(r123

我在
org.apache.maven.plugins
上收到了这个maven clean错误:

maven clean插件:2.4.1:clean未能删除C:\Users\Hobbs\git\heroku\reservosity\target\tomcat.8080\work\tomcat\localhost\uux\WEB-INF\lib\mysql-connector-java-5.1.20.jar

不知道为什么会这样。任何帮助都将不胜感激

日志:

ApacheMaven 3.0.4(r1232337;2012-01-17 08:44:56+0000) Maven home:C:\Users\Hobbs\git\heroku\reservosity\EMBEDDED Java版本:1.7.0_04,供应商:Oracle公司 Java主页:C:\Program Files\Java\jre7 默认区域设置:en_IE,平台编码:Cp1252 操作系统名称:“windows 7”,版本:“6.1”,arch:“amd64”,系列:“windows” SLF4J:未能加载类“org.SLF4J.impl.StaticLoggerBinder”。 SLF4J:默认为无操作(NOP)记录器实现 SLF4J:参见http://www.slf4j.org/codes.html#StaticLoggerBinder 详情请参阅。 [信息]错误堆栈跟踪已打开。 [调试]从EMBEDDED\conf\settings.xml读取全局设置 [调试]从C:\Users\Hobbs\.m2\settings.xml读取用户设置 [调试]在C:\Users\Hobbs\.m2\repository使用本地存储库 [调试]对于C:\Users\Hobbs\.m2\存储库,使用优先级为10的管理器增强本地存储管理器 [信息]正在扫描项目。。。 [DEBUG]project com的扩展域。示例:Reservity:war:0.0.1-SNAPSHOT:(无) [DEBUG]从ClassRealm[plexus.core,parent:null]查找打包war的生命周期映射 [警告] [警告]为com构建有效模型时遇到一些问题。例如:Reservity:war:0.0.1-SNAPSHOT [警告]“org.apache.maven.plugins:maven编译器插件”的“build.plugins.plugin.version”丢失。@第232行第12列 [警告] [警告]强烈建议修复这些问题,因为它们会威胁到构建的稳定性。 [警告] [警告]出于这个原因,未来的Maven版本可能不再支持构建这种格式错误的项目。 [警告] [调试]==反应堆建造计划================================================ [DEBUG]项目:com.示例:reservity:war:0.0.1-SNAPSHOT [调试]任务:[清除] [调试]样式:常规 [调试]======================================================================= [信息] [信息]------------------------------------------------------------------------ [信息]建筑储层0.0.1-快照 [信息]------------------------------------------------------------------------ [调试]生命周期默认值->[验证、初始化、生成源、流程源、生成资源、流程资源、编译、流程类、生成测试源、流程测试源、生成测试资源、流程测试资源、测试编译、流程测试类、测试、准备包、包、集成前测试、集成测试、集成后测试,v验证、安装、部署] [调试]生命周期清理->[预清理、清理、后清理] [调试]生命周期站点->[站点前、站点后、站点部署] [调试]生命周期默认值->[验证、初始化、生成源、流程源、生成资源、流程资源、编译、流程类、生成测试源、流程测试源、生成测试资源、流程测试资源、测试编译、流程测试类、测试、准备包、包、集成前测试、集成测试、集成后测试,v验证、安装、部署] [调试]生命周期清理->[预清理、清理、后清理] [调试]生命周期站点->[站点前、站点后、站点部署] [调试]==项目构建计划================================================ [调试]项目:com.示例:Reservity:0.0.1-SNAPSHOT [调试]依赖项(收集):[] [调试]依赖项(解析):[] [DEBUG]存储库(依赖项):[central](http://repo.maven.apache.org/maven2,发布)] [DEBUG]存储库(插件):[central(http://repo.maven.apache.org/maven2,发布)] [调试]----------------------------------------------------------------------- [调试]目标:org.apache.maven.plugins:maven clean插件:2.4.1:clean(默认清洁) [调试]样式:常规 [调试]配置: ${clean.excludeDefaultDirectory} ${maven.clean.failOnError} ${clean.followSymLinks} ${clean.skip} ${clean.verbose} [调试]======================================================================= [信息] [信息]---maven clean插件:2.4.1:clean(默认清洁)@Reservosity--- [DEBUG]创建了新的类领域maven.api [DEBUG]将外部包导入类领域maven.api [调试]导入:org.apache.maven.wagen.eventsApache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000) Maven home: C:\Users\Hobbs\git\heroku\reservosity\EMBEDDED Java version: 1.7.0_04, vendor: Oracle Corporation Java home: C:\Program Files\Java\jre7 Default locale: en_IE, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from EMBEDDED\conf\settings.xml [DEBUG] Reading user settings from C:\Users\Hobbs\.m2\settings.xml [DEBUG] Using local repository at C:\Users\Hobbs\.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for C:\Users\Hobbs\.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project com.example:Reservosity:war:0.0.1-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null] [WARNING] [WARNING] Some problems were encountered while building the effective model for com.example:Reservosity:war:0.0.1-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 232, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: com.example:Reservosity:war:0.0.1-SNAPSHOT [DEBUG] Tasks: [clean] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Reservosity 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: com.example:Reservosity:0.0.1-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] Repositories (dependencies): [central (http://repo.maven.apache.org/maven2, releases)] [DEBUG] Repositories (plugins) : [central (http://repo.maven.apache.org/maven2, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> <configuration> <directory default-value="${project.build.directory}"/> <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories} </excludeDefaultDirectories> <failOnError default-value="true">${maven.clean.failOnError}</failOnError> <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks> <outputDirectory default-value="${project.build.outputDirectory}"/> <reportDirectory default-value="${project.reporting.outputDirectory}"/> <skip default-value="false">${clean.skip}</skip> <testOutputDirectory default-value="${project.build.testOutputDirectory}"/> <verbose>${clean.verbose}</verbose> </configuration> [DEBUG] ======================================================================= [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Reservosity --- [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.sonatype.aether.transfer < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.sonatype.aether.metadata < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.sonatype.aether.collection < plexus.core [DEBUG] Imported: org.sonatype.aether.version < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.sonatype.aether.repository < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.sonatype.aether.artifact < plexus.core [DEBUG] Imported: org.sonatype.aether.spi < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.sonatype.aether.graph < plexus.core [DEBUG] Imported: org.sonatype.aether.* < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.sonatype.aether.impl < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.sonatype.aether.deployment < plexus.core DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.sonatype.aether.installation < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.sonatype.aether.resolution < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Populating class realm maven.api [DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.5:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1 [DEBUG] Included: org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5 [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1, parent: sun.misc.Launcher$AppClassLoader@2d8ed284] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean' with basic configurator --> [DEBUG] (f) directory = C:\Users\Hobbs\git\heroku\reservosity\target [DEBUG] (f) excludeDefaultDirectories = false [DEBUG] (f) failOnError = true [DEBUG] (f) followSymLinks = false [DEBUG] (f) outputDirectory = C:\Users\Hobbs\git\heroku\reservosity\target\classes [DEBUG] (f) reportDirectory = C:\Users\Hobbs\git\heroku\reservosity\target\site [DEBUG] (f) skip = false [DEBUG] (f) testOutputDirectory = C:\Users\Hobbs\git\heroku\reservosity\target\test-classes [DEBUG] -- end configuration -- [INFO] Deleting C:\Users\Hobbs\git\heroku\reservosity\target [INFO] Deleting file C:\Users\Hobbs\git\heroku\reservosity\target\tomcat.8080\work\Tomcat\localhost\_\WEB-INF\lib\mysql-connector-java-5.1.20.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.408s [INFO] Finished at: Thu Feb 28 21:21:27 GMT 2013 [INFO] Final Memory: 4M/121M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean- plugin:2.4.1:clean (default-clean) on project Reservosity: Failed to clean project: Failed to delete C:\Users\Hobbs\git\heroku\reservosity\target\tomcat.8080\work\Tomcat\localhost \_\WEB-INF\lib\mysql-connector-java-5.1.20.jar -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project Reservosity: Failed to clean project: Failed to delete C:\Users\Hobbs\git\heroku \reservosity\target\tomcat.8080\work\Tomcat\localhost\_\WEB-INF\lib\mysql-connector- java-5.1.20.jar
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>Reservosity</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>

<properties>
    <org.springframework.version>3.1.1.RELEASE</org.springframework.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <version>3.0.1</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>${org.springframework.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-orm</artifactId>
        <version>${org.springframework.version}</version>
    </dependency>
    <dependency>
        <groupId>taglibs</groupId>
        <artifactId>standard</artifactId>
        <version>1.1.2</version>
    </dependency>
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>jstl</artifactId>
        <version>1.2</version>
    </dependency>
    <dependency>
        <groupId>org.hsqldb</groupId>
        <artifactId>hsqldb</artifactId>
        <version>2.2.8</version>
    </dependency>
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.20</version>
    </dependency>
    <dependency>
        <groupId>commons-dbcp</groupId>
        <artifactId>commons-dbcp</artifactId>
        <version>1.4</version>
    </dependency>
    <dependency>
        <groupId>com.github.jsimone</groupId>
        <artifactId>webapp-runner</artifactId>
        <version>7.0.27.1</version>
        <scope>provided</scope>
    </dependency>


    <!-- Tiles dependency -->
    <dependency>
        <groupId>org.apache.tiles</groupId>
        <artifactId>tiles-core</artifactId>
        <version>3.0.1</version>
    </dependency>

    <dependency>
        <groupId>org.apache.tiles</groupId>
        <artifactId>tiles-jsp</artifactId>
        <version>3.0.1</version>
    </dependency>
    <dependency>
        <groupId>org.apache.tiles</groupId>
        <artifactId>tiles-api</artifactId>
        <version>2.2.1</version>
    </dependency>
    <dependency>
        <groupId>org.apache.tiles</groupId>
        <artifactId>tiles-servlet</artifactId>
        <version>3.0.1</version>
    </dependency>
    <dependency>
        <groupId>org.apache.tiles</groupId>
        <artifactId>tiles-template</artifactId>
        <version>3.0.1</version>
    </dependency>

    <!-- Security -->
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-core</artifactId>
        <version>3.1.3.RELEASE</version>
        <exclusions>
            <exclusion>
                <artifactId>spring-asm</artifactId>
                <groupId>org.springframework</groupId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-web</artifactId>
        <version>3.1.3.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-config</artifactId>
        <version>3.1.3.RELEASE</version>
    </dependency>

    <dependency>
        <groupId>javax.validation</groupId>
        <artifactId>validation-api</artifactId>
        <version>1.0.0.GA</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-entitymanager</artifactId>
        <version>4.1.9.Final</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-validator</artifactId>
        <version>4.3.1.Final</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-c3p0</artifactId>
        <version>4.1.9.Final</version>
    </dependency>
    <dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time</artifactId>
        <version>2.1</version>
    </dependency>

    <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-mapper-asl</artifactId>
        <version>1.9.11</version>
    </dependency>
    <!-- Junit API -->
    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.8.1</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-all</artifactId>
        <version>1.9.5</version>
    </dependency>


    <!-- JavaMail API -->
    <dependency>
        <groupId>javamail</groupId>
        <artifactId>javamail</artifactId>
        <version>1.3.3</version>
    </dependency>
    <!-- Java Activation -->
    <dependency>
        <groupId>javax.activation</groupId>
        <artifactId>activation</artifactId>
        <version>1.1.1</version>
    </dependency>
    <!-- JavaMail extension -->
    <dependency>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        <version>1.4.6-rc1</version>
    </dependency>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>1.7.1</version>
    </dependency>
    <!-- slf4j-bridge for commons-logging -->
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>jcl-over-slf4j</artifactId>
        <version>1.7.1</version>
    </dependency>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-log4j12</artifactId>
        <version>1.7.1</version>
    </dependency>

    <!-- The newrelic-agent.jar dependency. -->
    <dependency>
        <groupId>com.newrelic.agent.java</groupId>
        <artifactId>newrelic-agent</artifactId>
        <version>2.12.0</version>
        <scope>provided</scope>
    </dependency>
    <!-- The newrelic-api.jar dependency. -->
    <dependency>
        <groupId>com.newrelic.agent.java</groupId>
        <artifactId>newrelic-api</artifactId>
        <version>2.12.0</version>
        <scope>compile</scope>
    </dependency>
    <!-- The newrelic-java.zip dependency. -->
    <dependency>
        <groupId>com.newrelic.agent.java</groupId>
        <artifactId>newrelic-java</artifactId>
        <version>2.12.0</version>
        <scope>provided</scope>
        <type>zip</type>
    </dependency>
    <dependency>
        <groupId>aspectj</groupId>
        <artifactId>aspectjweaver</artifactId>
        <version>1.5.4</version>
    </dependency>
    <dependency>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.2</version>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>1.6</source>
                <target>1.6</target>
            </configuration>
        </plugin>
        <plugin>
            <artifactId>maven-war-plugin</artifactId>
            <version>2.2</version>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <version>2.4</version>
            <executions>
                <execution>
                    <id>unpack-zip</id>
                    <phase>package</phase>
                    <goals>
                        <goal>unpack-dependencies</goal>
                    </goals>
                    <configuration>
                        <artifactItems>
                            <artifactItem>
                                <groupId>com.newrelic.agent.java</groupId>
                                <artifactId>newrelic-java</artifactId>
                                <version>theVersion</version>
                                <type>zip</type>
                                <overWrite>true</overWrite>
                                <outputDirectory>target</outputDirectory>
                                <destFileName>newrelic</destFileName>
                            </artifactItem>
                        </artifactItems>
                        <outputDirectory>/newrelic</outputDirectory>
                    </configuration>
                </execution>
                <execution>
                    <phase>package</phase>
                    <goals>
                        <goal>copy</goal>
                    </goals>
                    <configuration>
                        <artifactItems>
                            <artifactItem>
                                <groupId>com.github.jsimone</groupId>
                                <artifactId>webapp-runner</artifactId>
                                <version>7.0.27.1</version>
                                <destFileName>webapp-runner.jar</destFileName>
                            </artifactItem>
                        </artifactItems>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>