Maven archetype needs repository declarations

1,125 views
Skip to first unread message

Dave Syer

unread,
Feb 9, 2012, 3:44:51 AM2/9/12
to Gatling User Group
Overall I had a positive experience with the archetype (Eclipse moaned
as me when I added the meta data but it still created the new project
for me). But I had to add the excilys Nexus repository location to the
pom, otherwise Maven can't download the gatling jars. I would send a
pull request, but I can't find the source code for the archetype.
Here's the declaration I used:

<repositories>
<repository>
<id>repository.excilys.com</id>
<url>http://repository.excilys.com/content/repositories/
releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

Stéphane Landelle

unread,
Feb 9, 2012, 4:00:11 AM2/9/12
to gat...@googlegroups.com
Hi Dave,

Thanks for reporting! I'll fix this today.

I'm curious about what eclipse moaned exactly. Could you give some details, please?

Thanks again,

Steph

2012/2/9 Dave Syer <david...@googlemail.com>

Romain Sertelon

unread,
Feb 9, 2012, 4:03:08 AM2/9/12
to gat...@googlegroups.com
Hi Dave!

Thanks for reporting. We may have missed that because we had the artifacts in our local maven repositories. Sorry.

You can open an issue on gatling's github project if you want (I can do it if you prefer ;)). The reason you could not find the archetype is because it is in the gatling-highcharts project which is not open source (unfortunately) due to licensing concerns.

Cheers,
BluePyth
--
Romain SERTELON / BluePyth

Dave Syer

unread,
Feb 9, 2012, 4:04:28 AM2/9/12
to Gatling User Group
> I'm curious about what eclipse moaned exactly. Could you give some details,
> please?

Sorry, can't reproduce it today. When I added the repository metadata
I got a little error dialog. I can see the error in the log:

'An internal error occurred during: "Downloading remote catalog".'

java.lang.NullPointerException
at
org.eclipse.m2e.core.ui.internal.preferences.RemoteArchetypeCatalogDialog
$2$1.run(RemoteArchetypeCatalogDialog.java:183)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Romain Sertelon

unread,
Feb 9, 2012, 4:04:37 AM2/9/12
to gat...@googlegroups.com
Actually, I was too long to answer (by 3 minutes :p)

Stéphane has already opened the issue here : https://github.com/excilys/gatling/issues/403

Cheers,
BluePyth

Dave Syer

unread,
Feb 9, 2012, 4:06:47 AM2/9/12
to Gatling User Group
On Feb 9, 9:03 am, Romain Sertelon <bluep...@gmail.com> wrote:
> You can open an issue on gatling's
> github<https://github.com/excilys/gatling/issues>project if you want

Good to know. Open a ticket if you like (Stephane already said he'd
fix it). Maybe there should be a link to the issue tracker in the
README.md (not everyone uses github for issues so I don't always look
there)?

Stéphane Landelle

unread,
Feb 9, 2012, 4:07:26 AM2/9/12
to gat...@googlegroups.com
I know that we had some infrastructure problems yesterday. Maybe you were unlucky and you tried to install when the server was down.

2012/2/9 Dave Syer <david...@googlemail.com>
Reply all
Reply to author
Forward
0 new messages