error when using archetype to create a gatling 2.3.0 mvn project

254 views
Skip to first unread message

Ilias

unread,
Oct 10, 2017, 7:34:08 AM10/10/17
to Gatling User Group
i'm receiving the following error



1: remote -> io.gatling.highcharts:gatling-highcharts-maven-archetype (gatling-highcharts-maven-archetype)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1
Choose io.gatling.highcharts:gatling-highcharts-maven-archetype version:
1: 2.0.0-RC1
2: 2.0.0-RC2
3: 2.0.0-RC3
4: 2.0.0-RC4
5: 2.0.0-RC5
6: 2.0.0-RC6
7: 2.0.0
8: 2.1.0
9: 2.1.1
10: 2.1.2
11: 2.1.5
12: 2.1.6
13: 2.1.7
14: 2.2.0-M2
15: 2.2.0
16: 2.2.1
17: 2.2.4
18: 2.2.5
19: 2.3.0
Choose a number: 19: 19
[DEBUG] Not found archetype io.gatling.highcharts:gatling-highcharts-maven-archetype:2.3.0 in cache
[WARNING] The POM for io.gatling.highcharts:gatling-highcharts-maven-archetype:jar:2.3.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model
[FATAL] Non-parseable POM /home/iliaschoutopoulos/.m2/repository/io/gatling/highcharts/gatling-highcharts-maven-archetype/2.3.0/gatling-highcharts-maven-archetype-2.3.0.pom: end tag name </a> must match start tag name <img> from line 164 (position: START_TAG seen ...<img src="ajaxsolr/images/SON_banners_300x60v6.jpg"></a>... @164:130)  @ line 164, column 130

[WARNING] The POM for io.gatling.highcharts:gatling-highcharts-maven-archetype:pom:2.3.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model
[FATAL] Non-parseable POM /home/iliaschoutopoulos/.m2/repository/io/gatling/highcharts/gatling-highcharts-maven-archetype/2.3.0/gatling-highcharts-maven-archetype-2.3.0.pom: end tag name </a> must match start tag name <img> from line 164 (position: START_TAG seen ...<img src="ajaxsolr/images/SON_banners_300x60v6.jpg"></a>... @164:130)  @ line 164, column 130

[DEBUG] Found archetype io.gatling.highcharts:gatling-highcharts-maven-archetype:2.3.0 in cache: /home/iliaschoutopoulos/.m2/repository/io/gatling/highcharts/gatling-highcharts-maven-archetype/2.3.0/gatling-highcharts-maven-archetype-2.3.0.jar
[DEBUG] checking fileset archetype status on /home/iliaschoutopoulos/.m2/repository/io/gatling/highcharts/gatling-highcharts-maven-archetype/2.3.0/gatling-highcharts-maven-archetype-2.3.0.jar
[DEBUG] org.apache.maven.archetype.exception.UnknownArchetype: java.util.zip.ZipException: error in opening zip file
[DEBUG] Found archetype io.gatling.highcharts:gatling-highcharts-maven-archetype:2.3.0 in cache: /home/iliaschoutopoulos/.m2/repository/io/gatling/highcharts/gatling-highcharts-maven-archetype/2.3.0/gatling-highcharts-maven-archetype-2.3.0.jar
[DEBUG] checking old archetype status on /home/iliaschoutopoulos/.m2/repository/io/gatling/highcharts/gatling-highcharts-maven-archetype/2.3.0/gatling-highcharts-maven-archetype-2.3.0.jar
[DEBUG] org.apache.maven.archetype.exception.UnknownArchetype: java.util.zip.ZipException: error in opening zip file
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.624s
[INFO] Finished at: Tue Oct 10 14:33:31 EEST 2017
[INFO] Final Memory: 12M/241M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: The defined artifact is not an archetype -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: The defined artifact is not an archetype
        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:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: The defined artifact is not an archetype
        at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:216)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
Caused by: org.apache.maven.archetype.exception.ArchetypeGenerationConfigurationFailure: The defined artifact is not an archetype
        at org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfigurator.configureArchetype(DefaultArchetypeGenerationConfigurator.java:159)
        at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:200)
        ... 21 more
[ERROR]
[ERROR]

Stéphane LANDELLE

unread,
Oct 10, 2017, 11:58:02 AM10/10/17
to gat...@googlegroups.com
[FATAL] Non-parseable POM /home/iliaschoutopoulos/.m2/repository/io/gatling/highcharts/gatling-highcharts-maven-archetype/2.3.0/gatling-highcharts-maven-archetype-2.3.0.pom: end tag name </a> must match start tag name <img> from line 164 (position: START_TAG seen ...<img src="ajaxsolr/images/SON_banners_300x60v6.jpg"></a>... @164:130)  @ line 164, column 130

Obviously, maven wasn't able to download the pom file, which is XML, and received an HTML page instead, which seems to be the landing page of "http://search.maven.org/".
Could be a maven central temporary issue. The archtype is definitively on maven central: http://search.maven.org/#artifactdetails%7Cio.gatling.highcharts%7Cgatling-highcharts-maven-archetype%7C2.3.0%7Cmaven-archetype

Stéphane Landelle
GatlingCorp CEO


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages