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 |
Tags
- es6
- GIT
- xPlatform
- SQL
- SSL
- Spring
- mapreduce
- plugin
- window
- Python
- SPC
- table
- 보조정렬
- Express
- tomcat
- MSSQL
- 공정능력
- hadoop
- R
- JavaScript
- IntelliJ
- mybatis
- Sqoop
- react
- Android
- NPM
- Eclipse
- vaadin
- Kotlin
- Java
Archives
- Today
- Total
DBILITY
maven jar build main (startup) class setting ( jar 시작클래스 지정) 본문
반응형
hadoop command line에 main class를 지정하지 않고 실행할 수 있습니다.
물론, hadoop뿐만 아니라, executable jar에도 적용됩니다.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<archive>
<manifest>
<mainClass>com.dbility.hadoop.multioutput.AsaDelayDriver</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>default-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
반응형
'java > basic' 카테고리의 다른 글
java for loop (0) | 2017.10.18 |
---|---|
maven build Using platform encoding (UTF-8 actually) to copy filtered.... (0) | 2017.10.17 |
svn admin command (명령) (0) | 2016.11.02 |
java swing file open (0) | 2016.10.28 |
maven jar build시 meta-inf 제거 (0) | 2016.10.21 |
Comments