Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
Latest dave (#894)
Browse files Browse the repository at this point in the history
* up maven image level

* up maven image level

* up maven image level

* Update stack.yaml

fix quotes

* increment version number

* compile jave

* compile jave

* compile java

* no wget

* wget from travis

* fix javac

* debug

* try again

* try again

* by george I think I-ve got it
  • Loading branch information
davco01a authored Apr 28, 2021
1 parent 6a7920d commit 63df493
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ services:
# reset hard to $TRAVIS_COMMIT
install:
- . ./ci/git_setup.sh
- mkdir ${TRAVIS_BUILD_DIR}/jars
- wget -nv https://repo1.maven.org/maven2/org/osgi/org.osgi.core/6.0.0/org.osgi.core-6.0.0.jar -O ${TRAVIS_BUILD_DIR}/jars/osgi.jar

before_script:
- ./ci/download_cli.sh
Expand Down
4 changes: 1 addition & 3 deletions build_for_scan.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
find . -name "osgi.jar"
javac -cp jars/osgi.jar incubator/java-openliberty/image/project/util/RangeIncludesVersion.java
rm -rf experimental
mvn compile
cd incubator
rm -rf java-microprofile
rm -rf java-spring-boot2
Expand Down
28 changes: 28 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>stacks.app</groupId>
<artifactId>stacks-app</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<src.dir>incubator/java-openliberty/image/project/util</src.dir>
</properties>
<build>
<sourceDirectory>${src.dir}</sourceDirectory>
</build>


<dependencies>
<!-- https://mvnrepository.com/artifact/org.osgi/org.osgi.core -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

0 comments on commit 63df493

Please sign in to comment.