123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277 |
- <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.dbs.mplus</groupId>
- <artifactId>mcare-plus</artifactId>
- <version>1.0</version>
- <packaging>war</packaging>
- <properties>
- <com.dbs.mplus.framework.version>1.0.0</com.dbs.mplus.framework.version>
- <findbugs.maven.plugin.version>3.0.1</findbugs.maven.plugin.version>
- <maven.ant.run.plugin.version>1.7</maven.ant.run.plugin.version>
- <maven.compiler.plugin.version>3.1</maven.compiler.plugin.version>
- <maven.jxr.plugin.version>2.5</maven.jxr.plugin.version>
- <maven.pmd.plugin.version>3.5</maven.pmd.plugin.version>
- <maven.resources.plugin.version>2.7</maven.resources.plugin.version>
- <maven.war.plugin.version>2.6</maven.war.plugin.version>
- <!-- tomcat7은 servlet 3.0, jsp 2.2 기준임 -->
- <javax.servlet.version>3.0.1</javax.servlet.version>
- <javax.servlet.jsp.version>2.2</javax.servlet.jsp.version>
- <jstl.version>1.2</jstl.version>
- <tiles.version>3.0.1</tiles.version>
- <commons.dbcp.version>1.4</commons.dbcp.version>
-
- <!-- 컴파일 옵션 -->
- <maven.compiler.source.version>1.7</maven.compiler.source.version>
- <maven.compiler.target.version>1.7</maven.compiler.target.version>
- <maven.compiler.debug.mode>true</maven.compiler.debug.mode>
- <spring.profiles.active>server</spring.profiles.active>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <encoding.type>UTF-8</encoding.type>
- <param.deploy.target>server</param.deploy.target>
- <build.final.name>mcare-plus</build.final.name>
- <org.apache.tomcat.maven.version>2.1</org.apache.tomcat.maven.version>
- </properties>
- <build>
- <pluginManagement>
- <plugins>
- <!-- eclipse에서 maven을 편리하게 사용하기 위한 플러그인 -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <versionRange>[1.0.0,)</versionRange>
- <goals>
- <goal>compile</goal>
- <goal>testCompile</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <versionRange>[1.7,)</versionRange>
- <goals>
- <goal>add-source</goal>
- <goal>add-test-source</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore></ignore>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- <!-- 여기부터 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>${maven.compiler.source.version}</source>
- <target>${maven.compiler.target.version}</target>
- <maven.compiler.debug>${maven.compiler.debug.mode}</maven.compiler.debug>
- <encoding>${encoding.type}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>${maven.resources.plugin.version}</version>
- <configuration>
- <encoding>${encoding.type}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>${maven.pmd.plugin.version}</version>
- <configuration>
- <linkXRef>true</linkXRef>
- <sourceEncoding>${encoding.type}</sourceEncoding>
- <minimumTokens>100</minimumTokens>
- <targetJdk>${maven.compiler.target.version}</targetJdk>
- </configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>check</goal>
- <!-- 로그 때문에 중복라인이 있어서 중복체크는 제외
- <goal>cpd-check</goal>
- -->
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>${maven.war.plugin.version}</version>
- <configuration>
- <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
- <webResources>
- <resource>
- <directory>WebContent</directory>
- </resource>
- </webResources>
- <warSourceDirectory>WebContent</warSourceDirectory>
- <webXml>WebContent/WEB-INF/web.xml</webXml>
- <packagingExcludes>
- <!-- servlet, jsp는 WAS에 들어 있으므로 제외시킴 -->
- WEB-INF/lib/servlet-api-*.jar,
- WEB-INF/lib/javax.servlet-api-*.jar,
- WEB-INF/lib/jsp-api-*.jar
- </packagingExcludes>
- </configuration>
- </plugin>
- <!-- M-Care demo server -->
- <!-- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat7-maven-plugin</artifactId>
- <version>${org.apache.tomcat.maven.version}</version>
- <configuration>
- <url>https://mcare-demo.idatabank.com/manager/text</url>
- <server>mcare-demo</server>
- <path>/${build.final.name}</path>
- <username>dbs</username>
- <password>dbs!@#$</password>
- </configuration>
- </plugin> -->
-
- <!-- 개발용 - 오픈스택 서버로 -->
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat7-maven-plugin</artifactId>
- <version>${org.apache.tomcat.maven.version}</version>
- <configuration>
- <url>http://172.16.0.109:8080/manager/text</url>
- <path>/${build.final.name}</path>
- <username>manager</username>
- <password>admin</password>
- </configuration>
- </plugin>
-
- <!-- 여기까지 -->
- </plugins>
- </pluginManagement>
- <finalName>${build.final.name}</finalName>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>${maven.pmd.plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>${findbugs.maven.plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- <version>${maven.jxr.plugin.version}</version>
- </plugin>
- </plugins>
- </reporting>
- <dependencies>
- <!-- mobile-core -->
- <dependency>
- <groupId>com.dbs.mplus</groupId>
- <artifactId>mcare-plus-framework</artifactId>
- <version>${com.dbs.mplus.framework.version}</version>
- </dependency>
- <!-- servlet -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>${javax.servlet.version}</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>${javax.servlet.jsp.version}</version>
- </dependency>
-
- <!-- jstl -->
- <dependency>
- <groupId>jstl</groupId>
- <artifactId>jstl</artifactId>
- <version>${jstl.version}</version>
- </dependency>
- <!-- tiles -->
- <dependency>
- <groupId>org.apache.tiles</groupId>
- <artifactId>tiles-core</artifactId>
- <version>${tiles.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>slf4j-api</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jcl-over-slf4j</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.tiles</groupId>
- <artifactId>tiles-jsp</artifactId>
- <version>${tiles.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tiles</groupId>
- <artifactId>tiles-servlet</artifactId>
- <version>${tiles.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tiles</groupId>
- <artifactId>tiles-template</artifactId>
- <version>${tiles.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tiles</groupId>
- <artifactId>tiles-el</artifactId>
- <version>${tiles.version}</version>
- </dependency>
- <!-- DB connection pool -->
- <dependency>
- <groupId>commons-dbcp</groupId>
- <artifactId>commons-dbcp</artifactId>
- <version>${commons.dbcp.version}</version>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>mcare_release</id>
- <name>mcare_release</name>
- <url>http://sa.idatabank.com/nexus/content/repositories/mcare_release</url>
- </repository>
- <repository>
- <id>3rd_party</id>
- <name>3rd_party</name>
- <url>http://sa.idatabank.com/nexus/content/repositories/thirdparty/</url>
- </repository>
- </repositories>
- </project>
|