Hello,

 I created a plug-in that generates a Web Service for WebSphere 6.0.
 The plug-in must be declared inside the POM with packaging = "war". It
 produces the "war" archive that can be deployed into WebSphere 6.0
 container. An example below illustrates a sample POM. I can make the
 plug-in to produce the J2EE container artifact based on the packaging
 type. Please, consider this one as an initial version. Let me know, if
 there is any interest in such plug-in.

 Thank you,

 -eugene

 <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>
    <parent>
          <groupId>com.aeolus</groupId>
          <artifactId>test</artifactId>
          <version>1.0.0-SNAPSHOT</version>
    </parent>
    <artifactId>test-war</artifactId>
    <packaging>war</packaging>
    <name>test-war</name>

    <dependencies>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>test-core</artifactId>
            <version>${project.version}</version>
            <optional>false</optional>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>java2wsdl-was-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>generate-sources</id>
                        <phase>generate-sources</phase>
                        <configuration>
                            <classname>com.aeolus.test.Test</classname>

 <location>http://localhost:9080/test/Test</location>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>deployutils</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>wccm-base</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>emf</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>wsdl4j</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>j2ee</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>bootstrap</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>ras</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>wsexception</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>classloader</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>websphere</groupId>
                        <artifactId>xml</artifactId>
                        <version>6.0.2</version>
                    </dependency>
                    <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>1.0.3</version>
                    </dependency>
                    <dependency>
                        <groupId>commons-discovery</groupId>
                        <artifactId>commons-discovery</artifactId>
                        <version>0.2</version>
                    </dependency>
                </dependencies>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0</version>
                <configuration>
                    <source>1.4</source>
                    <target>1.4</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

 </project>

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

    http://xircles.codehaus.org/manage_email


Reply via email to