Skip to content

Commit

Permalink
fix (extensions/istio) : Add Junit5 dependency to model-v1alpha3 pom
Browse files Browse the repository at this point in the history
Somehow Istio V1alpha3 model generation build seems to be failing
requiring junit-bom dependency due to maven-compiler-plugin bump

Signed-off-by: Rohan Kumar <[email protected]>
  • Loading branch information
rohanKanojia committed Feb 6, 2024
1 parent 655396b commit 653c468
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion extensions/istio/generator-v1alpha3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ all: build

build: gobuild
pushd ../model-v1alpha3 && \
mvn -Pgenerate clean install -DskipTests -o && \
mvn -Pgenerate clean install -DskipTests && \
popd

gobuild:
Expand Down
2 changes: 1 addition & 1 deletion extensions/istio/generator-v1beta1/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ all: build

build: gobuild
pushd ../model-v1beta1 && \
mvn -Pgenerate clean install -DskipTests -o && \
mvn -Pgenerate clean install -DskipTests && \
popd

gobuild:
Expand Down
9 changes: 5 additions & 4 deletions extensions/istio/model-v1alpha3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<profiles>
Expand Down Expand Up @@ -134,10 +139,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 653c468

Please sign in to comment.