Make ci works with resin and ojdbc again. Try to build.
This commit is contained in:
parent
195cc2a6a1
commit
6ce5bfd569
12
.travis.yml
12
.travis.yml
|
|
@ -1,12 +1,14 @@
|
|||
sudo: required
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
language: java
|
||||
before_install:
|
||||
- cd ci-dependencies
|
||||
- curl -O https://openskywalking.github.io/skywalking-ci-assist/jar/ojdbc14-10.2.0.4.0.jar
|
||||
- curl -O https://openskywalking.github.io/skywalking-ci-assist/jar/resin-3.0.9.jar
|
||||
- curl -O https://openskywalking.github.io/skywalking-ci-assist/jar/resin-4.0.41.jar
|
||||
- cd ..
|
||||
|
||||
install:
|
||||
- jdk_switcher use oraclejdk8
|
||||
- mvn clean install --quiet jacoco:report coveralls:report
|
||||
|
||||
after_success:
|
||||
- bash ./travis/push_image.sh
|
||||
|
|
|
|||
|
|
@ -212,6 +212,38 @@
|
|||
<modules>
|
||||
<module>oracle-10.x-plugin</module>
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-ojdbc</id>
|
||||
<inherited>false</inherited>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<executable>mvn</executable>
|
||||
<arguments>
|
||||
<argument>install:install-file</argument>
|
||||
<argument>-Dfile=ojdbc14-10.2.0.4.0.jar</argument>
|
||||
<argument>-DgroupId=com.oracle</argument>
|
||||
<argument>-DartifactId=ojdbc14</argument>
|
||||
<argument>-Dversion=10.2.0.4.0</argument>
|
||||
<argument>-Dpackaging=jar</argument>
|
||||
</arguments>
|
||||
<workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- resin-3 is not Apache license compatible, so it must be manually downloaded first -->
|
||||
|
|
@ -224,6 +256,37 @@
|
|||
<modules>
|
||||
<module>resin-3.x-plugin</module>
|
||||
</modules>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-ojdbc</id>
|
||||
<inherited>false</inherited>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<executable>mvn</executable>
|
||||
<arguments>
|
||||
<argument>install:install-file</argument>
|
||||
<argument>-Dfile=resin-3.0.9.jar</argument>
|
||||
<argument>-DgroupId=com.caucho</argument>
|
||||
<argument>-DartifactId=resin</argument>
|
||||
<argument>-Dversion=4.0.41</argument>
|
||||
<argument>-Dpackaging=jar</argument>
|
||||
</arguments>
|
||||
<workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- resin-4 is not Apache license compatible, so it must be manually downloaded first -->
|
||||
|
|
@ -236,6 +299,37 @@
|
|||
<modules>
|
||||
<module>resin-4.x-plugin</module>
|
||||
</modules>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-ojdbc</id>
|
||||
<inherited>false</inherited>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<executable>mvn</executable>
|
||||
<arguments>
|
||||
<argument>install:install-file</argument>
|
||||
<argument>-Dfile=resin-4.0.41.jar</argument>
|
||||
<argument>-DgroupId=com.caucho</argument>
|
||||
<argument>-DartifactId=resin</argument>
|
||||
<argument>-Dversion=4.0.41</argument>
|
||||
<argument>-Dpackaging=jar</argument>
|
||||
</arguments>
|
||||
<workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue