|
@@ -43,60 +43,28 @@
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ <configuration>
|
|
|
+ <descriptorRefs>
|
|
|
+ <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
+ </descriptorRefs>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>make-assembly</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>single</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
|
|
|
- <profiles>
|
|
|
- <profile>
|
|
|
- <id>release</id>
|
|
|
- <activation>
|
|
|
- <property>
|
|
|
- <name>env</name>
|
|
|
- <value>release</value>
|
|
|
- </property>
|
|
|
- </activation>
|
|
|
-
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-assembly-plugin</artifactId>
|
|
|
- <version>2.4</version>
|
|
|
- <configuration>
|
|
|
- <descriptorRefs>
|
|
|
- <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
- </descriptorRefs>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>make-assembly</id>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>single</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-antrun-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>run</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <tasks>
|
|
|
- <copy todir="${project.basedir}/../launcher/target/config/hbase" overwrite="true" >
|
|
|
- <fileset dir="${project.basedir}/src/main/resources/hbase" erroronmissingdir="true">
|
|
|
- <include name="*.yml"/>
|
|
|
- </fileset>
|
|
|
- </copy>
|
|
|
- </tasks>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- </profile>
|
|
|
- </profiles>
|
|
|
</project>
|