Skip to content

Commit

Permalink
change 2 github
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsen committed Dec 21, 2017
1 parent 8b4675a commit f24a2a7
Show file tree
Hide file tree
Showing 365 changed files with 26,607 additions and 8,997 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spark-warehouse
*.bak
*.log
*.conf
swagger-ui
davinci-ui
lib
swagger-ui/
davinci-ui/
lib/
tempFiles/
33 changes: 33 additions & 0 deletions assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,38 @@
</plugins>
</build>
</profile>
<profile>
<id>test</id>
<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<archive>
<manifest>
<mainClass>edp.davinci.util.ESTest</mainClass>
</manifest>
</archive>
<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>
</profile>
</profiles>
</project>
14 changes: 14 additions & 0 deletions assembly/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@





<assembly>
<id>dist</id>
<formats>
Expand Down Expand Up @@ -51,12 +53,24 @@
</directory>
<outputDirectory>bin</outputDirectory>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/tempFiles
</directory>
<outputDirectory>tempFiles</outputDirectory>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/davinci-ui
</directory>
<outputDirectory>davinci-ui</outputDirectory>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/swagger-ui
</directory>
<outputDirectory>swagger-ui</outputDirectory>
</fileSet>

</fileSets>

Expand Down
88 changes: 88 additions & 0 deletions assembly/src/main/assembly/release.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<!--
<<
Davinci
==
Copyright (C) 2016 - 2017 EDP
==
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
>>
-->






<assembly>
<id>release</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>

<fileSets>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>README*</include>
</includes>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/conf
</directory>
<outputDirectory>conf</outputDirectory>
<includes>
<include>application.conf.example</include>
<include>log4j.properties</include>
</includes>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/bin
</directory>
<outputDirectory>bin</outputDirectory>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/tempFiles
</directory>
<outputDirectory>tempFiles</outputDirectory>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/davinci-ui
</directory>
<outputDirectory>davinci-ui</outputDirectory>
</fileSet>

</fileSets>

<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<useTransitiveDependencies>true</useTransitiveDependencies>
<unpack>false</unpack>
<scope>runtime</scope>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
</dependencySets>

<!--<files>
<file>
<source>${project.parent.basedir}/server/target/davinci-server_2.11-${project.parent.version}-jar-with-dependencies.jar</source>
<outputDirectory>plugin</outputDirectory>
</file>
</files>-->
</assembly>
9 changes: 9 additions & 0 deletions bin/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

current_dir=`pwd`
script_dir=$(cd `dirname $0`; pwd)
echo $script_dir
echo $current_dir
cd $script_dir
cd ..
cd $current_dir
Loading

0 comments on commit f24a2a7

Please sign in to comment.