title: weblogic.xml file is missing in WAR file ...Not able to generate WAR file (***with weblogic.xml file) for WebLogic server using Maven in Eclipse.
body: <p>I tried to search for a solution but no answers so far... I have a Java Dynamic Web Project and trying to build a WAR file and deploy it in WebLogic application server using Maven in Eclipse Luna. I am not able to generate a <strong>WAR file with weblogic.xml file</strong> using Maven tool in Eclipse. </p>
  
  <p>Here are the steps...</p>
  
  <p><strong>Project --> Right click --> Run as Maven build --> clean install --> WAR file is generated with web.xml file but weblogic.xml is missing.</strong> Do i need to provide any configuration in pom.xml file project specific to generate the weblogic.xml file for WebLogic 11 application server? Just need to generate the WAR file with web.xml file and Weblogic.xml file and i need to manually deploy it in WebLogic application server through console.</p>
  
  <p>Here is my pom.xml file:</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;APL_LGS_DownoadService&lt;/groupId&gt;
      &lt;artifactId&gt;APL_LGS_DownloadService&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;/properties&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;JBoss repository&lt;/id&gt;
              &lt;url&gt;https://repository.jboss.org/nexus/content/groups/public-jboss/&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;3.0.4.Final&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;webXml&gt;WebContent\WEB-INF\web.xml&lt;/webXml&gt;
                      &lt;webResources&gt;
                          &lt;resource&gt;
                              &lt;filtering&gt;true&lt;/filtering&gt;
                              &lt;directory&gt;src/main/resources&lt;/directory&gt;
                              &lt;includes&gt;
                                  &lt;include&gt;WEB-INF/weblogic.xml&lt;/include&gt;
                              &lt;/includes&gt;
                          &lt;/resource&gt;
                      &lt;/webResources&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>