Thanks,

basically this is the web service client's pom.xml. does not define any type
of direct dependency to the myProject-ws project since the dependency is
through the web service

How could I make the wsimport goal from myProject-wsclient to depend from
the jetty:run goal in the myProject-ws module.


Thanks,
Jozsef

<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>myProject</groupId>
        <artifactId>myProject-wsclient</artifactId>
        <packaging>jar</packaging>
        <version>1.0-SNAPSHOT</version>
        <name>myProject-wsclient</name>
        <url>http://maven.apache.org</url>
        <parent>
                <groupId>myProject</groupId>
                <artifactId>myProject</artifactId>
                <version>1.0-SNAPSHOT</version>
        </parent>
...
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>jaxws-maven-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>wsimport</goal>
                                                </goals>
                                                <configuration>
                                                        <wsdlUrls>
                                                                <wsdlUrl> 
http://localhost:8080/myProject-ws/ws/AuthService?wsdl 
                                                                </wsdlUrl>
                                                                <wsdlUrl> 
http://localhost:8080/myProject-ws/ws/UserService?wsdl 
                                                                </wsdlUrl>
                                                        </wsdlUrls>
                                                        
<packageName>org.myproject
                                                        </packageName>
                                                        <verbose>true</verbose>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>
        </build>
</project>


Grant Rettke wrote:
> 
> On Mon, Apr 27, 2009 at 1:48 PM, ZsJoska <[email protected]> wrote:
>> Thanks for your answer but is that possible to attach to the
>> code-generation
>> (i think is more suitable) phase the jetty:run goal from/for another
>> pom.xml?
> 
> You can attach that goal to any phase you wish.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/dependency-to-run-jetty-on-a-dependent-project-tp23252831p23277586.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to