Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: java
jdk:
- oraclejdk8
- oraclejdk13
40 changes: 27 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?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">
<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>com.profesorfalken</groupId>
<artifactId>jPowerShell</artifactId>
<version>3.1.1</version>
<packaging>jar</packaging>

<name>jPowerShell</name>
<description>API to use PowerShell from Java</description>
<url>https://github.com/profesorfalken/jPowerShell</url>
Expand All @@ -17,7 +18,7 @@
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<name>Javier Garcia Alonso</name>
Expand All @@ -26,11 +27,11 @@
<organizationUrl>http://www.profesorfalken.com</organizationUrl>
</developer>
</developers>

<scm>
<url>https://github.com/profesorfalken/jPowerShell.git</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand All @@ -41,7 +42,20 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>


<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release-profile</id>
Expand All @@ -68,8 +82,8 @@
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Expand Down Expand Up @@ -105,8 +119,8 @@
</plugins>
</build>
</profile>
</profiles>
</profiles>

<dependencies>
<dependency>
<groupId>junit</groupId>
Expand All @@ -117,8 +131,8 @@
</dependencies>
<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>
<sonar.java.source>1.8</sonar.java.source>
<maven.compiler.source>13</maven.compiler.source>
<maven.compiler.target>13</maven.compiler.target>
<sonar.java.source>13</sonar.java.source>
</properties>
</project>
20 changes: 20 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright 2016-2019 Javier Garcia Alonso.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module com.profesorfalken.jPowerShell {
requires java.logging;

exports com.profesorfalken.jpowershell;
}