Notice
		                                        
										
                                    
                                        
                                    
                                        Recent Posts
                                        
                                    
                                        
                                    
                                        Recent Comments
                                        
                                    
                                        
                                    
                                        Link
                                        
                                    
                                | 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 
                                        Tags
                                        
                                    
                                        
                                    - R
- plugin
- mapreduce
- es6
- Python
- Java
- xPlatform
- 보조정렬
- hadoop
- 공정능력
- Kotlin
- vaadin
- Android
- table
- Express
- mybatis
- SQL
- SPC
- IntelliJ
- NPM
- SSL
- window
- JavaScript
- GIT
- tomcat
- Sqoop
- Spring
- react
- Eclipse
- MSSQL
                                        Archives
                                        
                                    
                                        
                                    - Today
- Total
DBILITY
maven jar packaging specific class excluding ( java 클래스 제외 ) 본문
반응형
    
    
    
  
pom.xml의 build섹션에 추가, exclude부분을 수정하고, build한다.
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <version>2.3.2</version>
  <configuration>
  <excludes>
    <exclude>**/departureDelayRunner.class</exclude>
  </excludes>
  </configuration>
  <executions>
    <execution>
      <id>default-jar</id>
      <phase>package</phase>
      <goals>
        <goal>jar</goal>
      </goals>
    </execution>
  </executions>
</plugin>반응형
    
    
    
  'java > basic' 카테고리의 다른 글
| java swing file open (0) | 2016.10.28 | 
|---|---|
| maven jar build시 meta-inf 제거 (0) | 2016.10.21 | 
| java spring atomikos Connection Pool Exhausted Exception (0) | 2016.09.23 | 
| maven build scp copy (0) | 2016.09.20 | 
| javamail gmail smtp error (0) | 2016.09.20 | 
                          Comments