Skip to content

Commit

Permalink
Add inject tck install to artifacts pom
Browse files Browse the repository at this point in the history
Signed-off-by: Scott M Stark <starksm64@gmail.com>
  • Loading branch information
starksm64 committed Jun 14, 2022
1 parent e184b9e commit b734b4c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core-profile-tck/examples/wf-core-tck-runner
5 changes: 3 additions & 2 deletions core-profile-tck/pom.xml
Expand Up @@ -95,8 +95,9 @@
<apache.httpclient.version>3.1</apache.httpclient.version>
<!-- Required for distribution build, should be overriden for each build -->
<core.tck.version>${project.version}</core.tck.version>
<weld.version>5.0.0.SP1</weld.version>
<cdi.tck.version>4.0.3</cdi.tck.version>
<weld.version>5.0.0.SP2</weld.version>
<cdi.tck.version>4.0.5</cdi.tck.version>
<inject.tck.version>2.0.2</inject.tck.version>
</properties>

<!-- Dependency management -->
Expand Down
22 changes: 22 additions & 0 deletions core-profile-tck/tck-dist/artifacts-pom.xml
Expand Up @@ -61,10 +61,16 @@
dest="downloads/tcks/"
verbose="false"
usetimestamp="true"/>
<get src="https://download.eclipse.org/jakartaee/dependency-injection/2.0/jakarta.inject-tck-2.0.2-bin.zip"
dest="downloads/tcks/"
verbose="false"
usetimestamp="true"/>
<unzip src="downloads/tcks/jakarta-jsonp-tck-2.1.0.zip" dest="downloads/tcks/" />
<unzip src="downloads/tcks/jakarta-jsonb-tck-3.0.0.zip" dest="downloads/tcks/" />
<unzip src="downloads/tcks/jakarta-restful-ws-tck-3.1.0.zip" dest="downloads/tcks/rest-tck" />
<unzip src="downloads/tcks/cdi-tck-${cdi.tck.dist.version}-dist.zip" dest="downloads/tcks/" />
<unzip src="downloads/tcks/jakarta.inject-tck-2.0.2-bin.zip" dest="downloads/tcks/" />


<exec executable="/bin/bash" dir="downloads/tcks/jsonp-tck/artifacts">
<arg value="artifact-install.sh"/>
Expand Down Expand Up @@ -166,6 +172,22 @@
<generatePom>true</generatePom>
</configuration>
</execution>

<execution>
<id>install-inject-tck</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta-restful-ws-tck</artifactId>
<version>2.0.2</version>
<packaging>jar</packaging>
<file>downloads/tcks/jakarta.inject-tck-2.0.2/jakarta.inject-tck-2.0.2.jar</file>
<generatePom>true</generatePom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit b734b4c

Please sign in to comment.