Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this conf. has expired in 08,
finally got working by ant job..


 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic