Mojo
  1. Mojo
  2. MOJO-392

WebSphere 5 plugin for Maven2

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: _Plugin Submission
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      7

      Description

      The Maven2 WebSphere 5 plugin is a set of commonly used tasks for WebSphere.

      The tasks are:

      Java2WSDL - WebSphere specific wsdl generation
      WSDL2Java - WebSphere specific java generation
      EJBDeploy - Generation of stubs & ties etc for WebSphere
      StartServer - Starts a WebSphere 5 server
      ServerStatus - Gives the status of a WebSphere 5 server
      InstallApplication - Installs an application to a WebSphere 5 server
      StartApplication - Starts an application that is installed on a WebSphere 5 server
      ListApplications - Lists innstalled applications on a WebSphere 5 server
      StopApplication - Stops an application on a WebSphere 5 server
      UninstallApplication - Uninstalls an application from a WebSphere 5 server
      StopServer - Stops a WebSphere 5 server

      There is also a set of anttasks that the plugin relies on.

        Activity

        Hide
        Hermod Opstvedt added a comment -

        Good catch - Trailing slash removed from trgdir and srcdir, and node replaced with wasnode for StartApplication and StopApplication. Thnx.

        Please get latest src from http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/mojo-was/ and rebuild it to get the changes.

        Hermod

        Show
        Hermod Opstvedt added a comment - Good catch - Trailing slash removed from trgdir and srcdir, and node replaced with wasnode for StartApplication and StopApplication. Thnx. Please get latest src from http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/mojo-was/ and rebuild it to get the changes. Hermod
        Hide
        Trygve Laugstøl added a comment -

        Hermod: you should be able to deploy new snapshots yourself by executing: $ mvn deploy. That way it will be a bit easier to test your code.

        Show
        Trygve Laugstøl added a comment - Hermod: you should be able to deploy new snapshots yourself by executing: $ mvn deploy. That way it will be a bit easier to test your code.
        Hide
        Hermod Opstvedt added a comment -

        Hi

        Nothing would please me more. I recently mailed Jason about aquiring the info for the repo to deploy to, but have not heard anything yet. If I try to deploy now I get:

        [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven
        -deploy-plugin:2.2.1

        check that the following section of the pom.xml is present and correct:

        <distributionManagement>
        <!-- use the following if you're not using a snapshot version. -->
        <repository>
        <id>repo</id>
        <name>Repository Name</name>
        <url>scp://host/path/to/repo</url>
        </repository>
        <!-- use the following if you ARE using a snapshot version. -->
        <snapshotRepository>
        <id>repo</id>
        <name>Repository Name</name>
        <url>scp://host/path/to/repo</url>
        </snapshotRepository>
        </distributionManagement>

        Show
        Hermod Opstvedt added a comment - Hi Nothing would please me more. I recently mailed Jason about aquiring the info for the repo to deploy to, but have not heard anything yet. If I try to deploy now I get: [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven -deploy-plugin:2.2.1 check that the following section of the pom.xml is present and correct: <distributionManagement> <!-- use the following if you're not using a snapshot version. --> <repository> <id>repo</id> <name>Repository Name</name> <url>scp://host/path/to/repo</url> </repository> <!-- use the following if you ARE using a snapshot version. --> <snapshotRepository> <id>repo</id> <name>Repository Name</name> <url>scp://host/path/to/repo</url> </snapshotRepository> </distributionManagement>
        Hide
        M.H. Avegaart added a comment -

        Hi,

        I noticed you finally got the packages in the snapshot repository (thanks) !

        There is however a problem with the package versioning.

        Most people will have their snapshot repository access setup according to:
        http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html

        This means that only SNAPSHOT plugins will be downloaded from snapshots.codehaus.org, but the was-plugin-anttasks package has version 1.0 instead of 1.0-SNAPSHOT.

        Could you please change the was-plugin-anttasks version to a SNAPSHOT ?

        Show
        M.H. Avegaart added a comment - Hi, I noticed you finally got the packages in the snapshot repository (thanks) ! There is however a problem with the package versioning. Most people will have their snapshot repository access setup according to: http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html This means that only SNAPSHOT plugins will be downloaded from snapshots.codehaus.org, but the was-plugin-anttasks package has version 1.0 instead of 1.0-SNAPSHOT. Could you please change the was-plugin-anttasks version to a SNAPSHOT ?
        Hide
        Hermod Opstvedt added a comment -

        I'll change it to 1.1-SNAPSHOT and check it in.

        Show
        Hermod Opstvedt added a comment - I'll change it to 1.1-SNAPSHOT and check it in.

          People

          • Assignee:
            Trygve Laugstøl
            Reporter:
            Hermod Opstvedt
          • Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: