Quantcast

Building Nexus OSGi Experimental Plug-In Fails

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Building Nexus OSGi Experimental Plug-In Fails

Mirko Swillus
Hej,

I'm trying to build the nexus-p2-repository-plugin (my aim is to extend
it to support not only osgi.bundle but also org.eclipse.update.features).

[0] states that all I have to do was 'mvn clean install', but obviously
its not that simple.

First of all, the parent-defined repositories are not public reachable
([1], and some other). So I added some other repository I found to the
pom [2], but there are not all of the current 2.0-M4 versions available.
So I switched to 2.0-SNAPSHOT, which is better, but now there are still
a few dependencies unresolved ([3] for example). So I thought it is
better to report this issue here and hope it will get fixed soon.

Thanks in advance,
Mirko Swillus


[0]
https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin
[1] https://repository.sonatype.org/service/local/staging/deploy/maven2
[2] http://repository.sonatype.org/content/groups/forge/
[3] org.sonatype.plexus.appevents:plexus-app-events-api:jar:1.0.1

____________________________________________________________________

[ M i r k o  S w i l l u s ]

    Software Development

    Qualitype AG
    Quality Management Systems | Bioinformatics
    Moritzburger Weg 67 | 01109 Dresden
    fon +49.351.8838 2813 | fax +49.351.8838 2809
    e-mail: [hidden email] | http://www.qualitype.de

    Sitz der Gesellschaft: Dresden | Amtsgericht Dresden HRB 19830
    Vorstand: Dr. Wilhelm Zörgiebel | Dr. Frank Götz
    Aufsichtsratsvorsitz: Prof. Dr. Gerhard P. Fettweis
____________________________________________________________________

The information in this email and any attachments is confidential and is
intended for the addressee only. If you are not the intended recipient,
please delete this message and any attachments and advise the sender by
return email.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building Nexus OSGi Experimental Plug-In Fails

Brian Demers-2
Which other libs are missing?  I'll see about getting them under the forge group

On Wed, Feb 1, 2012 at 7:47 AM, Mirko Swillus <[hidden email]> wrote:

> Hej,
>
> I'm trying to build the nexus-p2-repository-plugin (my aim is to extend it
> to support not only osgi.bundle but also org.eclipse.update.features).
>
> [0] states that all I have to do was 'mvn clean install', but obviously its
> not that simple.
>
> First of all, the parent-defined repositories are not public reachable ([1],
> and some other). So I added some other repository I found to the pom [2],
> but there are not all of the current 2.0-M4 versions available. So I
> switched to 2.0-SNAPSHOT, which is better, but now there are still a few
> dependencies unresolved ([3] for example). So I thought it is better to
> report this issue here and hope it will get fixed soon.
>
> Thanks in advance,
> Mirko Swillus
>
>
> [0]
> https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin
> [1] https://repository.sonatype.org/service/local/staging/deploy/maven2
> [2] http://repository.sonatype.org/content/groups/forge/
> [3] org.sonatype.plexus.appevents:plexus-app-events-api:jar:1.0.1
>
> ____________________________________________________________________
>
> [ M i r k o  S w i l l u s ]
>
>   Software Development
>
>   Qualitype AG
>   Quality Management Systems | Bioinformatics
>   Moritzburger Weg 67 | 01109 Dresden
>   fon +49.351.8838 2813 | fax +49.351.8838 2809
>   e-mail: [hidden email] | http://www.qualitype.de
>
>   Sitz der Gesellschaft: Dresden | Amtsgericht Dresden HRB 19830
>   Vorstand: Dr. Wilhelm Zörgiebel | Dr. Frank Götz
>   Aufsichtsratsvorsitz: Prof. Dr. Gerhard P. Fettweis
> ____________________________________________________________________
>
> The information in this email and any attachments is confidential and is
> intended for the addressee only. If you are not the intended recipient,
> please delete this message and any attachments and advise the sender by
> return email.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building Nexus OSGi Experimental Plug-In Fails

Mirko Swillus
Hej,
Am 01.02.2012 15:12, schrieb Brian Demers:

> Which other libs are missing?  I'll see about getting them under the forge group

This is what I get after a fresh git clone of
https://github.com/sonatype/nexus-p2-repository-plugin.git

Missing artifacts:

org.apache.maven.indexer:indexer-artifact:jar:4.1.3-SONATYPE
com.carrotsearch:junit-benchmarks:jar:0.3.0-SONATYPE
com.noelios.restlet:com.noelios.restlet.ext.httpclient:jar:1.1.6-
SONATYPE-5348-V4
org.sonatype.plexus.appevents:simple-event-multicaster:jar:1.0.1
org.restlet:org.restlet.ext.velocity:jar:1.1.6-SONATYPE-5348-V4
org.apache.maven.indexer:indexer-core:jar:4.1.3-SONATYPE
com.googlecode.junit-ext:junit-ext:jar:junit45:1.0-RC3
com.noelios.restlet:com.noelios.restlet.ext.servlet:jar:1.1.6-
  SONATYPE-5348-V4
org.codehaus.swizzle:swizzle-jira:jar:1.3.3-SONATYPE-221
org.restlet:org.restlet.ext.fileupload:jar:1.1.6-SONATYPE-5348-V4
org.sonatype.plexus.appevents:plexus-app-events-api:jar:1.0.1
commons-httpclient:commons-httpclient:jar:3.1.SONATYPE
com.noelios.restlet:com.noelios.restlet:jar:1.1.6-SONATYPE-5348-V4
commons-beanutils:commons-beanutils-core:jar:1.7.0-SONATYPE
org.restlet:org.restlet:jar:1.1.6-SONATYPE-5348-V4
org.restlet:org.restlet.ext.jaxrs:jar:1.1.6-SONATYPE-5348-V4
org.sonatype.plexus:plexus-task-scheduler:jar:1.5.0

Thanks a lot,
Mirko


> On Wed, Feb 1, 2012 at 7:47 AM, Mirko Swillus<[hidden email]>  wrote:
>> Hej,
>>
>> I'm trying to build the nexus-p2-repository-plugin (my aim is to extend it
>> to support not only osgi.bundle but also org.eclipse.update.features).
>>
>> [0] states that all I have to do was 'mvn clean install', but obviously its
>> not that simple.
>>
>> First of all, the parent-defined repositories are not public reachable ([1],
>> and some other). So I added some other repository I found to the pom [2],
>> but there are not all of the current 2.0-M4 versions available. So I
>> switched to 2.0-SNAPSHOT, which is better, but now there are still a few
>> dependencies unresolved ([3] for example). So I thought it is better to
>> report this issue here and hope it will get fixed soon.
>>
>> Thanks in advance,
>> Mirko Swillus
>>
>>
>> [0]
>> https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin
>> [1] https://repository.sonatype.org/service/local/staging/deploy/maven2
>> [2] http://repository.sonatype.org/content/groups/forge/
>> [3] org.sonatype.plexus.appevents:plexus-app-events-api:jar:1.0.1
>>
>> ____________________________________________________________________
>>
>> [ M i r k o  S w i l l u s ]
>>
>>    Software Development
>>
>>    Qualitype AG
>>    Quality Management Systems | Bioinformatics
>>    Moritzburger Weg 67 | 01109 Dresden
>>    fon +49.351.8838 2813 | fax +49.351.8838 2809
>>    e-mail: [hidden email] | http://www.qualitype.de
>>
>>    Sitz der Gesellschaft: Dresden | Amtsgericht Dresden HRB 19830
>>    Vorstand: Dr. Wilhelm Zörgiebel | Dr. Frank Götz
>>    Aufsichtsratsvorsitz: Prof. Dr. Gerhard P. Fettweis
>> ____________________________________________________________________
>>
>> The information in this email and any attachments is confidential and is
>> intended for the addressee only. If you are not the intended recipient,
>> please delete this message and any attachments and advise the sender by
>> return email.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


--
____________________________________________________________________

[ M i r k o  S w i l l u s ]

    Software Development

    Qualitype AG
    Quality Management Systems | Bioinformatics
    Moritzburger Weg 67 | 01109 Dresden
    fon +49.351.8838 2813 | fax +49.351.8838 2809
    e-mail: [hidden email] | http://www.qualitype.de

    Sitz der Gesellschaft: Dresden | Amtsgericht Dresden HRB 19830
    Vorstand: Dr. Wilhelm Zörgiebel | Dr. Frank Götz
    Aufsichtsratsvorsitz: Prof. Dr. Gerhard P. Fettweis
____________________________________________________________________

The information in this email and any attachments is confidential and is
intended for the addressee only. If you are not the intended recipient,
please delete this message and any attachments and advise the sender by
return email.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building Nexus OSGi Experimental Plug-In Fails

Brian Demers-2
Can you verify you are using the forge group.  The first two artifacts
you listed are in that group.

On Wed, Feb 1, 2012 at 9:45 AM, Mirko Swillus <[hidden email]> wrote:

> Hej,
> Am 01.02.2012 15:12, schrieb Brian Demers:
>
>
>> Which other libs are missing?  I'll see about getting them under the forge
>> group
>
>
> This is what I get after a fresh git clone of
> https://github.com/sonatype/nexus-p2-repository-plugin.git
>
> Missing artifacts:
>
> org.apache.maven.indexer:indexer-artifact:jar:4.1.3-SONATYPE
> com.carrotsearch:junit-benchmarks:jar:0.3.0-SONATYPE
> com.noelios.restlet:com.noelios.restlet.ext.httpclient:jar:1.1.6-
> SONATYPE-5348-V4
> org.sonatype.plexus.appevents:simple-event-multicaster:jar:1.0.1
> org.restlet:org.restlet.ext.velocity:jar:1.1.6-SONATYPE-5348-V4
> org.apache.maven.indexer:indexer-core:jar:4.1.3-SONATYPE
> com.googlecode.junit-ext:junit-ext:jar:junit45:1.0-RC3
> com.noelios.restlet:com.noelios.restlet.ext.servlet:jar:1.1.6-
>  SONATYPE-5348-V4
> org.codehaus.swizzle:swizzle-jira:jar:1.3.3-SONATYPE-221
> org.restlet:org.restlet.ext.fileupload:jar:1.1.6-SONATYPE-5348-V4
> org.sonatype.plexus.appevents:plexus-app-events-api:jar:1.0.1
> commons-httpclient:commons-httpclient:jar:3.1.SONATYPE
> com.noelios.restlet:com.noelios.restlet:jar:1.1.6-SONATYPE-5348-V4
> commons-beanutils:commons-beanutils-core:jar:1.7.0-SONATYPE
> org.restlet:org.restlet:jar:1.1.6-SONATYPE-5348-V4
> org.restlet:org.restlet.ext.jaxrs:jar:1.1.6-SONATYPE-5348-V4
> org.sonatype.plexus:plexus-task-scheduler:jar:1.5.0
>
> Thanks a lot,
> Mirko
>
>
>
>> On Wed, Feb 1, 2012 at 7:47 AM, Mirko Swillus<[hidden email]>
>>  wrote:
>>>
>>> Hej,
>>>
>>> I'm trying to build the nexus-p2-repository-plugin (my aim is to extend
>>> it
>>> to support not only osgi.bundle but also org.eclipse.update.features).
>>>
>>> [0] states that all I have to do was 'mvn clean install', but obviously
>>> its
>>> not that simple.
>>>
>>> First of all, the parent-defined repositories are not public reachable
>>> ([1],
>>> and some other). So I added some other repository I found to the pom [2],
>>> but there are not all of the current 2.0-M4 versions available. So I
>>> switched to 2.0-SNAPSHOT, which is better, but now there are still a few
>>> dependencies unresolved ([3] for example). So I thought it is better to
>>> report this issue here and hope it will get fixed soon.
>>>
>>> Thanks in advance,
>>> Mirko Swillus
>>>
>>>
>>> [0]
>>>
>>> https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin
>>> [1] https://repository.sonatype.org/service/local/staging/deploy/maven2
>>> [2] http://repository.sonatype.org/content/groups/forge/
>>> [3] org.sonatype.plexus.appevents:plexus-app-events-api:jar:1.0.1
>>>
>>> ____________________________________________________________________
>>>
>>> [ M i r k o  S w i l l u s ]
>>>
>>>   Software Development
>>>
>>>   Qualitype AG
>>>   Quality Management Systems | Bioinformatics
>>>   Moritzburger Weg 67 | 01109 Dresden
>>>   fon +49.351.8838 2813 | fax +49.351.8838 2809
>>>   e-mail: [hidden email] | http://www.qualitype.de
>>>
>>>   Sitz der Gesellschaft: Dresden | Amtsgericht Dresden HRB 19830
>>>   Vorstand: Dr. Wilhelm Zörgiebel | Dr. Frank Götz
>>>   Aufsichtsratsvorsitz: Prof. Dr. Gerhard P. Fettweis
>>> ____________________________________________________________________
>>>
>>> The information in this email and any attachments is confidential and is
>>> intended for the addressee only. If you are not the intended recipient,
>>> please delete this message and any attachments and advise the sender by
>>> return email.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
>
> --
> ____________________________________________________________________
>
> [ M i r k o  S w i l l u s ]
>
>   Software Development
>
>   Qualitype AG
>   Quality Management Systems | Bioinformatics
>   Moritzburger Weg 67 | 01109 Dresden
>   fon +49.351.8838 2813 | fax +49.351.8838 2809
>   e-mail: [hidden email] | http://www.qualitype.de
>
>   Sitz der Gesellschaft: Dresden | Amtsgericht Dresden HRB 19830
>   Vorstand: Dr. Wilhelm Zörgiebel | Dr. Frank Götz
>   Aufsichtsratsvorsitz: Prof. Dr. Gerhard P. Fettweis
> ____________________________________________________________________
>
> The information in this email and any attachments is confidential and is
> intended for the addressee only. If you are not the intended recipient,
> please delete this message and any attachments and advise the sender by
> return email.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building Nexus OSGi Experimental Plug-In Fails

Mirko Swillus
Hej,
Am 01.02.2012 18:05, schrieb Brian Demers:

> Can you verify you are using the forge group.  The first two artifacts
> you listed are in that group.

I'm sorry, but I don't understand your question. I just checked out the
plug-in from GitHub, and mvn is not able to resolve the dependencies. Do
I have to put some additional configuration?

The parent of the plug-in is this one:

org.sonatype.forge:forge-parent:jar:11

Within this parent-artifact there is a release repository definition:

forgeReleaseUrl:
https://repository.sonatype.org/service/local/staging/deploy/maven2

And for that one there is obviously a HTTP-Auth needed (and I do not
have the credentials). So needed SNAPSHOTs can be resolved and releases
not.

Thanks once again,
Mirko Swillus


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building Nexus OSGi Experimental Plug-In Fails

Mirko Swillus
Hej again,
Am 02.02.2012 10:49, schrieb Mirko Swillus:

> Within this parent-artifact there is a release repository definition:
> forgeReleaseUrl:
> https://repository.sonatype.org/service/local/staging/deploy/maven2

This one goes only to the <distributionManagement> within the parent,
actually there is just no repository definition, neither in the parent
nor in the plug-in.

But there was the hint to add the forge group as a repository, which I
did (besides the default sonatype releases/snapshot repo):

<repositories>
   <repository>
     <id>Forge Group</id>
     <url>https://repository.sonatype.org/content/groups/forge/</url>
   </repository>
   <!--...-->
</repositories>

Now these artifacts remain missing:

[WARNING] The POM for
org.sonatype.plexus.appevents:plexus-app-events-api:jar:1.0.1 is
missing, no dependency information available
[WARNING] The POM for
org.sonatype.plexus:plexus-task-scheduler:jar:1.5.0 is missing, no
dependency information available
[WARNING] The POM for
org.sonatype.configuration:base-configuration:jar:1.1.1 is missing, no
dependency information available
[WARNING] The POM for
org.sonatype.plexus.appevents:simple-event-multicaster:jar:1.0.1 is
missing, no dependency information available
[WARNING] The POM for org.sonatype.p2.bridge:eclipse-bridge:jar:1.0.9 is
missing, no dependency information available
[WARNING] The POM for
org.sonatype.p2.bridge:org.sonatype.p2.bridge.api:jar:1.0.8 is missing,
no dependency information available

I'm able to find them in the web frontend of repository.sonatype.org,
but I don't know how to access them via maven. The repositories read
"Sonatype (ORG)-00X (u:grid. a:172.16.2.4)".

Any additional advice would be appreciated. Regards,
Mirko Swillus
____________________________________________________________________

[ M i r k o  S w i l l u s ]

    Software Development

    Qualitype AG
    Quality Management Systems | Bioinformatics
    Moritzburger Weg 67 | 01109 Dresden
    fon +49.351.8838 2813 | fax +49.351.8838 2809
    e-mail: [hidden email] | http://www.qualitype.de

    Sitz der Gesellschaft: Dresden | Amtsgericht Dresden HRB 19830
    Vorstand: Dr. Wilhelm Zörgiebel | Dr. Frank Götz
    Aufsichtsratsvorsitz: Prof. Dr. Gerhard P. Fettweis
____________________________________________________________________

The information in this email and any attachments is confidential and is
intended for the addressee only. If you are not the intended recipient,
please delete this message and any attachments and advise the sender by
return email.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building Nexus OSGi Experimental Plug-In Fails

Brian Demers-2
Those artifacts had been staged (and now released)
Yesterday we added a ci job, to catch this type of problem.  We still have a few kinks to work out process wise so this does not happen, but you should be able to download those artifacts now.

On Fri, Feb 3, 2012 at 7:04 AM, Mirko Swillus <[hidden email]> wrote:
Hej again,
Am 02.02.2012 10:49, schrieb Mirko Swillus:


Within this parent-artifact there is a release repository definition:
forgeReleaseUrl:
https://repository.sonatype.org/service/local/staging/deploy/maven2

This one goes only to the <distributionManagement> within the parent, actually there is just no repository definition, neither in the parent nor in the plug-in.

But there was the hint to add the forge group as a repository, which I did (besides the default sonatype releases/snapshot repo):

<repositories>
 <repository>
   <id>Forge Group</id>
   <url>https://repository.sonatype.org/content/groups/forge/</url>
 </repository>
 <!--...-->
</repositories>

Now these artifacts remain missing:

[WARNING] The POM for org.sonatype.plexus.appevents:plexus-app-events-api:jar:1.0.1 is missing, no dependency information available
[WARNING] The POM for org.sonatype.plexus:plexus-task-scheduler:jar:1.5.0 is missing, no dependency information available
[WARNING] The POM for org.sonatype.configuration:base-configuration:jar:1.1.1 is missing, no dependency information available
[WARNING] The POM for org.sonatype.plexus.appevents:simple-event-multicaster:jar:1.0.1 is missing, no dependency information available
[WARNING] The POM for org.sonatype.p2.bridge:eclipse-bridge:jar:1.0.9 is missing, no dependency information available
[WARNING] The POM for org.sonatype.p2.bridge:org.sonatype.p2.bridge.api:jar:1.0.8 is missing, no dependency information available

I'm able to find them in the web frontend of repository.sonatype.org, but I don't know how to access them via maven. The repositories read "Sonatype (ORG)-00X (u:grid. a:172.16.2.4)".

Any additional advice would be appreciated. Regards,
Mirko Swillus

____________________________________________________________________

[ M i r k o  S w i l l u s ]

  Software Development

  Qualitype AG
  Quality Management Systems | Bioinformatics
  Moritzburger Weg 67 | 01109 Dresden
  fon <a href="tel:%2B49.351.8838%202813" value="+4935188382813" target="_blank">+49.351.8838 2813 | fax <a href="tel:%2B49.351.8838%202809" value="+4935188382809" target="_blank">+49.351.8838 2809
  e-mail: [hidden email] | http://www.qualitype.de

  Sitz der Gesellschaft: Dresden | Amtsgericht Dresden HRB 19830
  Vorstand: Dr. Wilhelm Zörgiebel | Dr. Frank Götz
  Aufsichtsratsvorsitz: Prof. Dr. Gerhard P. Fettweis
