Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » How to build Jubula using Maven from command promt in unix (While building Jubula code using Maven from command promt in unix getting the error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project d)
How to build Jubula using Maven from command promt in unix [message #1711245] Wed, 14 October 2015 09:30 Go to next message
pyntamil selvi is currently offline pyntamil selviFriend
Messages: 21
Registered: September 2015
Junior Member
Hi Team,

I am trying to build Jubula with Maven from command prompt in unix machine.My following the instructions as specified in https://wiki.eclipse.org/Jubula/JubulaContribGuid.
I am using
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.8.0_51, vendor: Oracle Corporation
OS name: "linux", version: "3.8.0-35-generic", arch: "i386", family: "unix"

Error log: PFA of error


Java installed : jdk1.8.0_51

But the error says it is using java 1.3.I don't have java 1.3 installed in machine.Any help is kindly appreciated.

Thanks in advance,
Pyntamil.

[Updated on: Wed, 14 October 2015 13:24]

Report message to a moderator

Re: How to build Jubula using Maven from command promt in unix [message #1711350 is a reply to message #1711245] Thu, 15 October 2015 08:45 Go to previous messageGo to next message
Markus Tiede is currently offline Markus TiedeFriend
Messages: 10
Registered: July 2009
Location: Braunschweig, Germany
Junior Member

Hi,

1.3 seems to be - in some cases - the maven default src and target level for the compiler plugin.

I've altered our POM settings to explicitly use the BREE of the project (1.7) for src and target level with [1]. Could you check whether this helps?

Best regards,
MarkusT

[1] https://git.eclipse.org/r/#/c/58214/1/org.eclipse.jubula.dashboard.starter/pom.xml
Re: How to build Jubula using Maven from command promt in unix [message #1711360 is a reply to message #1711350] Thu, 15 October 2015 10:10 Go to previous messageGo to next message
pyntamil selvi is currently offline pyntamil selviFriend
Messages: 21
Registered: September 2015
Junior Member
Issue Resolved .I was using Maven 3.0.5 .updated my Maven to 3.3 .Now this error is fixed.but getting the following error:

Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project org.eclipse.jubula.client.ua.help: An Ant BuildException has occured: The following error occurred while executing this line:
[exec] [ERROR] /home/user/projects/jubula.core/jubula_sourcecode/org.eclipse.jubula.documentation/buildScript.xml:160:



P.S: PFA of error
  • Attachment: jubula_error
    (Size: 348.36KB, Downloaded 184 times)
Re: How to build Jubula using Maven from command promt in unix [message #1711961 is a reply to message #1711360] Tue, 20 October 2015 12:53 Go to previous messageGo to next message
Markus Tiede is currently offline Markus TiedeFriend
Messages: 10
Registered: July 2009
Location: Braunschweig, Germany
Junior Member

Unfortunately we've some dependencies to unix commandline tools that have to be present when building Jubula (the documentation to be more specific - see http://eclip.se/457238#c0 and following).

Could you check whether these tools are available for your environment <or> adjust the mechanism that's been added with:

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=5fe56ce5083bb03e49e006f55a820f9493a004f1

in a way to also skip the generation for your environment?

Best regards,
MarkusT
Re: How to build Jubula using Maven from command promt in unix [message #1712048 is a reply to message #1711961] Wed, 21 October 2015 05:51 Go to previous message
pyntamil selvi is currently offline pyntamil selviFriend
Messages: 21
Registered: September 2015
Junior Member
Hi,

Issues resolved. As you said it is due to missing dependency xsltproc and xmllint .I installed those dependencies and build is successful now.But even then when I import the built jubula.core into eclipse it still shows some errors.Any help in this is welcome!
Previous Topic:How to view the contents of embedded.h2.db file
Next Topic:Jubula - Eclipse AUT does not start
Goto Forum:
  


Current Time: Fri Apr 19 20:46:02 GMT 2024

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

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

Back to the top