Skip to content

Commit

Permalink
Allow disabling the jline bundle module
Browse files Browse the repository at this point in the history
It causes a real mess in IDEA as all the source files are duplicated, so simply add an easy way to not include it in the build
  • Loading branch information
gnodet committed Dec 10, 2020
1 parent 8ff1e1d commit 717fad8
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 5 deletions.
31 changes: 29 additions & 2 deletions demo/pom.xml
Expand Up @@ -29,9 +29,36 @@
<dependencies>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline</artifactId>
<artifactId>jline-terminal-jansi</artifactId>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-terminal-jna</artifactId>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-reader</artifactId>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-builtins</artifactId>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-console</artifactId>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-remote-ssh</artifactId>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-remote-telnet</artifactId>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-style</artifactId>
</dependency>

<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-groovy</artifactId>
Expand Down
6 changes: 5 additions & 1 deletion graal/pom.xml
Expand Up @@ -29,7 +29,11 @@
<dependencies>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline</artifactId>
<artifactId>jline-reader</artifactId>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-console</artifactId>
</dependency>

<dependency>
Expand Down
15 changes: 13 additions & 2 deletions pom.xml
Expand Up @@ -548,6 +548,18 @@
</build>

<profiles>
<profile>
<id>bundle</id>
<activation>
<property>
<name>!nobundle</name>
</property>
</activation>
<modules>
<module>jline</module>
</modules>
</profile>

<profile>
<id>java9</id>
<properties>
Expand Down Expand Up @@ -604,9 +616,8 @@
<module>remote-ssh</module>
<module>remote-telnet</module>
<module>style</module>
<module>jline</module>
<module>demo</module>
<module>graal</module>
</modules>
</modules>

</project>

0 comments on commit 717fad8

Please sign in to comment.