This is the only reference I have to "surefire" in my POM file. ...snip... <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9</version> <configuration> <source>${jdk-source.version}</source> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.15</version> </plugin> ...snip...
I am assuming that some other dependency is pulling in maven-surefire-plugin. I have also tried to comment out <reporting> ... </reporting> and I still get the error. STEVEN M NELLIGAN -----Original Message----- From: Antoine Mottier <antoine.mott...@ow2.org> Sent: Thursday, May 5, 2022 9:00 AM To: Maven Users List <users@maven.apache.org> Subject: Re: Problem with an Maven Build Starting with version 3.0.0-M6 maven-surefire-plugin requires Java 8 or higher. As you are running it using Java 7 this explains your issue. You can either get back to version 3.0.0-M5 or upgrade to a newer version of Java. Regards, -- Antoine Mottier "Nelligan, Steven M" <snell...@illinois.edu> a écrit : > Please any assistance would be appreciated > > Building a maven project is getting the following error(s) I have not > changed anything in the project, so I assume something changed in the > repositories.... > How can I get this project built? > > INFORMATION FOLLOWS: > > ______________________________________________________________________ > ________________________ > I am running maven version 3.6.3: > C:\dev\projects\muleextcharge>mvn -version > Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\Program Files\apache-maven-3.6.3\bin\.. > Java version: 1.7.0_80, vendor: Oracle Corporation, runtime: > C:\Program Files\Java\jdk1.7.0_80\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 8.1", version: "6.3", arch: "amd64", > family: "windows" > > ______________________________________________________________________ > ________________________ While building I get the following error (if > I run maven with dependency:tree, surefire does NOT show in the tree) > C:\dev\projects\muleextcharge>mvn -P vDev2 clean install -U > -Dmaven.test.skip=true > [INFO] Scanning for projects... > [INFO] > [INFO] ---------------------< edu.uiuc.fs:muleextcharge > >---------------------- > [INFO] Building Mule Muleextcharge Application 1.0.0 > [INFO] --------------------------------[ mule > ]-------------------------------- > Downloading from java.net-Public: > https://urldefense.com/v3/__https://maven.java.net/content/groups/public/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvK5Sor5R$ > > Downloading from central: > https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvFfzy85k$ > > Downloaded from central: > https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/org/a > pache/maven/plugins/maven-resources-plugin/maven-metadata.xml__;!!DZ3f > jg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sX > bektttY998yI15I6mvFfzy85k$ (874 B at 1.6 > kB/s) > Downloading from java.net-Public: > https://urldefense.com/v3/__https://maven.java.net/content/groups/public/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvPpcbd1G$ > > Downloading from central: > https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvKT-QjwK$ > > Downloaded from central: > https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/org/a > pache/maven/plugins/maven-surefire-plugin/maven-metadata.xml__;!!DZ3fj > g!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXb > ektttY998yI15I6mvKT-QjwK$ (1.9 kB at 25 > kB/s) > Downloading from central: > https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvOlEQUtO$ > > Downloading from java.net-Public: > https://urldefense.com/v3/__https://maven.java.net/content/groups/public/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvNok_rYB$ > > Downloaded from central: > https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/org/a > pache/maven/plugins/maven-deploy-plugin/maven-metadata.xml__;!!DZ3fjg! > _ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbek > tttY998yI15I6mvOlEQUtO$ (783 B at 14 > kB/s) > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ muleextcharge > --- > [INFO] Deleting C:\dev\projects\muleextcharge\target > [INFO] > [INFO] --- maven-mule-plugin:1.9:attach-test-resources > (default-attach-test-resources) @ muleextcharge --- > [INFO] attaching test resource > C:\dev\projects\muleextcharge\src\main\app > [INFO] > [INFO] --- maven-resources-plugin:3.2.0:resources > (default-resources) @ muleextcharge --- > [INFO] Using 'Cp1252' encoding to copy filtered resources. > [INFO] Using 'Cp1252' encoding to copy filtered properties files. > [INFO] Copying 0 resource > [INFO] > [INFO] --- maven-mule-plugin:1.9:filter-resources > (default-filter-resources) @ muleextcharge --- > [INFO] > [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ > muleextcharge --- > [INFO] Nothing to compile - all classes are up to date > [INFO] > [INFO] --- maven-resources-plugin:3.2.0:testResources > (default-testResources) @ muleextcharge --- > [INFO] Not copying test resources > [INFO] > [INFO] --- maven-compiler-plugin:3.1:testCompile > (default-testCompile) @ muleextcharge --- > [INFO] Not compiling test sources > [INFO] > [INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ > muleextcharge --- > [WARNING] Error injecting: > org.apache.maven.plugin.surefire.SurefirePlugin > java.lang.TypeNotPresentException: Type > org.apache.maven.plugin.surefire.SurefirePlugin not present > at org.eclipse.sisu.space.URLClassSpace.loadClass > (URLClassSpace.java:147) > at org.eclipse.sisu.space.NamedClass.load (NamedClass.java:46) > at org.eclipse.sisu.space.AbstractDeferredClass.get > (AbstractDeferredClass.java:48) > at com.google.inject.internal.ProviderInternalFactory.provision > (ProviderInternalFactory.java:85) > at > com.google.inject.internal.InternalFactoryToInitializableAdapter.provi > sion > (InternalFactoryToInitializableAdapter.java:57) > at com.google.inject.internal.ProviderInternalFactory$1.call > (ProviderInternalFactory.java:66) > at > com.google.inject.internal.ProvisionListenerStackCallback$Provision.pr > ovision > (ProvisionListenerStackCallback.java:112) > at > com.google.inject.internal.ProvisionListenerStackCallback$Provision.pr > ovision > (ProvisionListenerStackCallback.java:127) > at > com.google.inject.internal.ProvisionListenerStackCallback.provision > (ProvisionListenerStackCallback.java:66) > at > com.google.inject.internal.ProviderInternalFactory.circularGet > (ProviderInternalFactory.java:61) > at > com.google.inject.internal.InternalFactoryToInitializableAdapter.get > (InternalFactoryToInitializableAdapter.java:47) > at com.google.inject.internal.InjectorImpl$1.get > (InjectorImpl.java:1050) > at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162) > at org.eclipse.sisu.inject.LazyBeanEntry.getValue > (LazyBeanEntry.java:81) > at org.eclipse.sisu.plexus.LazyPlexusBean.getValue > (LazyPlexusBean.java:51) > at org.codehaus.plexus.DefaultPlexusContainer.lookup > (DefaultPlexusContainer.java:263) > at org.codehaus.plexus.DefaultPlexusContainer.lookup > (DefaultPlexusContainer.java:255) > at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfigur > edMojo > (DefaultMavenPluginManager.java:520) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:124) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec > t > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec > t > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThrea > dedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute > (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute > (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:606) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > Caused by: java.lang.UnsupportedClassVersionError: > org/apache/maven/plugin/surefire/SurefirePlugin : Unsupported > major.minor version 52.0 > at java.lang.ClassLoader.defineClass1 (Native Method) > at java.lang.ClassLoader.defineClass (ClassLoader.java:800) > at java.security.SecureClassLoader.defineClass > (SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass (URLClassLoader.java:449) > at java.net.URLClassLoader.access$100 (URLClassLoader.java:71) > at java.net.URLClassLoader$1.run (URLClassLoader.java:361) > at java.net.URLClassLoader$1.run (URLClassLoader.java:355) > at java.security.AccessController.doPrivileged (Native Method) > at java.net.URLClassLoader.findClass (URLClassLoader.java:354) > at > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf > (ClassRealm.java:425) > at > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass > (SelfFirstStrategy.java:42) > at > org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadCla > ss > (ClassRealm.java:271) > at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass > (ClassRealm.java:247) > at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass > (ClassRealm.java:239) > at org.eclipse.sisu.space.URLClassSpace.loadClass > (URLClassSpace.java:139) > at org.eclipse.sisu.space.NamedClass.load (NamedClass.java:46) > at org.eclipse.sisu.space.AbstractDeferredClass.get > (AbstractDeferredClass.java:48) > at com.google.inject.internal.ProviderInternalFactory.provision > (ProviderInternalFactory.java:85) > at > com.google.inject.internal.InternalFactoryToInitializableAdapter.provi > sion > (InternalFactoryToInitializableAdapter.java:57) > at com.google.inject.internal.ProviderInternalFactory$1.call > (ProviderInternalFactory.java:66) > at > com.google.inject.internal.ProvisionListenerStackCallback$Provision.pr > ovision > (ProvisionListenerStackCallback.java:112) > at > com.google.inject.internal.ProvisionListenerStackCallback$Provision.pr > ovision > (ProvisionListenerStackCallback.java:127) > at > com.google.inject.internal.ProvisionListenerStackCallback.provision > (ProvisionListenerStackCallback.java:66) > at > com.google.inject.internal.ProviderInternalFactory.circularGet > (ProviderInternalFactory.java:61) > at > com.google.inject.internal.InternalFactoryToInitializableAdapter.get > (InternalFactoryToInitializableAdapter.java:47) > at com.google.inject.internal.InjectorImpl$1.get > (InjectorImpl.java:1050) > at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162) > at org.eclipse.sisu.inject.LazyBeanEntry.getValue > (LazyBeanEntry.java:81) > at org.eclipse.sisu.plexus.LazyPlexusBean.getValue > (LazyPlexusBean.java:51) > at org.codehaus.plexus.DefaultPlexusContainer.lookup > (DefaultPlexusContainer.java:263) > at org.codehaus.plexus.DefaultPlexusContainer.lookup > (DefaultPlexusContainer.java:255) > at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfigur > edMojo > (DefaultMavenPluginManager.java:520) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:124) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec > t > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec > t > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThrea > dedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute > (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute > (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:606) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 6.503 s > [INFO] Finished at: 2022-05-05T08:29:41-05:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M6:test > (default-test) on project muleextcharge: Execution default-test of > goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M6:test > failed: Unable to load the mojo 'test' in the plugin > 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M6' due to an > API incompatibility: > org.codehaus.plexus.component.repository.exception.ComponentLookupException: > org/apache/maven/plugin/surefire/SurefirePlugin : Unsupported > major.minor version 52.0 > [ERROR] ----------------------------------------------------- > [ERROR] realm = > plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M6 > [ERROR] strategy = > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy > [ERROR] urls[0] = > file:/C:/Users/snelliga/.m2/org/apache/maven/plugins/maven-surefire-plugin/3.0.0-M6/maven-surefire-plugin-3.0.0-M6.jar > [ERROR] urls[1] = > file:/C:/Users/snelliga/.m2/org/apache/maven/surefire/maven-surefire-common/3.0.0-M6/maven-surefire-common-3.0.0-M6.jar > [ERROR] urls[2] = > file:/C:/Users/snelliga/.m2/org/apache/maven/surefire/surefire-api/3.0.0-M6/surefire-api-3.0.0-M6.jar > [ERROR] urls[3] = > file:/C:/Users/snelliga/.m2/org/apache/maven/surefire/surefire-logger-api/3.0.0-M6/surefire-logger-api-3.0.0-M6.jar > [ERROR] urls[4] = > file:/C:/Users/snelliga/.m2/org/apache/maven/surefire/surefire-extensions-api/3.0.0-M6/surefire-extensions-api-3.0.0-M6.jar > [ERROR] urls[5] = > file:/C:/Users/snelliga/.m2/org/apache/maven/surefire/surefire-booter/3.0.0-M6/surefire-booter-3.0.0-M6.jar > [ERROR] urls[6] = > file:/C:/Users/snelliga/.m2/org/apache/maven/surefire/surefire-extensions-spi/3.0.0-M6/surefire-extensions-spi-3.0.0-M6.jar > [ERROR] urls[7] = > file:/C:/Users/snelliga/.m2/org/apache/maven/shared/maven-common-artifact-filters/3.1.1/maven-common-artifact-filters-3.1.1.jar > [ERROR] urls[8] = > file:/C:/Users/snelliga/.m2/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar > [ERROR] urls[9] = > file:/C:/Users/snelliga/.m2/org/codehaus/plexus/plexus-java/1.1.1/plexus-java-1.1.1.jar > [ERROR] urls[10] = > file:/C:/Users/snelliga/.m2/org/ow2/asm/asm/9.2/asm-9.2.jar > [ERROR] urls[11] = > file:/C:/Users/snelliga/.m2/com/thoughtworks/qdox/qdox/2.0.1/qdox-2.0.1.jar > [ERROR] urls[12] = > file:/C:/Users/snelliga/.m2/org/apache/maven/surefire/surefire-shared-utils/3.0.0-M6/surefire-shared-utils-3.0.0-M6.jar > [ERROR] Number of foreign imports: 1 > [ERROR] import: Entry[import from realm > ClassRealm[project>edu.uiuc.fs:muleextcharge:1.0.0, parent: > ClassRealm[maven.api, parent: null]]] > [ERROR] > [ERROR] ----------------------------------------------------- > [ERROR] > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with > the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > https://urldefense.com/v3/__http://cwiki.apache.org/confluence/display > /MAVEN/PluginContainerException__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb > 664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvJNr_-ZK$ > > ______________________________________________________________________ > ________________________ > Pom file: > <?xml version="1.0" encoding="UTF-8"?> <project > xmlns="https://urldefense.com/v3/__http://maven.apache.org/POM/4.0.0__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvCcsGHlG$ > " > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > https://urldefense.com/v3/__http://maven.apache.org/maven-v4_0_0.xsd__ > ;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQ > Hljx3sXbektttY998yI15I6mvCwJUBvf$ "> > > <modelVersion>4.0.0</modelVersion> > <groupId>edu.uiuc.fs</groupId> > <artifactId>muleextcharge</artifactId> > <packaging>mule</packaging> > <name>Mule Muleextcharge Application</name> > <version>1.0.0</version> > <description>mule external charge</description> > > <parent> > <artifactId>ParentPom</artifactId> > <groupId>edu.uiuc.fs</groupId> > <version>0.0.1-SNAPSHOT</version> > <relativePath>../Pom.xml</relativePath> > </parent> > > <properties> > > <project.build.sourceEncoding>Cp1252</project.build.sourceEncoding> > > <vmtype>org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType</vmtype> > </properties> > > <build> > <!-- > Use a newer version of the install plugin than what your > Maven uses by default. The > older version failed to install the project if there was > no target/classes folder. > Since we use mule packaging on the project we actually > create and attach the zip that > must be installed. > --> > <pluginManagement> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-install-plugin</artifactId> > <version>2.4</version> > </plugin> > </plugins> > </pluginManagement> > <plugins> > <plugin> > <groupId>org.mule.tools</groupId> > <artifactId>maven-mule-plugin</artifactId> > <version>1.9</version> > <extensions>true</extensions> > <configuration> > <copyToAppsDirectory>false</copyToAppsDirectory> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <version>3.1</version> > <configuration> > <source>1.7</source> > <target>1.7</target> > <encoding>ISO-8859-1</encoding> > </configuration> > </plugin> > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <version>2.4</version> > <configuration> > > <finalName>${project.artifactId}-${project.version}</finalName> > <descriptors> > <descriptor>assembly.xml</descriptor> > </descriptors> > <appendAssemblyId>false</appendAssemblyId> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-eclipse-plugin</artifactId> > <version>2.5</version> > <configuration> > <!-- by default download all sources when > generating project files --> > <downloadSources>true</downloadSources> > <classpathContainers> > > <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER/${vmtype}/${jdk5Name} > </classpathContainer> > </classpathContainers> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-idea-plugin</artifactId> > <version>2.2</version> > <configuration> > <downloadSources>true</downloadSources> > <jdkName>${jdk-source.version}</jdkName> > </configuration> > </plugin> > <!-- > make sure that MULE_HOME is set when building > (required below when copying the > artifact to Mule's apps directory > --> > <!-- <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-enforcer-plugin</artifactId> > <version>1.2</version> > <executions> > <execution> > <phase>install</phase> > <goals> > <goal>enforce</goal> > </goals> > <configuration> > <rules> > <requireProperty> > <property>env.MULE_HOME</property> > <message>You must set MULE_HOME > before installing the example.</message> > </requireProperty> > </rules> > </configuration> > </execution> > </executions> > </plugin> > > automatically deploy the artifact after it has been built > --> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-antrun-plugin</artifactId> > <version>1.7</version> > <executions> > <execution> > <id>package-example</id> > <phase>install</phase> > <goals> > <goal>run</goal> > </goals> > <configuration> > <target> > > <copy > file="${project.build.directory}/${project.build.finalName}.zip" > > tofile="${destDir}/${project.build.finalName}.zipX" overwrite="true"/> > </target> > </configuration> > </execution> > </executions> > </plugin> > </plugins> > <finalName>extcharge</finalName> > </build> > > <!-- plugins for creating site reports --> > <reporting> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.9</version> > <configuration> > <source>${jdk-source.version}</source> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-report-plugin</artifactId> > <version>2.15</version> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-checkstyle-plugin</artifactId> > <version>2.10</version> > <configuration> > > <configLocation>https://urldefense.com/v3/__http://mulesoft.org/download/attachments/92/checkstyle.xml?version=1__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvA_i6bDt$ > > </configLocation> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-pmd-plugin</artifactId> > <version>3.0.1</version> > <configuration> > <targetJdk>${jdk-source.version}</targetJdk> > </configuration> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>cobertura-maven-plugin</artifactId> > <version>2.5.2</version> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>taglist-maven-plugin</artifactId> > <version>2.4</version> > <configuration> > <tags> > <tag>TODO</tag> > <tag>@todo</tag> > <tag>FIXME</tag> > <tag>@fixme</tag> > <tag>@deprecated</tag> > </tags> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-jxr-plugin</artifactId> > <version>2.3</version> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.9</version> > <configuration> > <links> > > <link>https://urldefense.com/v3/__http://java.sun.com/j2ee/1.4/docs/api__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvKb4ZdKb$ > </link> > > <link>https://urldefense.com/v3/__http://java.sun.com/j2se/1.4.2/docs/api__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvOTy-RvX$ > </link> > > <link>https://urldefense.com/v3/__http://java.sun.com/j2se/1.5.0/docs/api__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvIy7-5lt$ > </link> > </links> > </configuration> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>jdepend-maven-plugin</artifactId> > <version>2.0-beta-2</version> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>findbugs-maven-plugin</artifactId> > <version>2.5.2</version> > </plugin> > </plugins> > </reporting> > > <!-- Mule Dependencies --> > <dependencies> > <dependency> > <groupId>org.mule</groupId> > <artifactId>mule-core</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <!-- Xml configuration --> > <dependency> > <groupId>org.mule.modules</groupId> > <artifactId>mule-module-spring-config</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > > <!-- Mule Transports --> > <dependency> > <groupId>org.mule.transports</groupId> > <artifactId>mule-transport-jms</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.mule.transports</groupId> > <artifactId>mule-transport-vm</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.mule.transports</groupId> > <artifactId>mule-transport-quartz</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.mule.transports</groupId> > <artifactId>mule-transport-http</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > > <!-- Mule Modules --> > <dependency> > <groupId>org.mule.modules</groupId> > <artifactId>mule-module-client</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.mule.modules</groupId> > <artifactId>mule-module-cxf</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.mule.modules</groupId> > <artifactId>mule-module-management</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.mule.modules</groupId> > <artifactId>mule-module-scripting</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.mule.modules</groupId> > <artifactId>mule-module-sxc</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.mule.modules</groupId> > <artifactId>mule-module-xml</artifactId> > <version>${mule.version}</version> > <scope>provided</scope> > </dependency> > > <!-- for testing --> > <dependency> > <groupId>org.mule.tests</groupId> > <artifactId>mule-tests-functional</artifactId> > <version>${mule.version}</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>mockobjects</groupId> > <artifactId>mockobjects-core</artifactId> > <version>0.09</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.11</version> > <scope>test</scope> > </dependency> > </dependencies> > > <repositories> > <repository> > <id>muleforge-repo</id> > <name>MuleForge Repository</name> > > <url>https://urldefense.com/v3/__http://repository.mulesoft.org/__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvLbYZeev$ > </url> > <layout>default</layout> > </repository> > > <repository> > <id>codehaus-repo</id> > <name>Codehaus Repository</name> > > <url>https://urldefense.com/v3/__https://repository.mulesoft.org/nexus > /content/repositories/public__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664 > Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvK1c6_Kk$ </url> > > <!--<url>https://urldefense.com/v3/__https://nexus.codehaus.org/content/repositories/releases/__;!!DZ3fjg!_ga88ihhLeSlWaW2vzU5ZbFjYMb664Wo9VZ01XjN_Hf9M5yIYlv1BUs_RmLQHljx3sXbektttY998yI15I6mvP7Vmgfc$ > </url>--> > <layout>default</layout> > </repository> > </repositories> > <profiles> > <profile> > <id>vDev</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > <properties> > <destDir>\\fandsDEVm.fs.illinois.edu\mule\apps</destDir> > </properties> > </profile> > <profile> > <id>vTest</id> > <activation> > <activeByDefault>false</activeByDefault> > </activation> > <properties> > > <destDir>\\fandsTESTm.fs.illinois.edu\mule\apps</destDir> > </properties> > </profile> > <profile> > <id>vDev2</id> > <activation> > <activeByDefault>false</activeByDefault> > </activation> > <properties> > <destDir>\\fandsDEV2m.fs.illinois.edu\mule\apps</destDir> > </properties> > </profile> > <profile> > <id>vProd</id> > <activation> > <activeByDefault>false</activeByDefault> > </activation> > <properties> > <destDir>C:/ProductionBuilds/Mule/Apps</destDir> > </properties> > </profile> > <profile> > <id>Prod</id> > <activation> > <activeByDefault>false</activeByDefault> > </activation> > <properties> > <destDir>\\fandsPRODm.fs.illinois.edu\mule\apps</destDir> > </properties> > </profile> > <profile> > <id>train</id> > <activation> > <activeByDefault>false</activeByDefault> > </activation> > <properties> > <destDir>\\fandsTRAINm.fs.illinois.edu\mule\apps</destDir> > </properties> > </profile> > </profiles> > </project> > > > Thanks, > > STEVEN M NELLIGAN > SENIOR SOFTWARE DEVELOPER > > Facilities and Services > Information Technology Services > University of Illinois at Urbana-Champaign Facilities and Services > 1501 S. Oak Street | M/C 800 > Champaign, IL 61820 > 217.244.8097 | other: 217.244.8097 | snell...@illinois.edu > http://www.fs.illinois.edu > > Under the Illinois Freedom of Information Act any written > communication to or from university employees regarding university > business is a public record and may be subject to public disclosure. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org