java - Source code not getting added in pom.xml -


i have project converted maven project using eclipse configured pom.xml , added dependency jars , build ear using maven build options in eclipse install -e ear created not contain source code in it. there jars inside ear.

can please me out , let me know how code added in pom.xml

<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">   <modelversion>4.0.0</modelversion>   <groupid>com.avizva.fbvision</groupid>   <artifactid>enrollment_guid</artifactid>   <packaging>ear</packaging>   <name>enrollment_guid</name>   <build>     <sourcedirectory>${basedir}/src</sourcedirectory>     <resources>       <resource>         <directory>${basedir}/src</directory>         <includes>         <include>**/*.properties</include>          <include>**/*.java</include>         </includes>        </resource>     </resources>      <plugins>       <plugin>         <artifactid>maven-compiler-plugin</artifactid>         <version>3.1</version>         <configuration>           <source>1.6</source>           <target>1.6</target>         </configuration>       </plugin>       <plugin>         <artifactid>maven-war-plugin</artifactid>         <version>2.3</version>         <configuration>           <warsourcedirectory>webcontent</warsourcedirectory>           <failonmissingwebxml>false</failonmissingwebxml>         </configuration>       </plugin>     </plugins>   </build>   <dependencies>     <dependency>         <groupid>org.apache.logging.log4j</groupid>         <artifactid>log4j-1.2-api</artifactid>         <version>2.0-rc1</version>     </dependency>      <dependency>         <groupid>org.kie.modules</groupid>         <artifactid>org-apache-commons-lang3</artifactid>         <version>6.1.0.cr1</version>         <type>pom</type>      </dependency>     <dependency>         <groupid>org.slf4j</groupid>         <artifactid>slf4j-jdk14</artifactid>         <version>1.7.7</version>     </dependency> <dependency>     <groupid>joda-time</groupid>     <artifactid>joda-time</artifactid>     <version>2.3</version> </dependency>     <dependency>         <groupid>org.apache.directory.studio</groupid>         <artifactid>org.apache.commons.lang</artifactid>         <version>2.6</version>     </dependency>     <dependency>         <groupid>aspectj</groupid>         <artifactid>aspectjweaver</artifactid>         <version>1.5.4</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-aop</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-asm</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-beans</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-context</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-core</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-expression</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-jdbc</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-orm</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>         <groupid>org.springframework</groupid>         <artifactid>spring-web</artifactid>         <version>3.0.1.release</version>     </dependency>     <dependency>     <groupid>net.sf.dozer</groupid>     <artifactid>dozer</artifactid>     <version>5.3.2</version>     </dependency>      <dependency>         <groupid>org.apache.axis2</groupid>         <artifactid>axis2-adb</artifactid>         <version>1.6.2</version>     </dependency>     <dependency>         <groupid>org.apache.axis2</groupid>         <artifactid>axis2-kernel</artifactid>         <version>1.6.2</version>     </dependency>     <dependency>     <groupid>org.apache.axis2</groupid>     <artifactid>axis2-transport-local</artifactid>     <version>1.6.2</version>     </dependency>     <dependency>     <groupid>org.apache.axis2</groupid>     <artifactid>axis2-transport-http</artifactid>     <version>1.6.2</version>     </dependency>     <dependency>     <groupid>org.apache.ws.commons.axiom</groupid>     <artifactid>axiom-api</artifactid>     <version>1.2.13</version>     </dependency>     <dependency>     <groupid>org.apache.ws.commons.axiom</groupid>     <artifactid>axiom-impl</artifactid>     <version>1.2.13</version>     </dependency>     <dependency>         <groupid>antlr</groupid>         <artifactid>antlr</artifactid>         <version>2.7.5</version>     </dependency>     <dependency>         <groupid>aspectj</groupid>         <artifactid>aspectjrt</artifactid>         <version>1.5.4</version>     </dependency>     <dependency>     <groupid>org.apache.ws.schema</groupid>     <artifactid>xmlschema</artifactid>     <version>1.4.5</version>     </dependency>   </dependencies>    <version>1</version> </project> 


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -