question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Best way to cross compile

See original GitHub issue

Hi,

What is the best way to cross-compile a project for various scala versions? I came across the FAQ, mentioning to use a property-dependant artifactId, i.e.

<artifactId>scala-maven-plugin_${scalaVersion}</artifactId>

However maven 3.3 complains that it requires a stable artifact.

[WARNING] ‘artifactId’ contains an expression but should be a constant

Is there a workaround for cross-compiling?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
slandellecommented, Jun 17, 2022

Closing as stale.

2reactions
davidBcommented, Jun 13, 2018

the scalor plugin seems to use modules for cross compile: https://github.com/random-maven/scalor-maven-plugin/tree/master/src/it/test-cross

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction to cross-compiling for Linux
The first cross-compiler's target becomes the host the new compiler runs on, and the second target is the platform the new compiler generates...
Read more >
Cross-Compilation (automake) - GNU.org
To cross-compile is to build on one platform a binary that will run on another platform. When speaking of cross-compilation, it is important...
Read more >
Cross Compile files on x86 Linux host for 96Boards ARM ...
Cross Compile files on x86 Linux host for 96Boards ARM systems · Step 1: Clone libsoc library and change directory · Step 2:...
Read more >
Building and cross-compile tutorial - Fabrizio Dini
It is a good idea to keep all these things gathered in a single place. I suggest you create a folder (e.g. x-compile...
Read more >
How to cross-compile for embedded with CMake like a champ
Cross -compilation in CMake is easy and in most cases depends only on a proper toolchain file. Once provided, everything else should be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found