You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/09/15 07:38:18 UTC

[GitHub] [skywalking] xbkaishui opened a new issue #5488: Support build individual module

xbkaishui opened a new issue #5488:
URL: https://github.com/apache/skywalking/issues/5488


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
    current main branch  can't build individual module, 
   exception is 
   ```
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  12.094 s
   [INFO] Finished at: 2020-09-15T15:34:10+08:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (validate) on project apm-agent: Failed during checkstyle configuration: cannot initialize module TreeWalker - cannot initialize module ImportControl - illegal value 'apm-checkstyle/importControl.xml' for property 'file': com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find: apm-checkstyle/importControl.xml -> [Help 1]
   [ERROR] 
   
   ```
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
    It is caused by checkstyle file is relative to project root, should be absolute  
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] xbkaishui commented on issue #5488: Support build individual module

Posted by GitBox <gi...@apache.org>.
xbkaishui commented on issue #5488:
URL: https://github.com/apache/skywalking/issues/5488#issuecomment-692540717


   I found the root cause, will submit a pr to fix this. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5488: Support build individual module

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5488:
URL: https://github.com/apache/skywalking/issues/5488#issuecomment-692543902


   You could try to resolve, you will notice it would not be an eaay thing.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #5488: Support build individual module

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5488:
URL: https://github.com/apache/skywalking/issues/5488


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5488: Support build individual module

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5488:
URL: https://github.com/apache/skywalking/issues/5488#issuecomment-692541418


   Don't do cd. Use mvn -f pointing to the target pom.xml.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5488: Support build individual module

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5488:
URL: https://github.com/apache/skywalking/issues/5488#issuecomment-692538891


   Which command do you run?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] xbkaishui commented on issue #5488: Support build individual module

Posted by GitBox <gi...@apache.org>.
xbkaishui commented on issue #5488:
URL: https://github.com/apache/skywalking/issues/5488#issuecomment-692550892


   there is a inner property in maven `maven.multiModuleProjectDirectory` which will support this 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] xbkaishui commented on issue #5488: Support build individual module

Posted by GitBox <gi...@apache.org>.
xbkaishui commented on issue #5488:
URL: https://github.com/apache/skywalking/issues/5488#issuecomment-692542754


   but if the submodule is too deep, it's not convenient to do this


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] xbkaishui commented on issue #5488: Support build individual module

Posted by GitBox <gi...@apache.org>.
xbkaishui commented on issue #5488:
URL: https://github.com/apache/skywalking/issues/5488#issuecomment-692540094


   cd apm-agent
   mvn clean package -DskipTests
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org