That didn't work either, complete pom.xml is below... this is really baffling. I have it sprinkled liberally throughout the file.


<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>
    <groupId>net.cuprak.ryanportal</groupId>
    <artifactId>ryanportal</artifactId>
    <packaging>war</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>ryanportal Maven Webapp</name>
    <url>http://maven.apache.org</url>
    <dependencies>
        <dependency>
            <groupId>sun.jdk</groupId>
            <artifactId>tools</artifactId>
            <version>1.5.0</version>
<systemPath>/System/Library/Frameworks/JavaVM.framework/ Versions/1.5/Classes/classes.jar</systemPath>
            <scope>system</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>javax.xml.ws</groupId>
            <artifactId>jaxws-api</artifactId>
            <version>2.1</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.ws</groupId>
            <artifactId>jaxws-rt</artifactId>
            <version>2.1EA1</version>
        </dependency>
        <dependency>
            <groupId>javax.jws</groupId>
            <artifactId>jsr181</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml</groupId>
            <artifactId>jaxws-tools</artifactId>
            <version>2.0EA3</version>
        </dependency>

    </dependencies>

    <build>
        <finalName>ryanportal</finalName>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxws-maven-plugin</artifactId>
                <version>1.0-beta-1-SNAPSHOT</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>wsgen</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <sei>net.cuprak.ryanportal</sei>
                    <genWsdl>true</genWsdl>

                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>sun.jdk</groupId>
                        <artifactId>tools</artifactId>
                        <version>1.5.0</version>
<systemPath>/System/Library/Frameworks/ JavaVM.framework/Versions/1.5/Classes/classes.jar</systemPath>
                        <scope>system</scope>
                    </dependency>
                </dependencies>
            </plugin>

        </plugins>
    </build>
    <repositories>
        <repository>
            <id>Codehaus Snapshots</id>
            <url>http://snapshots.repository.codehaus.org/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>Codehaus Snapshots</id>
            <url>http://snapshots.repository.codehaus.org/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </pluginRepository>
    </pluginRepositories>
    <profiles>
        <profile>
            <id>default-tools.jar</id>
            <activation>
                <property>
                    <name>java.vendor</name>
                    <value>Sun Microsystems Inc.</value>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.sun</groupId>
                    <artifactId>tools</artifactId>
                    <version>1.5.0</version>
                    <scope>system</scope>
<systemPath>/System/Library/Frameworks/ JavaVM.framework/Versions/1.5/Classes/classes.jar</systemPath>
                </dependency>
            </dependencies>
        </profile>
    </profiles>
</project>


On Mar 6, 2007, at 2:21 PM, Chris Hilton wrote:

I don't think you need to add tools.jar as a dependency on Mac. See

http://maven.apache.org/general.html#tools-jar-dependency

Chris

-----Original Message-----
From: Ryan Cuprak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 06 March, 2007 13:19
To: Maven Users List
Subject: Tools.jar & Apple

Hello,
  I am trying to get the "jaxws-maven-plugin" up and running
on my box. Evidently Apple has been kind enough to stick
tools.jar elsewhere.

  Any reason why the snippet below wouldn't work?

  -Ryan

Snippet:

  <plugins>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>jaxws-maven-plugin</artifactId>
                 <version>1.0-beta-1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
                             <goal>wsgen</goal>
                         </goals>
                     </execution>
                 </executions>
                 <configuration>
                     <sei>net.cuprak.ryanportal</sei>
                     <genWsdl>true</genWsdl>

                 </configuration>
                 <dependencies>
                     <dependency>
                         <groupId>sun.jdk</groupId>
                         <artifactId>tools</artifactId>
                         <version>1.5.0</version>
                         <systemPath>/System/Library/Frameworks/
JavaVM.framework/Versions/1.5/Classes/classes.jar</systemPath>
                         <scope>system</scope>
                     </dependency>
                 </dependencies>
             </plugin>

         </plugins>

---------------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to