You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sidart Kurias <si...@yahoo.com> on 2005/07/27 06:55:23 UTC

[m2- alpha 3] settings.xml issue with with activationProperty

All,

I am trying to configure my settings.xml with profile
information.
I keep getting an error when I try the following..
<activation>
        <jdk/>
        <activationProperty>
                   <name>Release</name>
                   <value>SNAPSHOT</value>
       </activationProperty>
</activation>

org.codehaus.plexus.util.xml.pull.XmlPullParserException:
TEXT must be immediately followed by END_TAG and not
START_TAG (position: START_TAG seen
...<activationProperty>\n\t\t\t\t\t<name>... @20:12)
        at
org.codehaus.plexus.util.xml.pull.MXParser.nextText(MXParser.java:1059)
        at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseActivation(SettingsXpp3Reader.java:237)
        at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseProfile(SettingsXpp3Reader.java:357)
        at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseSettings(SettingsXpp3Reader.java:649)
        at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp3Reader.java:979)
        at
org.apache.maven.settings.DefaultMavenSettingsBuilder.readSettings(DefaultMavenSettingsBuilder.java:89)
        at
org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(DefaultMavenSettingsBuilder.java:110)
        at
org.apache.maven.cli.MavenCli.main(MavenCli.java:177)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
        at
org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
        at
org.codehaus.classworlds.Launcher.main(Launcher.java:363)

Any idea what I am doing incorrectly.AFAIK the
<activationProperty> tag has two children, name and
value.


Thanks
Sid



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2- alpha 3] settings.xml issue with with activationProperty

Posted by Sidart Kurias <si...@yahoo.com>.
Thanks,
BTW I do not know what timezone you are in, but it
must be pretty late where you are

I do have one more question coming :-)....

Sid

--- Brett Porter <br...@gmail.com> wrote:

> this is a typo in the web page. It should be
> <property />
> 
> - Brett
> 
> On 7/27/05, Sidart Kurias <si...@yahoo.com>
> wrote:
> > All,
> > 
> > I am trying to configure my settings.xml with
> profile
> > information.
> > I keep getting an error when I try the following..
> > <activation>
> >         <jdk/>
> >         <activationProperty>
> >                    <name>Release</name>
> >                    <value>SNAPSHOT</value>
> >        </activationProperty>
> > </activation>
> > 
> >
>
org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> > TEXT must be immediately followed by END_TAG and
> not
> > START_TAG (position: START_TAG seen
> > ...<activationProperty>\n\t\t\t\t\t<name>...
> @20:12)
> >         at
> >
>
org.codehaus.plexus.util.xml.pull.MXParser.nextText(MXParser.java:1059)
> >         at
> >
>
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseActivation(SettingsXpp3Reader.java:237)
> >         at
> >
>
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseProfile(SettingsXpp3Reader.java:357)
> >         at
> >
>
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseSettings(SettingsXpp3Reader.java:649)
> >         at
> >
>
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp3Reader.java:979)
> >         at
> >
>
org.apache.maven.settings.DefaultMavenSettingsBuilder.readSettings(DefaultMavenSettingsBuilder.java:89)
> >         at
> >
>
org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(DefaultMavenSettingsBuilder.java:110)
> >         at
> >
>
org.apache.maven.cli.MavenCli.main(MavenCli.java:177)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >         at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at
> > java.lang.reflect.Method.invoke(Method.java:324)
> >         at
> >
>
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
> >         at
> >
>
org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
> >         at
> >
>
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
> >         at
> >
>
org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> > 
> > Any idea what I am doing incorrectly.AFAIK the
> > <activationProperty> tag has two children, name
> and
> > value.
> > 
> > 
> > Thanks
> > Sid
> > 
> > 
> > 
> > 
> >
> ____________________________________________________
> > Start your day with Yahoo! - make it your home
> page
> > http://www.yahoo.com/r/hs
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> users-help@maven.apache.org
> > 
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2- alpha 3] settings.xml issue with with activationProperty

Posted by Brett Porter <br...@gmail.com>.
this is a typo in the web page. It should be <property />

- Brett

On 7/27/05, Sidart Kurias <si...@yahoo.com> wrote:
> All,
> 
> I am trying to configure my settings.xml with profile
> information.
> I keep getting an error when I try the following..
> <activation>
>         <jdk/>
>         <activationProperty>
>                    <name>Release</name>
>                    <value>SNAPSHOT</value>
>        </activationProperty>
> </activation>
> 
> org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> TEXT must be immediately followed by END_TAG and not
> START_TAG (position: START_TAG seen
> ...<activationProperty>\n\t\t\t\t\t<name>... @20:12)
>         at
> org.codehaus.plexus.util.xml.pull.MXParser.nextText(MXParser.java:1059)
>         at
> org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseActivation(SettingsXpp3Reader.java:237)
>         at
> org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseProfile(SettingsXpp3Reader.java:357)
>         at
> org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseSettings(SettingsXpp3Reader.java:649)
>         at
> org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp3Reader.java:979)
>         at
> org.apache.maven.settings.DefaultMavenSettingsBuilder.readSettings(DefaultMavenSettingsBuilder.java:89)
>         at
> org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(DefaultMavenSettingsBuilder.java:110)
>         at
> org.apache.maven.cli.MavenCli.main(MavenCli.java:177)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
>         at
> org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
>         at
> org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> 
> Any idea what I am doing incorrectly.AFAIK the
> <activationProperty> tag has two children, name and
> value.
> 
> 
> Thanks
> Sid
> 
> 
> 
> 
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org