bitstorm / Wicket-rest-annotations

Annotations for Wicket to build REST-based API
Apache License 2.0
8 stars 6 forks source link

Restannotations not work for multimodule project. #2

Closed madasamys closed 9 years ago

madasamys commented 9 years ago

The wicket rest annotations work for single module project.

To follow this step to recreate this issue.

$git clone https://github.com/MadasamySankarapandian/restannotations-multimodule-bug-report.git

H3. My observation console logger

I am using CustomPackageScanner instead PackageScanner. CustomPackageScanner is duplicate of PackageScanner. To identify the problem i added logger message in CustomPackageScanner class.

INFO  - CustomPackageScanner       - Package name: org.sample
INFO  - CustomPackageScanner       - Number of directory: 1
INFO  - CustomPackageScanner       - Directory name: file:/home/madasamy/.m2/repository/org/sample/restapi/common/restapi-common/1.0-SNAPSHOT/restapi-common-1.0-SNAPSHOT.jar!/org/sample
INFO  - CustomPackageScanner       - Directory does not exists: file:/home/madasamy/.m2/repository/org/sample/restapi/common/restapi-common/1.0-SNAPSHOT/restapi-common-1.0-SNAPSHOT.jar!/org/sample
INFO  - CustomPackageScanner       - Number of  classes: 0