[M2] Repository definition
Hi folks, the reference guide defines the release and snapshot tags as children of the repository or pluginRepository tags. If I define them in my settings.xml, Maven claims that they are not recognized: [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project $ mvn projecthelp:active-profiles Error reading settings.xml: Unrecognised tag: 'release' (position: START_TAG seen ...repository\r\nrelease... @23:30) Line: 23 Column: 30 [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project $ mvn projecthelp:active-profiles Error reading settings.xml: Unrecognised tag: 'snapshot' (position: START_TAG seen .../release --\r\nsnapshot... @27:31) Line: 27 Column: 31 How do I define different repos for snapshot/release artifacts? - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Repository definition
snapshots and releases (there is an error in the documenter that is stripping plurals on non-lists). - Brett On 11/9/05, Jörg Schaible [EMAIL PROTECTED] wrote: Hi folks, the reference guide defines the release and snapshot tags as children of the repository or pluginRepository tags. If I define them in my settings.xml, Maven claims that they are not recognized: [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project $ mvn projecthelp:active-profiles Error reading settings.xml: Unrecognised tag: 'release' (position: START_TAG seen ...repository\r\nrelease... @23:30) Line: 23 Column: 30 [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project $ mvn projecthelp:active-profiles Error reading settings.xml: Unrecognised tag: 'snapshot' (position: START_TAG seen .../release --\r\nsnapshot... @27:31) Line: 27 Column: 31 How do I define different repos for snapshot/release artifacts? - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Repository definition
On Wed, 2005-11-09 at 10:31 +0100, Jörg Schaible wrote: Hi folks, the reference guide defines the release and snapshot tags as children of the repository or pluginRepository tags. If I define them in my settings.xml, Maven claims that they are not recognized: Can you point me at which reference guide so I can fix it, or better yet put it in JIRA. [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project $ mvn projecthelp:active-profiles Error reading settings.xml: Unrecognised tag: 'release' (position: START_TAG seen ...repository\r\nrelease... @23:30) Line: 23 Column: 30 [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project $ mvn projecthelp:active-profiles Error reading settings.xml: Unrecognised tag: 'snapshot' (position: START_TAG seen .../release --\r\nsnapshot... @27:31) Line: 27 Column: 31 How do I define different repos for snapshot/release artifacts? You can currently look at Maven's parent POM for an example: http://svn.apache.org/viewcvs.cgi/*checkout*/maven/components/trunk/pom.xml?rev=329741 - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org believe nothing, no matter where you read it, or who has said it, not even if i have said it, unless it agrees with your own reason and your own common sense. -- Buddha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] Repository definition
Jason van Zyl wrote on Wednesday, November 09, 2005 4:10 PM: On Wed, 2005-11-09 at 10:31 +0100, Jörg Schaible wrote: Hi folks, the reference guide defines the release and snapshot tags as children of the repository or pluginRepository tags. If I define them in my settings.xml, Maven claims that they are not recognized: Can you point me at which reference guide so I can fix it It's the reference for pom.xml and settings.xml: http://maven.apache.org/maven-model/maven.html http://maven.apache.org/maven-settings/settings.html As Brett said, there are some tags that misses an 's' at the end of their name: /settings/profiles/profile/activation/os /settings/profiles/profile/repositories/repository/releases /settings/profiles/profile/repositories/repository/snapshots /settings/profiles/profile/pluginRepositories/pluginRepository/releases /settings/profiles/profile/pluginRepositories/pluginRepository/snapshots /project/profiles/profile/activation/os /project/profiles/profile/repositories/repository/releases /project/profiles/profile/repositories/repository/snapshots /project/profiles/profile/pluginRepositories/pluginRepository/releases /project/profiles/profile/pluginRepositories/pluginRepository/snapshots /project/repositories/repository/releases /project/repositories/repository/snapshots /project/pluginRepositories/pluginRepository/releases /project/pluginRepositories/pluginRepository/snapshots Not sure, how these two guides are generated tough. or better yet put it in JIRA. http://jira.codehaus.org/browse/MNG-1478 - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]