Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first time try ms4j #239

Closed
lahirumadushanka opened this issue Jul 18, 2016 · 6 comments
Closed

first time try ms4j #239

lahirumadushanka opened this issue Jul 18, 2016 · 6 comments

Comments

@lahirumadushanka
Copy link

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 MSF4J - Parent Pom ............................ SUCCESS [ 4.941 s]
[INFO] JAX-RS Delegates ................................... SUCCESS [ 8.873 s]
[INFO] WSO2 MSF4J core .................................... FAILURE [ 3.272 s]
[INFO] WSO2 MSF4J Spring .................................. SKIPPED
[INFO] MSF4J-Parent ....................................... SKIPPED
[INFO] WSO2 MSF4J Analytics ............................... SKIPPED
.
.
.
.
[INFO] Sample: PathParam with Regex ....................... SKIPPED
[INFO] WSO2 MSF4J OSGi tests .............................. SKIPPED
[INFO] msf4j .............................................. SKIPPED
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.355 s
[INFO] Finished at: 2016-07-18T11:21:46+05:30
[INFO] Final Memory: 49M/176M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.16:check (validate) on project msf4j-core: Failed during checkstyle execution: There are 16 errors reported by Checkstyle 6.2 with https://raw.githubusercontent.com/wso2/code-quality-tools/master/checkstyle/checkstyle.xml ruleset.

i used mvn archetype:generate -DarchetypeGroupId=org.wso2.msf4j \ -DarchetypeArtifactId=msf4j-microservice -DarchetypeVersion=1.0.0 \ -DgroupId=org.example -DartifactId=Hello-Service -Dversion=1.0.0 \ -Dpackage=org.example.service -DserviceClass=HelloService
as in quick start guidelines

@thusithathilina
Copy link
Contributor

Hi Lahiru,

Could you please execute the following command and see
mvn archetype:generate -DarchetypeGroupId=org.wso2.msf4j -DarchetypeArtifactId=msf4j-microservice -DarchetypeVersion=1.0.0 -DgroupId=org.example -DartifactId=Hello-Service -Dversion=1.0.0 -Dpackage=org.example.service -DserviceClass=HelloService

If you get an error could you attached the full output?
Thanks

@lahirumadushanka
Copy link
Author

thnx it worked. after that i run "mvn clean package" command. output is attached
mvn_clean.txt

@thusithathilina
Copy link
Contributor

thusithathilina commented Jul 18, 2016

Hi Lahiru,
Can you check in your project root pom the parent is as follows

<parent>
        <groupId>org.wso2.msf4j</groupId>
        <artifactId>msf4j-service</artifactId>
        <version>1.0.0</version>
</parent>

From where you are executing the mvn clean package command? In the project or in the msf4j source?

@lahirumadushanka
Copy link
Author

lahirumadushanka commented Jul 20, 2016

hi thilina,
i tried that also, but it still gives "BUILD FAILURE".output is attached
mvn_clean.txt

@thusithathilina
Copy link
Contributor

@lahirumadushanka Are you trying to build the msf4j source ? or the sample that you created with maven arch type?
Seems the issue is a checkstyle error. You can get avoid that by skipping checkstyle. Use -Dcheckstyle.skip=true

@lahirumadushanka
Copy link
Author

hi thilina,
silly me.i ran command without accessing helloworld folder.now it is solved.
thank you thilina.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants