maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver B. Fischer" <o.b.fisc...@swe-blog.net>
Subject Re: SNAPHOST Depedency of plugin not found
Date Sat, 24 Sep 2016 08:41:56 GMT
Hi Curtis,

you can see it here 
https://github.com/buschmais/jqa-uber-parent/blob/6e8453a3254bced4ecaf5fa6dcfff3c18f252c19/pom.xml

But this is only a parent POM, which is used for example here 
https://github.com/buschmais/jqa-junit-plugin

In my settings.xml adds the Sonatype repository for the snapshots we 
provide:

<repository>
     <snapshots>
         <enabled>true</enabled>
     </snapshots>
     <id>sonatype-nexus-snapshots</id>
     <name>Sonatype Nexus Snapshots</name>
     <url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>

Oliver

Am 23.09.16 um 16:12 schrieb Curtis Rueden:
> Hi Oliver,
>
> Can you share your POM?
>
> Did you configure the <pluginRepositories>?
>
> Regards,
> Curtis
>
> On Sep 23, 2016 3:54 AM, "Oliver B. Fischer" <mailsink@swe-blog.net> wrote:
>
>> Hi,
>>
>> I have a plugin dependency (currently only available as SNAPSHOT) declared
>> for the Maven dependency plugin.
>>
>> If I declare it only as dependency of the plugin Maven is tries to find it
>> at http://repository.apache.org/snapshots.
>>
>> If I declare it also as normal dependency of the project Maven is able to
>> find and to download it from the correct snapshot repository.
>>
>> So, it is needed to declare it twice? I doubt. Or is it a bug?
>>
>> Oliver
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>

-- 
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fischer@swe-blog.net
S oliver.b.fischer
J oliver.b.fischer@jabber.org
X http://xing.to/obf


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message