Skip to content

Commit

Permalink
🐛 fixing up multimodule pom in examples (#447)
Browse files Browse the repository at this point in the history
Signed-off-by: Shawn Hurley <[email protected]>
  • Loading branch information
shawn-hurley authored Dec 11, 2023
1 parent 391775e commit 1838b1d
Show file tree
Hide file tree
Showing 7 changed files with 238 additions and 108 deletions.
321 changes: 213 additions & 108 deletions demo-output.yaml

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions examples/java/example/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>com.example.apps</groupId>
<artifactId>java</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>example</artifactId>

<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<!-- This leads to https://github.com/konveyor/analyzer-lsp/issues/390
as the property cannot be resolved here but only in the parent POM -->
<version>${javaee-api.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
1 change: 1 addition & 0 deletions examples/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<url>http://www.example.com</url>
<modules>
<module>dummy</module>
<module>example</module>
</modules>

<properties>
Expand Down

0 comments on commit 1838b1d

Please sign in to comment.