반응형
  <build>
    <finalName>${project.artifactId}-${project.version}</finalName>
    <resources>
      <!-- 공용 리소스 위치 -->
      <resource>
        <directory>${basedir}/src/main/resources/common</directory>
      </resource>
      <!-- 빌드 환경에 따른 리소스 위치 -->
      <resource>
        <directory>${basedir}/src/main/resources/${build.environment}</directory>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>${basedir}/src/test/resources</directory>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
      </plugin>
    </plugins>
  </build>
반응형

+ Recent posts