Skip to content

Instantly share code, notes, and snippets.

@phpclub
Created April 18, 2015 07:50
Show Gist options
  • Save phpclub/f9820b2dba98db6125a0 to your computer and use it in GitHub Desktop.
Save phpclub/f9820b2dba98db6125a0 to your computer and use it in GitHub Desktop.
[INFO] Using following parameters for creating project from Archetype: webdriver-java-quickstart-archetype:0.7
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: ru.st.selenium
[INFO] Parameter: artifactId, Value: traninng
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: ru.st.selenium
[INFO] Parameter: packageInPathFormat, Value: ru/st/selenium
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: ru.st.selenium
[INFO] Parameter: groupId, Value: ru.st.selenium
[INFO] Parameter: artifactId, Value: traninng
[DEBUG] getFilesetArchetypeResources( "/home/smialex/.m2/repository/ru/stqa/selenium/webdriver-java-quickstart-archetype/0.7/webdriver-java-quickstart-archetype-0.7.jar" )
[DEBUG] - found resource (archetype-resources/)pom.xml
[DEBUG] - found resource (archetype-resources/)src/main/resources/application.properties
[DEBUG] - found resource (archetype-resources/)src/main/resources/grid2/README.txt
[DEBUG] - found resource (archetype-resources/)src/main/java/pages/Page.java
[DEBUG] - found resource (archetype-resources/)src/main/java/pages/HomePage.java
[DEBUG] - found resource (archetype-resources/)src/main/java/util/Browser.java
[DEBUG] - found resource (archetype-resources/)src/main/java/util/PropertyLoader.java
[DEBUG] - found resource (archetype-resources/)src/main/java/webdriver/AuthenticatedHtmlUnitDriver.java
[DEBUG] - found resource (archetype-resources/)src/main/java/webdriver/WebDriverFactory.java
[DEBUG] - found resource (archetype-resources/)src/test/resources/testng.xml
[DEBUG] - found resource (archetype-resources/)src/test/java/pages/HomePageTest.java
[DEBUG] - found resource (archetype-resources/)src/test/java/pages/TestBase.java
[DEBUG] - ignored resource META-INF/maven/archetype-metadata.xml
[DEBUG] Processing complete archetype selenium2-java-quickstart-archetype
[DEBUG] Processing module traninng
[DEBUG] Processing module rootArtifactId traninng
[DEBUG] Processing module pom /srv/www/dev/s2.dev/maven/webdriver-java-quickstart-archetype/traninng/pom.xml
[DEBUG] Processing module moduleOffset
[DEBUG] Processing module outputDirectoryFile /srv/www/dev/s2.dev/maven/webdriver-java-quickstart-archetype/traninng
[DEBUG] Processing fileset project moduleId traninng
[DEBUG] Processing fileset project pom /srv/www/dev/s2.dev/maven/webdriver-java-quickstart-archetype/traninng/pom.xml
[DEBUG] Processing fileset project moduleOffset
[DEBUG] Processing fileset project outputDirectoryFile /srv/www/dev/s2.dev/maven/webdriver-java-quickstart-archetype/traninng
[DEBUG] Processing fileset project basedirPom /srv/www/dev/s2.dev/maven/webdriver-java-quickstart-archetype/pom.xml
[DEBUG] Processing pom /srv/www/dev/s2.dev/maven/webdriver-java-quickstart-archetype/traninng/pom.xml with parent /srv/www/dev/s2.dev/maven/webdriver-java-quickstart-archetype/pom.xml
[DEBUG] Processing template archetype-resources/pom.xml
[DEBUG] Merging into /srv/www/dev/s2.dev/maven/webdriver-java-quickstart-archetype/traninng/pom.xml
[DEBUG] Adding module traninng
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.115s
[INFO] Finished at: Sat Apr 18 10:47:18 MSK 2015
[INFO] Final Memory: 9M/108M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project webdriver-java-quickstart-archetype: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project webdriver-java-quickstart-archetype: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom'
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
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:622)
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.MojoFailureException: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom'
at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:211)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 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/MojoFailureException
smialex@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment