Child pages
  • Wildfly maven plugin
Skip to end of metadata
Go to start of metadata

Sziasztok!

Nemrég kezdtem foglalkozni az erraiframework-vel, szeretném megoldani ha gwt debug módja wildfly alapokon menne, de a maven-t is csak most tanulom és valahogy nem sikerült össze hoznom hogy az https://github.com/errai/errai-tutorial/blob/master/pom.xml -ban lecseréljem a jboss server wildfly-ra... (sad)

Nem tudom mit rontok el de valahogy nem akar menni... 

amikor el akarom indítani (mvn clean gwt:debug -X)

akkor a végen ezt a hibát kapom:

[INFO] Configured Artifact: org.wildfly.plugins:wildfly-maven-plugin:1.0.1.Final:zip
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.553s
[INFO] Finished at: Sat May 24 18:02:42 CEST 2014
[INFO] Final Memory: 24M/490M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack (unpack) on project logbord-eerp: Unable to find artifact. Failure to find org.wildfly.plugins:wildfly-maven-plugin:zip:1.0.1.Final in http://central.maven.org was cached in the local repository, resolution will not be reattempted until the update interval of MAVEN has elapsed or updates are forced
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.wildfly.plugins -DartifactId=wildfly-maven-plugin -Dversion=1.0.1.Final -Dpackaging=zip -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.wildfly.plugins -DartifactId=wildfly-maven-plugin -Dversion=1.0.1.Final -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.wildfly.plugins:wildfly-maven-plugin:zip:1.0.1.Final
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] MAVEN (http://central.maven.org, releases=true, snapshots=true),
[ERROR] JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public, releases=true, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack (unpack) on project logbord-eerp: Unable to find artifact.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to find artifact.
at org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:265)
at org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getProcessedArtifactItems(AbstractFromConfigurationMojo.java:171)
at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.getProcessedArtifactItems(UnpackMojo.java:144)
at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.doExecute(UnpackMojo.java:101)
at org.apache.maven.plugin.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:167)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 23 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Failure to find org.wildfly.plugins:wildfly-maven-plugin:zip:1.0.1.Final in http://central.maven.org was cached in the local repository, resolution will not be reattempted until the update interval of MAVEN has elapsed or updates are forced

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.wildfly.plugins -DartifactId=wildfly-maven-plugin -Dversion=1.0.1.Final -Dpackaging=zip -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.wildfly.plugins -DartifactId=wildfly-maven-plugin -Dversion=1.0.1.Final -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


org.wildfly.plugins:wildfly-maven-plugin:zip:1.0.1.Final

from the specified remote repositories:
MAVEN (http://central.maven.org, releases=true, snapshots=true),
JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public, releases=true, snapshots=true),
central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:157)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:525)
at org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:257)
... 29 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find org.wildfly.plugins:wildfly-maven-plugin:zip:1.0.1.Final in http://central.maven.org was cached in the local repository, resolution will not be reattempted until the update interval of MAVEN has elapsed or updates are forced
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213)
... 32 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find org.wildfly.plugins:wildfly-maven-plugin:zip:1.0.1.Final in http://central.maven.org was cached in the local repository, resolution will not be reattempted until the update interval of MAVEN has elapsed or updates are forced
at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
... 36 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 

pom.xml fájlom:

pom.xml

 

Köszönöm!

Egg

      
      
Page viewed times
  • No labels