[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Warning about thread safety when using Tycho 1.2.0 and building with parallel execution
|
Hi,
since upgrading to both Tycho 1.2.0 and Eclipse
Photon maven prints the following warning during build:
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel
execution, but project *
[WARNING] * contains the following plugin(s)
that have goals not marked *
[WARNING] * as @threadSafe to support
parallel building.
*
[WARNING] * While this /may/ work fine,
please look for plugin updates *
[WARNING] * and/or request plugins be
made thread-safe.
*
[WARNING] * If reporting an issue, report
it against the plugin in *
[WARNING] * question, not against maven-core
*
[WARNING] *****************************************************************
[WARNING] The following goals are not
marked @threadSafe in $projectName:
[WARNING] org.eclipse.tycho:tycho-packaging-plugin:1.2.0:build-qualifier
[WARNING] org.eclipse.tycho:tycho-packaging-plugin:1.2.0:package-plugin
[WARNING] org.eclipse.tycho:tycho-p2-plugin:1.2.0:p2-metadata-default
[WARNING] org.eclipse.tycho:tycho-compiler-plugin:1.2.0:compile
[WARNING] org.eclipse.tycho:tycho-packaging-plugin:1.2.0:validate-version
[WARNING] org.eclipse.tycho:tycho-packaging-plugin:1.2.0:validate-id
[WARNING] org.eclipse.tycho:target-platform-configuration:1.2.0:target-platform
[WARNING] org.eclipse.tycho:tycho-p2-plugin:1.2.0:update-local-index
[WARNING] *****************************************************************
The build itself seems to work fine, so it
might be a new and unnecessary warning triggered by the newer Maven version
in Eclipse Photon.
It (obviously) only appears when selecting
more than one thread in the Eclipse Maven Run Configuration or when running
from the command line with "-T 1C" switch enabled.
+----------------+------------------+
| |
|
| Maven 3.3.9 | Maven 3.5.3
|
| Eclipse Oxygen
| (Eclipse Photon) |
| |
|
+-------------------------------------------------+
|
| |
|
| Tycho 1.1.0 | no warning
| no warning |
|
| |
|
+-------------------------------------------------+
|
| warning |
|
| Tycho 1.2.0 | only in
| warning appears |
|
| debug output |
|
+-------------+----------------+------------------+
As you can see in the matrix above, there
is no warning at all when using Tycho 1.1.0. Maven 3.3.9 warns about Tycho
1.2.0, but only with debug output enabled. Maven 3.5.3 shows the warning
every time (although with different wording with/without debug output).
Is Tycho 1.2.0 thread safe? Can we build
parallelized or shouldn't we use that flag?
Thank you!Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature