Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335925 - m2eclipse extras update site throws "Missing required attribute in "repository": version"
Summary: m2eclipse extras update site throws "Missing required attribute in "repositor...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL: http://m2eclipse.sonatype.org/sites/m...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-01 02:21 EST by Nick Boldt CLA
Modified: 2021-04-19 13:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Boldt CLA 2011-02-01 02:21:55 EST
The following JIRA are dupes of this issue because I didn't notice that the JIRA for MNGECLIPSE is now read-only. Gah.

https://issues.sonatype.org/browse/MECLIPSEWTP-83
https://issues.sonatype.org/browse/MAVENIDE-7
https://issues.sonatype.org/browse/MAVENIDE-5

All three can be closed as "Nick is teh suxx0r", "Nick no can has braynz" or similar. I will hereinafter remember that m2 bugs go here, not in JIRA. 

--------------

The http://m2eclipse.sonatype.org/sites/m2e-extras/ update site, being a composite, is throwing the following errors into users' logs when the site is accessed:

!ENTRY org.eclipse.equinox.p2.core 2 0 2011-01-25 21:17:48.638
!MESSAGE Error parsing composite repository
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2011-01-25 21:17:48.640
!MESSAGE Error at line 3, column 156: Missing required attribute in "repository": version

!ENTRY org.eclipse.equinox.p2.core 2 0 2011-01-25 21:48:58.645
!MESSAGE Error parsing composite repository
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2011-01-25 21:48:58.645
!MESSAGE Error at line 3, column 131: Missing required attribute in "repository": version

!ENTRY org.eclipse.equinox.p2.core 2 0 2011-01-25 21:48:59.664
!MESSAGE Error parsing composite repository
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2011-01-25 21:48:59.664
!MESSAGE Error at line 3, column 130: Missing required attribute in "repository": version

!ENTRY org.eclipse.equinox.p2.core 2 0 2011-01-25 21:49:00.700
!MESSAGE Error parsing composite repository
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2011-01-25 21:49:00.700
!MESSAGE Error at line 3, column 121: Missing required attribute in "repository": version

!ENTRY org.eclipse.equinox.p2.core 2 0 2011-01-25 21:49:01.934
!MESSAGE Error parsing composite repository
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2011-01-25 21:49:01.935
!MESSAGE Error at line 3, column 127: Missing required attribute in "repository": version

The fix is simple:

add a version='1.0.0' attribute into the <repository> node, as you already do for the other m2e site, http://m2eclipse.sonatype.org/sites/m2e/

Affected files are here:

http://m2eclipse.sonatype.org/sites/m2e-extras/compositeArtifacts.xml
http://m2eclipse.sonatype.org/sites/m2e-extras/compositeContent.xml

http://m2eclipse.sonatype.org/sites/m2e-extras/extras/compositeArtifacts.xml
http://m2eclipse.sonatype.org/sites/m2e-extras/tycho/compositeArtifacts.xml
http://m2eclipse.sonatype.org/sites/m2e-extras/wtp/compositeArtifacts.xml
http://m2eclipse.sonatype.org/sites/m2e-extras/subclipse/compositeArtifacts.xml
http://m2eclipse.sonatype.org/sites/m2e-extras/extras/compositeContent.xml
http://m2eclipse.sonatype.org/sites/m2e-extras/tycho/compositeContent.xml
http://m2eclipse.sonatype.org/sites/m2e-extras/wtp/compositeContent.xml
http://m2eclipse.sonatype.org/sites/m2e-extras/subclipse/compositeContent.xml
Comment 1 Nick Boldt CLA 2011-02-01 02:23:21 EST
BTW, there's no bugzilla component for "update site" or "build" or "releng" so I dumped this in "ui". Your project lead or PMC can add new bugzilla components to your bugzilla product via portal.eclipse.org.
Comment 2 Igor Fedorenko CLA 2011-02-01 10:48:49 EST
m2e-extras site should be fixed now, but feel free to reopen if missed something.
Comment 3 Nick Boldt CLA 2011-02-03 22:07:52 EST
Verified. Thanks!
Comment 4 Pascal Rapicault CLA 2011-02-28 15:42:46 EST
.
Comment 5 Denis Roy CLA 2021-04-19 13:24:04 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/