maven


No schemas have been found | XJC


Can someone please help me on this issue. I have more than 2 schema files in the same directory and trying to generate the java classes using xjc in maven.
Here is my pom.xml
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>${jaxb2.version}</version>
<executions>
<execution>
<id>xjc</id>
<goals>
<goal>xjc</goal>
</goals>
<configuration>
<clearOutputDir>false</clearOutputDir>
<extension>true</extension>
<schemaFiles>${root.dir}/schemas/PnTCacheSchema.xsd</schemaFiles>
<schemaDirectory>${root.dir}/schemas/</schemaDirectory>
<packageName>com.superpages.nbt.gen.pnt</packageName>
<outputDirectory>${root.dir}/nbt/src</outputDirectory>
</configuration>
</execution>
<execution>
<id>xjc1</id>
<goals>
<goal>xjc</goal>
</goals>
<configuration>
<clearOutputDir>false</clearOutputDir>
<extension>true</extension>
<schemaFiles>${root.dir}/schemas/AdCacheSchema.xsd</schemaFiles>
<schemaDirectory>${root.dir}/schemas/</schemaDirectory>
<packageName>com.superpages.nbt.gen.cache</packageName>
<outputDirectory>${root.dir}/nbt/src</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
Getting this exception
[ERROR] Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc (default-cli) on project gypsygen: No schemas have been found -> [Help 1]

Related Links

Intellij: How to create context-sensitive Maven shortcuts
How to use property values in postinstall scripts during Maven build
Maven: No source to compile
jgitflow start-release fails for https url with OAuth token
is there any alternative for maven reactor plugin?
Cannot capture network packets in storm spout using jNetpcap
How to create 'resources' folder in Intellij?
Gradle tells me ' Must specify a repository for deployment'
Grails Unit Testing occurring on Wrong Phase of Maven Life Cycle
Maven variables set after running goals cannot be resolved in IDEA [duplicate]
Release project with SNAPSHOT test dependency
Continuous Delivery with Maven: Why not just use the build number a the artifact's version?
Maven settings not working for all projects
Groovy install HTTPBuilder now that Codehaus shutdown?
Spring mvc #RequestMapping on class level and method level 404 Status
maven .zip publish or upload error 302 to jfrog artifactory

Categories

HOME
twitter
clips
vbscript
listview
hashmap
sd-card
kalman-filter
bookshelf.js
installshield
enterprise-library-5
contact
slick-slider
maude-system
metatrader4
spring-xd
mapserver
moonmail
leiningen
zebra-printers
vaadin7
google-pagespeed
tokenize
mps
web-sql
telerik-reporting
restful-authentication
javacv
qhull
django-storage
selectedindexchanged
virtualdub
phpfox
linkerd
web-api-testing
objectanimator
http-status-code-503
twilio-api
semantic-versioning
pdb
openoffice.org
ghost4j
mpmediaquery
wixsharp
hue
cookiecutter-django
quadratic-programming
keydown
http-redirect
flashair
tactic
media-player
mako
bind9
mediaelement
objective-c-swift-bridge
libpng
rotativa
mikroc
login-control
gstreamer-0.10
bgp
ford-fulkerson
prerequisites
lemon
pretty-print
applescript-objc
websocket4net
googlemock
eol
tld
marmalade
dealloc
concurrent-collections
cloud-connect
tws
bulkloader
qt-faststart
spring-validator
e4x
datawindow
labwindows
tridion-worldserver
regsvr32
wse3.0
removeclass
mercurial-server
hamachi
servicehost
pyinotify
mongomapper
subviews
mtj
project-hosting
geneva-server
3gp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App