I'm having an issue with running my unit tests in a Play Framework application.
I'm currently using v 2.6.11 of Play and sbt 0.13.17. Tests have worked in the past, but It seems that now sbt cannot execute them.
If I simply run sbt test I get No tests were executed.. If I start sbt with sbt --debug I get a more verbose log with the following:
[debug] [naha] .
[debug] [naha] All member reference dependencies will be considered within this context.
[debug] [naha] New invalidations:
[debug] [naha] Set()
[debug] [naha] Initial set of included nodes: Set()
[debug] [naha] Previously invalidated, but (transitively) depend on new invalidations:
[debug] [naha] Set()
[debug] [naha] All newly invalidated sources after taking into account (previously) recompiled sources:Set()
[debug] Copy resource mappings:
[debug]
[debug] Framework implementation 'org.scalacheck.ScalaCheckFramework' not present.
[debug] Framework implementation 'org.specs2.runner.Specs2Framework' not present.
[debug] Framework implementation 'org.specs2.runner.SpecsFramework' not present.
[debug] Framework implementation 'org.specs.runner.SpecsFramework' not present.
[debug] Subclass fingerprints: List((org.scalatest.Suite,false,org.scalatest.tools.Framework$$anon$1#1883984e), (junit.framework.TestCase,false,com.novocode.junit.JUnit3Fingerprint#420f0739))
[debug] Annotation fingerprints: List((org.scalatest.WrapWith,false,org.scalatest.tools.Framework$$anon$2#453e6a3d), (org.junit.runner.RunWith,false,com.novocode.junit.RunWithFingerprint#7fb29b6c), (org.junit.Test,false,com.novocode.junit.JUnitFingerprint#7760adb))
[debug] javaOptions: List()
[debug] Forking tests - parallelism = false
[info] ScalaTest
[info] Run completed in 38 milliseconds.
[info] Total number of tests run: 0
[info] Suites: completed 0, aborted 0
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
[info] No tests were executed.
[debug] Summary for JUnit not available.
[debug] Forcing garbage collection...
This is my build.sbt file:
lazy val root = (project in file("."))
.enablePlugins(PlayJava,PlayEbean)
scalaVersion := "2.11.7"
libraryDependencies ++= Seq(
javaJdbc,
javaWs,
javaJpa,
filters,
guice,
// Bunch of Dependencies
)
dependencyOverrides ++= Set(
"io.ebean" % "ebean" % "11.14.3" withSources()
)
// Remove dependencies because of Multiple Bindings to SLF4J
excludeDependencies += "org.slf4j" % "slf4j-log4j12"
excludeDependencies += "org.log4j" % "log4j"
// Don't know why But activator stage started to complain while Compiling
// http://stackoverflow.com/questions/22974766/play2-play-stage-command-fails-with-not-found-type-setupcontext
sources in doc in Compile := List()
I've tried adding crossPaths := false as per this thread in Github
Since I saw that message on Missing Implementations I've added this to my build.sbt (through various google searches):
"org.scalatest" %% "scalatest" % "3.0.5" % Test,
"com.novocode" % "junit-interface" % "0.11" % Test,
"org.exparity" % "hamcrest-date" % "2.0.0" % Test
But without luck. I've been at it all morning in various Stackoverflow threads and github issues this, this or this
If any one has some ideas on how I can debug this situation.
In my case this worked:
Open sbt console: sbt
Run the tests: testOnly * or test *
So adding the * fixed the problem.
If you are running JUnit tests add the following to build.sbt:
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test"
testOptions += Tests.Argument(TestFrameworks.JUnit, "-v")
It might be the case that JUnit tests are indeed running, but the log events are at DEBUG level so you cannot see them. According to docs -v option logs them at INFO level:
Log "test run started" / "test started" / "test run finished" events
on log level "info" instead of "debug".
On my machine setting -v option gives me the following output in sbt:
[info] Test run started
[info] Test com.gu.identitycommon.clickthrough.TokenServiceTest.shouldFlagInvalidPasswordResetTokens started
[info] Test com.gu.identitycommon.clickthrough.TokenServiceTest.shouldEndcodeAndDecodeActivationToken started
[info] Test com.gu.identitycommon.clickthrough.TokenServiceTest.shouldDecoedToNullUserGroupIfNoneProvidedInActivationToken started
[info] Test com.gu.identitycommon.clickthrough.TokenServiceTest.shouldRecognizeValidPasswordResetTokens started
[info] Test run finished: 0 failed, 0 ignored, 4 total, 0.276s
[info] Test run started
while without -v test option there is no output.
Related
I updated all architecture (Java17, Maven3, Spring 2.7/core5.3...) and Vaadin 23, but I can only run in development mode. I can no longer run -Pproduction. Build failure :
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.260 s
[INFO] Finished at: 2022-08-31T11:35:42-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vaadin:flow-maven-plugin:23.1.6:build-frontend (default) on project template-module-app: Could not execute build-frontend goal: Error occured during goal execution: Cannot invoke "java.lang.Class.isInterface()" because the return value of "org.reflections.Reflections.forClass(String, java.lang.ClassLoader[])" is nullPlease run Maven with the -e switch (or Gradle with the --stacktrace switch), to learn the full stack trace. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vaadin:flow-maven-plugin:23.1.6:build-frontend (default) on project template-module-app: Could not execute build-frontend goal
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
I've tried everything:
https://vaadin.com/docs/latest/tools/mpr/configuration/production-mode
https://vaadin.com/docs/latest/tools/ce/going-to-production
https://vaadin.com/docs/latest/production/troubleshooting
...
I am using STS 4 (https://spring.io/tools) and added Eclipse AWS toolkit (https://marketplace.eclipse.org/content/aws-toolkit-eclipse) .
After restart STS we can see everything is good.
Now i have installed AWS SAM CLI local
And configured path where we have sam.exe
I have Java 8 and Python 2.7 and 3.6 and docker installed in my local.
Now created AWS Java serverless project maven install and try to run sam local
https://aws.amazon.com/blogs/developer/aws-toolkit-for-eclipse-locally-debug-your-lambda-functions-and-api-gateway/
Update :
When i am try to run SAM-CLI its working and returning response.
Template.yaml
AWSTemplateFormatVersion : '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: AWS Lambda Sample Project
Resources:
Products:
Type: AWS::Serverless::Function
Properties:
Handler: com.example.handler.LambdaHandler
CodeUri: ./target/lambda-project-1.0-SNAPSHOT.jar
Runtime: java8
Timeout: 300
Environment:
Variables:
ENVIRONMENT: "test"
Events:
ListProducts:
Type: Api
Properties:
Path: /lambda
Method: post
And run configuration
**Maven build :**
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< com.example:lambda-project >---------------------
[INFO] Building lambda-project 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # lambda-project ---
[INFO] Deleting C:\Users\vaqua\Documents\code\AWS-Lambda-Example-master\AWS-Lambda-Example-master\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # lambda-project ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) # lambda-project ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 6 source files to C:\Users\vaqua\Documents\code\AWS-Lambda-Example-master\AWS-Lambda-Example-master\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # lambda-project ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) # lambda-project ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 1 source file to C:\Users\vaqua\Documents\code\AWS-Lambda-Example-master\AWS-Lambda-Example-master\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # lambda-project ---
[INFO] Surefire report directory: C:\Users\vaqua\Documents\code\AWS-Lambda-Example-master\AWS-Lambda-Example-master\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.example.handler.LambdaHandlerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) # lambda-project ---
[INFO] Building jar: C:\Users\vaqua\Documents\code\AWS-Lambda-Example-master\AWS-Lambda-Example-master\target\lambda-project-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-shade-plugin:3.1.0:shade (default) # lambda-project ---
[INFO] Including com.amazonaws:aws-lambda-java-events:jar:2.0.2 in the shaded jar.
[INFO] Including joda-time:joda-time:jar:2.6 in the shaded jar.
[INFO] Including com.amazonaws:aws-lambda-java-core:jar:1.2.0 in the shaded jar.
[INFO] Including com.typesafe:config:jar:1.3.1 in the shaded jar.
[INFO] Including org.apache.logging.log4j:log4j-api:jar:2.5 in the shaded jar.
[INFO] Including org.apache.logging.log4j:log4j-core:jar:2.5 in the shaded jar.
[INFO] Including com.google.code.gson:gson:jar:2.8.2 in the shaded jar.
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing C:\Users\vaqua\Documents\code\AWS-Lambda-Example-master\AWS-Lambda-Example-master\target\lambda-project-1.0-SNAPSHOT.jar with C:\Users\vaqua\Documents\code\AWS-Lambda-Example-master\AWS-Lambda-Example-master\target\lambda-project-1.0-SNAPSHOT-shaded.jar
[INFO] Dependency-reduced POM written at: C:\Users\vaqua\Documents\code\AWS-Lambda-Example-master\AWS-Lambda-Example-master\dependency-reduced-pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.510 s
[INFO] Finished at: 2018-12-25T21:27:10-06:00
[INFO] ------------------------------------------------------------------------
Error logs:
Failed to launch SAM Local.
com.amazonaws.eclipse.core.exceptions.AwsActionException
Logs:
eclipse.buildId=4.0.2.201811300843-RELEASE
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.springframework.boot.ide.branding.sts4
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4
com.amazonaws.eclipse.lambda
Error
Tue Dec 25 21:21:52 CST 2018
Failed to launch SAM Local.
com.amazonaws.eclipse.core.exceptions.AwsActionException
at com.amazonaws.eclipse.lambda.launching.SamLocalDelegate.launch(SamLocalDelegate.java:159)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:862)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:720)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1029)
at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1243)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.NullPointerException
at com.amazonaws.eclipse.lambda.launching.SamLocalDelegate.launch(SamLocalDelegate.java:116)
... 5 more
eclipse.buildId=4.0.2.201811300843-RELEASE
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.springframework.boot.ide.branding.sts4
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4
org.eclipse.m2e.logback.appender
Warning
Tue Dec 25 21:21:47 CST 2018
Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
I am wonder if anyone solved that issue ?
Had the same issue.
First you should open the command line and run
where sam
If you find that the path contains any spaces, for example, if it has 'Program Files' in its path then uninstall samcli and reinstall it. Make sure that its path does not contain any spaces, for example: C:\Amazon\SAMCLI. And when you're done installing samcli rerun the previous code in cmd and copy the path and paste in eclipse.
Secondly, you should follow Dimman's advice by creating a config file. You can do so by using awscli by running
aws configuration
This will create the file automatically. Save and restart and everything should be fine.
Good luck.
Had the same issue, made the following changes and was able to continue...
In your section "And run configuration", in the image.
Make sure that you have expanded the "Advanced" section and added the needed info,
AWS Configuration
SAM Local Configuration (this should be setup).
Also try adding doing the following.
In your folder
C:\Users\YOUR_USER.aws
You should see two files, credentials, and config.
I did not have the file config so I created it and added the following:
[default]
region=YOUR_REGION
I also added the following line under the [username] in the credentials file:
region=YOUR_REGION
I saved and restarted everything and got it to work.
Now I have some other issues. But they are specific to JSON parsing.
When I run my Automation test script locally its working absolutely fine without any error message. But when I run on server, I can see that its working fine, but at the end, instead of Pass status, it shows test failure.
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 282.662 sec <<<
FAILURE!
allNumbersEditorsDraws(NumbersEditor.TestSuiteAdmin) Time elapsed: 0.047 sec <
<< FAILURE!
org.openqa.selenium.remote.SessionNotFoundException: Session ID is null. Using WebDriver after calling quit()?
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
System info: host: 'W-SL-DEVBUILD1', ip: '10.130.32.68', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:134)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:500)
at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
at NumbersEditor.LoginPage.loginAdmin(LoginPage.java:32)
at NumbersEditor.TestSuiteAdmin.allNumbersEditorsDraws(TestSuiteAdmin.java:18)
Results :
Failed tests: allNumbersEditorsDraws(NumbersEditor.TestSuiteAdmin): Session ID is null. Using WebDriver after calling quit()?(..)
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:50 min
[INFO] Finished at: 2017-06-26T10:41:18+01:00
[INFO] Final Memory: 13M/328M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
12.4:test (default-test) on project NumbersEditor: There are test failures.
[ERROR]
[ERROR] Please refer to C:\BuildAgent\work\f3b21200f1a5caf2\Automation\target\su
refire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
This is a common issue when you are doing UI test with Selenium on virtual machines.
When you run your tests, your session should be active. So, if you are connected in remote desktop on the VM, the current script is working, but, if you exit, the current session disapear.
In order to make it works, you should leave the current remote session with a script :
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
%windir%\System32\tscon.exe %%s /dest:console
)
I'm following http://www.mulesoft.org/documentation... to create a connector to a SOAP Service via CXF Client Example. When I add the required maven dependency code in ,pom file and clean and run it(on mule studio)...I'm getting the following error :
Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.5.9:wsdl2java (default) on project sunsetriseconnector: javax/xml/ws/Action
The full stack trace looks like this :
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Sunset Sunrise Service 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> studio-maven-plugin:3.4.2:studio (default-cli) # sunsetriseconnector >>>
[INFO]
[INFO] --- mule-devkit-maven-plugin:3.4.0:attach-test-resources (default-attach-test-resources) # sunsetriseconnector ---
[INFO] Attaching test resource D:\MuleExamples\sunsetrise\src\main\app
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-alpha-4:enforce (enforce-maven-version) # sunsetriseconnector ---
[INFO]
[INFO] --- mule-devkit-maven-plugin:3.4.0:generate-sources (default-generate-sources) # sunsetriseconnector ---
[INFO] Source directory: D:\MuleExamples\sunsetrise\target\generated-sources\mule added
[INFO] Resource directory: D:\MuleExamples\sunsetrise\target\generated-sources\mule added
[INFO] Sorting generator executing based on their dependencies...
[INFO] Searching for classes annotated with #Connector
[INFO] Validating sunsetriseConnector class
[INFO] Validating Multi-module consistency
[INFO] Adding registry bootstrap entry for org.tutorial.sunsetrise.agents.DefaultSplashScreenAgent as DefaultSplashScreenAgent
[INFO] Generating message processor as org.tutorial.sunsetrise.processors.MyProcessorMessageProcessor for method myProcessor in sunsetriseConnector
[INFO] Generating config element definition parser as org.tutorial.sunsetrise.config.sunsetriseConnectorConfigDefinitionParser for class sunsetriseConnector
[INFO] Generating bean definition parser as org.tutorial.sunsetrise.config.MyProcessorDefinitionParser for message processor org.tutorial.sunsetrise.processors.MyProcessorMessageProcessor
[INFO] Validating example for method: myProcessor
log4j:WARN No appenders could be found for logger (org.springframework.beans.factory.xml.PluggableSchemaResolver).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[INFO]
[INFO] --- cxf-codegen-plugin:2.5.9:wsdl2java (default) # sunsetriseconnector ---
May 2, 2014 12:18:13 PM org.apache.cxf.xjc.bg.BooleanGetterPlugin run
INFO: Running boolean getter plugin.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.464s
[INFO] Finished at: Fri May 02 12:18:13 IST 2014
[INFO] Final Memory: 33M/62M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.5.9:wsdl2java (default) on project sunsetriseconnector: javax/xml/ws/Action -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I'm pretty new in mule and also in Apache cxf. Please help me.
Thanks.
I got the fix by adding jaxws-api-2.2.1.jar inside C:\Program Files (x86)\Java\jdk1.6.0_02\jre\lib\endorsed folder.
If you're using MuleStudio, which is built on Eclipse, you should import the JAR into your build path. See This SO answer
If you're using Mule ESB Standalone, you should drop the JAR into the MULE_HOME/apps/yourapp/lib directory if you need it on a per-app basis, or in the /MULE_HOME/lib/user
See the class loader documentation
I have checked out the source using the instructions svn checkout http://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.1.0 wso2carbon from here: http://docs.wso2.org/wiki/display/Carbon410/Obtaining+the+Product
I have tried running mvn install using maven 2.2.1 (rdebian-8) - the install prerequisites state that version 2.1.0 or later version of maven is ok: http://docs.wso2.org/wiki/display/Carbon410/Installation+Prerequisites
I hit the errror:
Component descriptor role: 'com.jcraft.jsch.UIKeyboardInteractive', implementation:
'org.apache.maven.wagon.providers.ssh.jsch.interactive.PrompterUIKeyboardInteractive', role hint:
'default' has a hint, but there are other implementations that don't
Searching on google, it seems this is a problem with maven 2.2.1 - http://jira.codehaus.org/browse/WAGON-393
So I tried with mvn 3.0.5 and run into the following error:
Failed tests:
test3(org.apache.axis2.jaxws.utility.ClassUtilsTests)
test4(org.apache.axis2.jaxws.utility.ClassUtilsTests)
Tests run: 457, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [0.730s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [1.144s]
[INFO] Axiom Parent POM .................................. SUCCESS [0.590s]
[INFO] Axiom Test Utilities .............................. SUCCESS [2.559s]
[INFO] Axiom Jaxen Test Suite ............................ SUCCESS [1.380s]
[INFO] Axiom API ......................................... SUCCESS [18.402s]
[INFO] Axiom Implementation Test Suite ................... SUCCESS [2.008s]
[INFO] Axiom Impl ........................................ SUCCESS [13.743s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [16.125s]
[INFO] Axiom DOM ......................................... SUCCESS [18.484s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.023s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.363s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [2.792s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [10.721s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [30.639s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [4.468s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [6.632s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [1.410s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [13.221s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [1:10.258s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [2.957s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [10.221s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [17.412s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [22.842s]
[INFO] Apache Axis2 - JAXWS .............................. FAILURE [1:12.654s]
EDIT: 31st May 2013
When I run mvn install -Dmaven.test.skip=true I get a little further, but run into a new error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project axis2-transport-testkit: Compilation failure: Compilation failure:
[ERROR] /home/snowch/repos_thirdparty/carbon_kernel_4.1.0/dependencies/transports/1.1.0-wso2v8/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/doclet/ResourceInfoDoclet.java:[27,22] error: package com.sun.javadoc does not exist
I'm guessing that somewhere in the source tree, someone has coded a dependency on the SUN JDK and I am running OpenJDK.