[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Oncofuse: Is there any way to avoid groovy-eclipse-compiler



On Wed, 26 Jun 2019, Andreas Tille wrote:

> It seems you are refering to the package libgmavenplus-java.  What do I
> need to do with this?

I’ve only seen it used here, I don’t speak Groovy, but it works
like this to compile test classes:

<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/maven-v4_0_0.xsd";>
[…]
	<properties>
[…]
		<!-- http://groovy.github.io/GMavenPlus/compileTests-mojo.html#targetBytecode -->
		<gmavenplus.javaRelease>1.8</gmavenplus.javaRelease>
		<!-- maven plugins -->
		<gmavenplus.plugin.version>1.7.1</gmavenplus.plugin.version>
	</properties>
[…]
	<build>
		<plugins>
			<plugin>
				<groupId>org.codehaus.gmavenplus</groupId>
				<artifactId>gmavenplus-plugin</artifactId>
				<version>${gmavenplus.plugin.version}</version>
				<executions>
					<execution>
						<goals>
							<goal>compileTests</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<targetBytecode>${gmavenplus.javaRelease}</targetBytecode>
				</configuration>
			</plugin>
[…]

I assume the goal to compile main classes will differ;
duckduckgo for gmavenplus-plugin to get some semblance
of documentation.

Anything else would be trying it out until it works.
Sorry I cannot be more helpful :|

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

**********

Mit der tarent Academy bieten wir auch Trainings und Schulungen in den
Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an.

Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt.

**********


Reply to: