블로그 이미지
News and Announcements (at) Apache Software Foundation. 노안돼지
Apache Software Foundation The Apache User Group KLDP From download

Recent Post»

Recent Comment»

Recent Trackback»

Archive»

« 2024/5 »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

 

'POM 7'에 해당되는 글 1

  1. 2009.12.31 Apache Parent POM 7 릴리즈
 
아파치 소프트웨어 재단은 아파치 오픈 소스 소프트웨어 프로젝트 커뮤니티 지원을 제공합니다.
아파치 프로젝트는 협업과 개발 프로세스를 기반으로 하는 상호간의 공감대와 개방되어 있는 실용적인 소프트웨어 라이센스, 그 분야에서 선두를 달릴 수 있는 고품질 소프트웨어 개발을 추구하고 있습니다.

우리는 심플한 서버 공유 프로젝트의 모임이라고도 하지만 오히려 개발자와 사용자간의 커뮤니티라고 생각합니다.

Apache Parent POM 7 릴리즈

뉴스/소식 | 2009. 12. 31. 13:23 | Posted by 노안돼지
The Maven team is pleased to announce the release of the Apache Parent POM, version 7.

This POM provides a base configuration for ASF projects build with Apache Maven [0]. Besides some updated plugin versions, the most interesting change in this version of the POM is the inclusion of a
configuration for the Maven Assembly Plugin to produce ASF-compliant source distributions. Please see [1] for a detailed diff to the previous version.

In more detail, the Assembly Plugin configuration for the source distribution is part of the profile "apache-release" that was already introduced in version 6 of the parent POM. This configuration creates a ZIP archive containing the project's sources at the root module of the release process.

Projects with different needs regarding the source distribution and/or release process have the following options:

a) Create a custom assembly descriptor (see [2]) for the source distribution and set the POM property "sourceReleaseAssemblyDescriptor" to its name.

b) Disable the predefined execution "source-release-assembly" of the Assembly Plugin via the following POM snippet:

 <plugin>
   <artifactId>maven-assembly-plugin</artifactId>
   <version>2.2-beta-5</version>
   <executions>
     <execution>
       <id>source-release-assembly</id>
       <configuration>
         <skipAssembly>true</skipAssembly>
       </configuration>
     </execution>
   </executions>
 </plugin>

c) Configure the Maven Release Plugin to use another release profile than the predefined "apache-release" via something like this:

 <plugin>
   <artifactId>maven-release-plugin</artifactId>
   <version>2.0-beta-9</version>
   <configuration>
     <arguments>-Pcustom-release</arguments>
   </configuration>
 </plugin

Note: Version 2.2-beta-5 of the Maven Assembly Plugin is required for proper creation of the source distribution. Please be sure to check the plugin version used is not locked down to an older version in some of your downstream POMs.

Use the following snippet to inherit from this POM for your Maven managed projects:

 <parent>
   <groupId>org.apache</groupId>
   <artifactId>apache</artifactId>
   <version>7</version>
 </parent>

Enjoy,


-The Maven team


[0] http://maven.apache.org/
[1]
http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?r1=766951&r2=893966
[2]
http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html
: