mirror of
https://github.com/enso-org/enso.git
synced 2024-12-02 11:34:35 +03:00
457eb2279f
Recently a classpath misconfiguration appeared in `engine/runtime` project: ![org.junit not found](https://github.com/enso-org/enso/assets/26887752/215a074b-1fad-4d4d-a5a8-a573b0d53e76) The problem was caused by the `XyzTest.java` files being incorrectly assigned to `engine/runtime/src/main/java` source root and its classpath (which obviously doesn't contain JUnit). This PR restricts the `srcCp` to `inputDir`, when it is known. That properly assignes the `XyzTest.java` files to `engine/runtime/src/test/java` source root. The IGV as well as VSCode support seems to recognize unit test classpath properly now.
280 lines
11 KiB
XML
280 lines
11 KiB
XML
<?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>org.enso.tools</groupId>
|
|
<artifactId>enso4igv</artifactId>
|
|
<packaging>nbm</packaging>
|
|
<name>Enso Language Support for NetBeans & Ideal Graph Visualizer</name>
|
|
<version>1.21-SNAPSHOT</version>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.netbeans.utilities</groupId>
|
|
<artifactId>nbm-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<version>4.7</version>
|
|
<configuration>
|
|
<useOSGiDependencies>true</useOSGiDependencies>
|
|
<author>Enso.org</author>
|
|
<licenseName>Apache 2.0</licenseName>
|
|
<licenseFile>../../LICENSE</licenseFile>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.2</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>uk.co.bithatch</groupId>
|
|
<artifactId>svg-rasterizer-maven-plugin</artifactId>
|
|
<version>1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>Rasterize</id>
|
|
<goals>
|
|
<goal>rasterize-image</goal>
|
|
</goals>
|
|
<configuration>
|
|
<inputFile>src/main/resources/org/enso/tools/enso4igv/enso.svg</inputFile>
|
|
<destDir>dist/</destDir>
|
|
<outputs>
|
|
<output>
|
|
<path>enso.png</path>
|
|
<width>128</width>
|
|
<height>128</height>
|
|
<format>png</format>
|
|
</output>
|
|
</outputs>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.frgaal</groupId>
|
|
<artifactId>compiler-maven-plugin</artifactId>
|
|
<version>21.0.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<compilerId>frgaal</compilerId>
|
|
<source>21</source>
|
|
<target>1.8</target>
|
|
<compilerArgs>
|
|
<arg>-Xlint:deprecation</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.15</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-api-annotations-common</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-textmate-lexer</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-projectapi</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-projectuiapi</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-api-templates</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-filesystems</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-loaders</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-nodes</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-util</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-util-lookup</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-util-ui</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-windows</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-text</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-core-multiview</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-awt</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-openide-dialogs</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-projectuiapi-base</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-api-java-classpath</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-java-project</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-java-platform</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-api-java</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-java-project-ui</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-api-debugger-jpda</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-api-debugger</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-nbjunit</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<scope>test</scope>
|
|
<type>jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.modules</groupId>
|
|
<artifactId>org-netbeans-modules-projectapi-nb</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<scope>test</scope>
|
|
<type>jar</type>
|
|
</dependency>
|
|
</dependencies>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<netbeans.version>RELEASE113</netbeans.version>
|
|
<netbeans.compile.on.save>none</netbeans.compile.on.save>
|
|
</properties>
|
|
<profiles>
|
|
<profile>
|
|
<id>vsix</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.seovic.maven.plugins</groupId>
|
|
<artifactId>npm-maven-plugin</artifactId>
|
|
<version>1.0.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>install</id>
|
|
<phase>pre-integration-test</phase>
|
|
<goals>
|
|
<goal>install</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>version</id>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<command>version</command>
|
|
<args>
|
|
<arg>${project.version}</arg>
|
|
</args>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>vsix</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<script>vsix</script>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|