____________________________________________________________________

The information in this email and any attachments is confidential and is
intended for the addressee only. If you are not the intended recipient,
please delete this message and any attachments and advise the sender by
return email.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building Nexus OSGi Experimental Plug-In Fails

Mirko Swillus
Hej,
Am 07.02.2012 15:40, schrieb Brian Demers:

> Those artifacts had been staged (and now released)
> Yesterday we added a ci job, to catch this type of problem.  We still
> have a few kinks to work out process wise so this does not happen, but
> you should be able to download those artifacts now.

A current copy from
https://github.com/sonatype/nexus-p2-repository-plugin.git still fails
to build with various errors.

But when I replace all the occurrences of "2.0-RC1" with "2.0-SNAPSHOT"
and add this repository

<repositories>
     <repository>
       <id>Forge Group</id>
       <url>https://repository.sonatype.org/content/groups/forge/</url>
     </repository>
</repositories>

to the pom it compiles now at least! Tests fail with the message [0].

Thanks for your effort, that was a great help for the moment. Maybe a
future goal could be to make the sources compilable, without the need to
change something within the pom at first manually (which could be not
more than an educated guess anyway). Regards,
Mirko Swillus

[0] Failed to execute goal
org.sonatype.nexus.plugins:nexus-test-environment-maven-plugin:2.0-SNAPSHOT:package
(default) on project nexus-p2-repository-plugin: Execution default of
goal
org.sonatype.nexus.plugins:nexus-test-environment-maven-plugin:2.0-SNAPSHOT:package
failed: Plugin
org.sonatype.nexus.plugins:nexus-test-environment-maven-plugin:2.0-SNAPSHOT
or one of its dependencies could not be resolved: Failure to find
org.apache.maven.shared:maven-filtering:jar:1.0-beta-3-SONATYPE-682132
in http://repo.maven.apache.org/maven2 was cached in the local
repository, resolution will not be reattempted until the update interval
of central has elapsed or updates are forced -> [Help 1]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Building Nexus OSGi Experimental Plug-In Fails

Brian Demers-2
Is this still failing for you? It looks like you had the artifact 404 cached locally.

We will be cutting the 2.0 shortly,  at that point these plugins will most likely stay depending on Nexus 2.0, which should help prevent these problems 

On Tue, Feb 7, 2012 at 10:48 AM, Mirko Swillus <[hidden email]> wrote:
Hej,
Am 07.02.2012 15:40, schrieb Brian Demers:


Those artifacts had been staged (and now released)
Yesterday we added a ci job, to catch this type of problem.  We still
have a few kinks to work out process wise so this does not happen, but
you should be able to download those artifacts now.

A current copy from https://github.com/sonatype/nexus-p2-repository-plugin.git still fails to build with various errors.

But when I replace all the occurrences of "2.0-RC1" with "2.0-SNAPSHOT" and add this repository


<repositories>
   <repository>
     <id>Forge Group</id>
     <url>https://repository.sonatype.org/content/groups/forge/</url>
   </repository>
</repositories>

to the pom it compiles now at least! Tests fail with the message [0].

Thanks for your effort, that was a great help for the moment. Maybe a future goal could be to make the sources compilable, without the need to change something within the pom at first manually (which could be not more than an educated guess anyway). Regards,
Mirko Swillus

[0] Failed to execute goal org.sonatype.nexus.plugins:nexus-test-environment-maven-plugin:2.0-SNAPSHOT:package (default) on project nexus-p2-repository-plugin: Execution default of goal org.sonatype.nexus.plugins:nexus-test-environment-maven-plugin:2.0-SNAPSHOT:package failed: Plugin org.sonatype.nexus.plugins:nexus-test-environment-maven-plugin:2.0-SNAPSHOT or one of its dependencies could not be resolved: Failure to find org.apache.maven.shared:maven-filtering:jar:1.0-beta-3-SONATYPE-682132 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Loading...