当前位置:编程学习 > JAVA >>

eclipse上的axistools-maven-plugin问题。



No marketplace entries found to handle axistools-maven-plugin:1.4:wsdl2java in Eclipse.  Please see Help for more information.



这个问题该如何解决呀?修改pom.xml文件吗?

相关代码附上:
parent pom:
<pluginManagement>
  <plugins>

        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>axistools-maven-plugin</artifactId>
          <version>1.4</version>
        </plugin>

  </plugins>
</pluginManagement>



jira-troubleticketer/pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<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">
    <parent>
        <artifactId>opennms-tools</artifactId>
        <groupId>org.opennms</groupId>
        <version>1.10.11</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>jira-troubleticketer</artifactId>
    <packaging>jar</packaging>
    <name>OpenNMS Jira Trouble Ticketer</name>

    <repositories>
        <repository>
            <id>atlassian-public</id>
            <name>Atlassian public repo</name>
            <url>https://maven.atlassian.com/content/groups/public</url>
        </repository>
    </repositories>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>attached</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <!-- appendAssemblyId>false</appendAssemblyId -->
                    <tarLongFileMode>gnu</tarLongFileMode>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>axistools-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>wsdl2java</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <urls>
                        <url>file://${project.basedir}/src/main/wsdl/jirasoapservice-v2.wsdl</url>
                    </urls>
                    <packageSpace>com.atlassian.jira.rpc.soap.client</packageSpace>
                    <testCases>false</testCases>
                    <serverSide>false</serverSide>
                </configuration>
            </plugin>

        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.opennms.features.ticketing</groupId>
            <artifactId>org.opennms.features.ticketing.api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.opennms</groupId>
            <artifactId>opennms-services</artifactId>
            <scope>provided</scope>
        </dependency>
    </dependencies>

  <!-- we add the jira-soapclient as a dependency in a profile only while we are not tagging
       since we cannot release with a SNAPSHOT dependency.  When there is a released
       wersion can make it a regular dependency -->
  <profiles>
    <profile>
      <id>not-tagging</id>
      <activation>
        <property>
          <name>!tagging</name>
        </property>
      </activation>
      <dependencies>
        <!-- Cutting edge ++ -->
        <dependency>
            <groupId>com.atlassian.jira.plugins</groupId>
            <artifactId>jira-soapclient</artifactId>
            <version>5.1.2-SNAPSHOT</version>
        </dependency>
      </dependencies>
    </profile>
  </profiles>

</project>





opennms-integration-otrs/pom.xml:
<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">
<parent>
<artifactId>opennms-integrations</artifactId>
<groupId>org.opennms</groupId>
<version>1.10.11</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>opennms-integration-otrs</artifactId>
<name>OpenNMS OTRS Integration</name>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>axistools-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
<configuration>
<urls>
<url>
file:///${project.basedir}/src/main/wsdl/TicketService.wsdl
</url>
</urls>
<packageSpace>
org.opennms.integration.otrs.ticketservice
</packageSpace>
<testCases>false</testCases>
<serverSide>false</serverSide>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.opennms.features.ticketing</groupId>
<artifactId>org.opennms.features.ticketing.api</artifactId>
</dependency>
<dependency>
<groupId>org.opennms</groupId>
<artifactId>opennms-util</artifactId>
</dependency>
<dependency>
<groupId>axis</groupId>
<artifactId>axis</artifactId>
</dependency>
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
</dependencies>
</project>

eclipse axistools pom maven-plugin --------------------编程问答-------------------- 不在线? --------------------编程问答-------------------- maven还是在cmd下面跑比较好 --------------------编程问答--------------------
引用 1 楼 yetaodiao 的回复:
不在线?
现在刚看到。 --------------------编程问答--------------------
引用 2 楼 rainbowsix 的回复:
maven还是在cmd下面跑比较好

哦 --------------------编程问答-------------------- 有人么?继续顶
补充:Java ,  Eclipse
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,