Gatling - source problem

Hi,
I am using Gatling in my maven projects (1.3.0 and 1.2.5).

Unfortunately maven can’t find suitable sources for jars.

It is look like he download something to the repo, but I still can’t see the source.

I have this problem only with Gatling, other sources work fine.

I have to download all sources from your github and connect it to correct jar manualy.

It is a bit annoying. I have also try to build source jar using maven plugin (source:jar), but it doesn’t work too.

Do you know how to fix this?

Thanks,

Paweł

Hi Pawel,

Did you declare the excilys repository in your pom:
https://github.com/excilys/gatling/wiki/Maven-plugin

Binary and source jars are both deployed there for released versions, such as 1.2.5. We don’t publish jars for SNAPSHOTS.

Cheers,

Steph

2012/8/13 slowikps <slowikps@gmail.com>

Steph,
Yes, I declared these dependencies.
I suppose that I see the reason, some of source jar-s contains only one class (i.e gatling-core
contains source only for class HtmlHelper.java).
I assume that this part of the project is not open source.

Thanks for response,
Paweł

2012/8/14 Stéphane Landelle <slandelle@excilys.com>

Hi Pawel,

It is strange, all gatling-* (except gatling-highcharts-*) modules are Open Source. This might be a bug during the release process or something like that :confused:

Cheers,

I just checked the 1.2.5 source jars in the excilys repo and, on contrary to the 1.2.4 ones, they only contain the *.java files, not the *.scala ones?!
Let me investigate this (might be a maven plugin regression).

Steph

2012/8/14 Romain Sertelon <bluepyth@gmail.com>

OK, got it!

When I normally release, the scala-maven-plugin automatically adds the src/main/scala dir into the reactor and the maven-source-plugin collects it during deploy phase.
When running source:jar, as src/main/scala is not explicitly declared, it is ignored.

I had a crash when deploying 1.2.5 because I messed up with git, so I uploaded the jars manually without noticing the source jars where missing the scala files.

I’ll fix this and reup the 1.2.5 source jars.

Cheers,

Steph

2012/8/14 Stéphane Landelle <slandelle@excilys.com>

great!

Paweł

2012/8/14 Stéphane Landelle <slandelle@excilys.com>

Done.
You might have to remove them from your local repo or use -U.

Thanks for reporting!

Cheers,

Steph

2012/8/14 slowik <slowikps@gmail.com>

Hi,
same problem again?

Regards,
Paweł

2012/8/14 Stéphane Landelle <slandelle@excilys.com>

Hi,

What do you mean?
The source jars are still in our Nexus (you can browse it online http://repository.excilys.com/index.html).

Cheers,

Steph

2012/8/26 slowik <slowikps@gmail.com>

Hi,

Sorry, different pc. Late hours…

Regards,

Paweł

2012/8/26 Stéphane Landelle <slandelle@excilys.com>

Same thing here when I replied :wink:

2012/8/26 slowik <slowikps@gmail.com>