Try Preferences > Maven > Java EE integration > check `Generate
application.xml under the build directory`

On Thu, Feb 18, 2016 at 4:08 PM, Eric B <ebenza...@gmail.com> wrote:

> I have no idea what I did to break my m2e/m2e-wtp installation, but my
> maven project is now generating  my application.xml file in my
> src/main/application/META-INF folder.  It used to properly generate it in
> my target/m2e-wtp/ear-resources/META-INF folder (where it belongs).
>
> I've spent half the afternoon uninstalling/reinstalling plugins, but
> haven't really managed to progress.
>
> I've got m2e 1.5.2, with m2e-wtp 1.0.1 (yes - both old version - I know)
> installed.
>
> I _believe_ the issue started after installing the WebSphere 8.5 for Juno
> plugin via the Eclipse Marketplace, but I have since removed that, and
> removed my m2e/m2e-wtp and reinstalled them.  Including a "-clean" when
> starting Eclipse.
>
> My pom itself hasn't changed.  The effective-pom shows:
>
>       <plugin>
>         <artifactId>maven-ear-plugin</artifactId>
>         <version>2.10.1</version>
>         <executions>
>           <execution>
>             <id>default-ear</id>
>             <phase>package</phase>
>             <goals>
>               <goal>ear</goal>
>             </goals>
>             <configuration>
>               <version>5</version>
>               <defaultLibBundleDir>lib/</defaultLibBundleDir>
>               <skinnyWars>true</skinnyWars>
>               <earSourceExcludes></earSourceExcludes>
>               <modules>
>                 <webModule>
>                   <groupId>com.sbic</groupId>
>                   <artifactId>ComWeb</artifactId>
>                   <contextRoot>ComWeb</contextRoot>
>                 </webModule>
>               </modules>
>               <useBaseVersion>true</useBaseVersion>
>               <packagingIncludes>**/*</packagingIncludes>
>               <encoding>UTF-8</encoding>
>             </configuration>
>           </execution>
>           <execution>
>             <id>default-generate-application-xml</id>
>             <phase>generate-resources</phase>
>             <goals>
>               <goal>generate-application-xml</goal>
>             </goals>
>             <configuration>
>               <version>5</version>
>               <defaultLibBundleDir>lib/</defaultLibBundleDir>
>               <skinnyWars>true</skinnyWars>
>               <earSourceExcludes></earSourceExcludes>
>               <modules>
>                 <webModule>
>                   <groupId>com.sbic</groupId>
>                   <artifactId>ComWeb</artifactId>
>                   <contextRoot>ComWeb</contextRoot>
>                 </webModule>
>               </modules>
>               <useBaseVersion>true</useBaseVersion>
>               <packagingIncludes>**/*</packagingIncludes>
>               <encoding>UTF-8</encoding>
>             </configuration>
>           </execution>
>         </executions>
>         <configuration>
>           <version>5</version>
>           <defaultLibBundleDir>lib/</defaultLibBundleDir>
>           <skinnyWars>true</skinnyWars>
>           <earSourceExcludes></earSourceExcludes>
>           <modules>
>             <webModule>
>               <groupId>com.sbic</groupId>
>               <artifactId>ComWeb</artifactId>
>               <contextRoot>ComWeb</contextRoot>
>             </webModule>
>           </modules>
>           <useBaseVersion>true</useBaseVersion>
>           <packagingIncludes>**/*</packagingIncludes>
>           <encoding>UTF-8</encoding>
>         </configuration>
>       </plugin>
>
>
> I've tried removing the maven nature, deleting the .project, target and
> .settings folders, deleting the project and reimporting it as a maven
> project.  And yet, this issue of generating the application.xml in my src
> folder continues.
>
> Anyone have any clues?
>
> Thanks,
>
> Eric
>
>
>
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to