Skip to content

Commit

Permalink
20240211
Browse files Browse the repository at this point in the history
  • Loading branch information
thevpc committed Feb 11, 2024
1 parent 5f86d45 commit 4beaea0
Show file tree
Hide file tree
Showing 8 changed files with 834 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,4 @@
/installers/nuts-installer/dist/portable-jar/nuts-*.jar
/installers/nuts-builder-tool/target
/tutorials/naf/nuts-spring-boot-integration-hello-world/nuts-spring-boot-integration-hello-world.iml
/libraries/nlib-swing/target
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ protected NPrintStream convertImpl(NTerminalMode other) {
case FILTERED: {
return new NPrintStreamFiltered(this, getSession(), bindings);
}
case ANSI: {
if(this.getTerminalMode()==NTerminalMode.INHERITED){
return this;
}
break;
}
}
throw new NIllegalArgumentException(getSession(), NMsg.ofC("unsupported %s -> %s", getTerminalMode(), other));
}
Expand Down
219 changes: 219 additions & 0 deletions libraries/nlib-swing/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
<?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>
<groupId>net.thevpc.nuts.lib</groupId>
<artifactId>nlib-swing</artifactId>
<version>0.8.4.0</version>
<packaging>jar</packaging>
<name>Nuts Community Library for Swing Support</name>
<url>https://github.com/thevpc/nuts</url>
<description>Swing Lib</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<github.global.server>github</github.global.server>
</properties>
<scm>
<connection>scm:git:git://github.com/thevpc/nuts.git</connection>
<developerConnection>scm:git:ssh://github.com:thevpc/nuts.git</developerConnection>
<url>https://github.com/thevpc/nuts/tree/master</url>
</scm>

<organization>
<name>vpc open source initiative</name>
<url>https://thevpc.net</url>
</organization>

<developers>
<developer>
<id>vpc</id>
<name>Taha Ben Salah</name>
<email>taha.bensalah@gmail.com</email>
<url>https://tahabensalah.net</url>
<organization>thevpc open source initiative</organization>
<organizationUrl>https://thevpc.net</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>Africa/Tunis</timezone>
<properties>
<picUrl>https://gravatar.com/avatar/977025550163b4a91397007f6ea9ee17</picUrl>
</properties>
</developer>
</developers>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<configuration>
<showDeprecation>true</showDeprecation>
<debug>true</debug>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>deploy</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${targetdirectory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<tags>
<tag>
<name>app.category</name>
<placement>a</placement>
<head>Category:</head>
</tag>
</tags>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>net.thevpc.nuts.lib.talkagent</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading

0 comments on commit 4beaea0

Please sign in to comment.