Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Unable to compile Stardust src(DOwnloaded the source, and getting compilation errors, with Java 1.8)
Unable to compile Stardust src [message #1732103] Thu, 12 May 2016 15:22 Go to next message
Aniruddha Shevade is currently offline Aniruddha ShevadeFriend
Messages: 14
Registered: July 2009
Junior Member
HI
This is my first time looking at stardust.
I downloaded the source, and am trying to get things compiled.

The command i use is

C:\stardust_src>mvn -e install -f product\components-pom.xml
-Dbuild.tools.home=%build.tools% -Dproduct.home=%product.home% -s %build.tools%\conf\m2\settings.xml


The error I get is shown below. Am i missing something here ?

Thanks for any help

Best Regards
Ani

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
1:compile (default-compile) on project carnot-base: Compilation failure
[ERROR] /C:/stardust_src/engine/stardust-engine-base/src/main/
java/org/eclipse/stardust/common/config/extensions/PojoExtensionsCache.java:[88,
72] incompatible types: java.lang.Object cannot be converted to T
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on p
roject carnot-base: Compilation failure
/C:/web based clients/stardust_src/engine/stardust-engine-base/src/main/java/org
/eclipse/stardust/common/config/extensions/PojoExtensionsCache.java:[88,72] inco
mpatible types: java.lang.Object cannot be converted to T

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compila
tion failure
/C:/web based clients/stardust_src/engine/stardust-engine-base/src/main/java/org
/eclipse/stardust/common/config/extensions/PojoExtensionsCache.java:[88,72] inco
mpatible types: java.lang.Object cannot be converted to T

at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(Abstrac
tCompilerMojo.java:858)
at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.ja
va:129)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:208)
... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
Re: Unable to compile Stardust src [message #1732191 is a reply to message #1732103] Fri, 13 May 2016 11:28 Go to previous message
Tanmoy Roy is currently offline Tanmoy RoyFriend
Messages: 41
Registered: September 2013
Member
Hi Ani,
Which release you have downloaded?

Btw, if your purpose is to build the Stardust war, then you can also use archetype which is straight forward.
Run below maven command to get the archetype:

mvn archetype:generate -DarchetypeGroupId=org.eclipse.stardust.deploy.jee.archet
ypes -DarchetypeArtifactId=tc7-stardust-portal-war -DarchetypeVersion=3.1.0 -DgroupId=local -DartifactId=stardust-portal-war -Dversion=3
.1.0 -DarchetypeRepository=http://download.eclipse.org/stardust/maven/releases -U


Then run
mvn clean install


this will generate the final war file in the target directory.

-Tanmoy Roy
Previous Topic:Newbie question
Next Topic:M2eclipse error 401 unauthorized
Goto Forum:
  


Current Time: Thu Mar 28 09:46:47 GMT 2024

Powered by FUDForum. Page generated in 0.03289 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top