File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin  not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin  not found" Watch "com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin  not found" New topic
Author

com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin not found

Lee Mark
Ranch Hand

Joined: Mar 05, 2009
Posts: 46
my pom is as follows..






and while running
mvn -e install i am getting following stacktrace..

Downloading: http://repo1.maven.org/maven2/com/sun/tools/jxc/maven2/maven-jaxb-schemagen-plugin/1.3-dev/maven-jaxb-schemagen-plugin-1.3-dev.pom
Downloading: http://repo1.maven.org/maven2/com/sun/tools/jxc/maven2/maven-jaxb-schemagen-plugin/1.3-dev/maven-jaxb-schemagen-plugin-1.3-dev.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin

Reason: POM 'com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin' not found in repository: Unable to download the artifact from any repository

com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:pom:1.3-dev

from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin': POM 'com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin' not found in repository: Unable to download the artifact from any repository

com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:pom:1.3-dev

from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1222)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:987)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build project for plugin 'com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin': POM 'com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin' not found in repository: Unable to download the artifact from any repository

com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:pom:1.3-dev

from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin
at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:277)
at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:193)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:172)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)
... 17 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin' not found in repository: Unable to download the artifact from any repository

com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:pom:1.3-dev

from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:571)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:231)
at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:262)
... 20 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:pom:1.3-dev

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:206)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:524)
... 22 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:194)
... 24 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Nov 20 10:01:00 IST 2009
[INFO] Final Memory: 3M/7M
[INFO] ----------------------------


i got this configuration from..
link

and it is said there that this conf, will work in maven 2 so i am using maven 2 only.


Lee Mark
Ranch Hand

Joined: Mar 05, 2009
Posts: 46
this conf. has expired in 08,
finally got working by ant job..


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin not found
 
Similar Threads
Maven build error
Cannot find parent error while "mvn compile"
Maven archetypes broken?
How to run OpenEJB Examples?
Error Compiling Maven Project