thanks guys.

seeing that it is a confirmed bug makes me happy that at least I am not doing 
something wrong.

Cheers
 
>>> "Jason Harrop" <[EMAIL PROTECTED]> 06/06/08 3:53 PM >>> 
Please see further http://jira.codehaus.org/browse/MNGECLIPSE-581

In my case, I'm trying to do the following:

        <profile>
                <id>jdk16</id>
                <activation>
                        <jdk>1.6</jdk>
                </activation>
                <dependencies>
                        <dependency>
                                <!--  in order to access
com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper  -->
                                <groupId>com.sun.xml.bind</groupId>
                                <artifactId>jaxb-impl</artifactId>
                                <version>2.0</version>
                                <scope>system</scope>
                                <systemPath>
                                        /usr/lib/jvm/java-6-sun/jre/lib/rt.jar
                                </systemPath>
                                <!--
                                        Note for Windows users: Maven won't 
find rt.jar if systemPath
                                        contains a space (eg "Program Files"). 
Either copy rt.jar
                                        to a path that doesn't contain spaces, 
or use:
                                        
                                            
<systemPath>${env.JAVA_HOME}/jre/lib/rt.jar</systemPath>
                                        
                                        which works on the command line, but 
not in m2eclipse 0.9.x.
                                        See 
http://jira.codehaus.org/browse/MNGECLIPSE-581
                                        
                                        
<systemPath>${java.home}/lib/rt.jar</systemPath>
                                        broken (mvn 2.0.9) even though 
java.home is supposed to point
to JRE_HOME:
                                        
                                -->
                        </dependency>
                </dependencies>
        </profile>

cheers

Jason



On Fri, Jun 6, 2008 at 1:14 PM, Timothy Reilly <[EMAIL PROTECTED]> wrote:
>> Andy Dingfelder wrote:
> <snip>
>>
>> I also tried it as   {MAVEN_WORKSPACE} and also tried making
>> a java variable in eclipse.
>> Neither helped.
>>
>
> Andy, I'm guessing you've already been asked... why not just install the
> third party library in your local repository and make life easier.
> System scope is discouraged from what I understand.
>
> That said, this works for me on windows and roughly translated to bash:
>
> $>eclipse [commandoptions] -vmargs
> -Denv.MAVEN_WORKSPACE=$MAVEN_WORKSPACE
>
> Once eclipse launches click Help->About->Configuration Details  *and
> verify you have an entry in the list of java properties matching
> env.MAVEN_WORKSPACE=/home/dingfeldera/workspace
>
> Also you do need the $ in
>
> <systemPath>${env.MAVEN_WORKSPACE}//java.3rdParty/jars/Serialio-7.5.jar<
> /systemPath>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please consider the environment before printing this email

WARNING: This email and any attachments may be confidential and/or privileged.
They are intended for the addressee only and are not to be read, used, copied or
disseminated by anyone receiving them in error. If you are not the intended 
recipient,
please notify the sender by return email and delete this message and any 
attachments.

The views expressed in this email are those of the sender and do not 
necessarily reflect
the official views of SirTrack. see   http://www.sirtrack.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to