神器尚未包装MDEP-98

时间:2018-08-31 05:37:41

标签: eclipse maven eclipse-plugin

在编译患者匹配算法文件之一时-> Choicemaker 我发现了这个错误

我尝试了以下几种解决方案 Artifact has not been packaged yet 我仍然没有找到解决方案 请帮助

错误如下

  

工件尚未打包。当用于反应堆工件时,
  打包后应执行解压缩:请参阅MDEP-98。
  (org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack-dependencies:   e2-standard-platform:pre-integration- ....

该错误显示在标记旁边

这是POM文件

<?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/xsd/maven-4.0.0.xsd"
>
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>com.choicemaker.cm</groupId>
    <artifactId>choicemaker-base</artifactId>
    <version>2.7.1-SNAPSHOT</version>
    <relativePath>../../choicemaker-base/pom.xml</relativePath>
  </parent>

  <groupId>com.choicemaker.cmit</groupId>
  <artifactId>cm-analyzer-ce-it</artifactId>

  <name>Integration Test: ChoiceMaker Analyzer, Part 1</name>
  <description><![CDATA[
  Integration test for the standard-E2 version of CM Analyzer, Community Edition.
  ]]></description>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <eclipse.application.dir>${project.build.testOutputDirectory}/eclipse.application.dir</eclipse.application.dir>
    <eclipse.application.examples.dir>${eclipse.application.dir}/examples</eclipse.application.examples.dir>
    <eclipse.application.plugins.dir>${eclipse.application.dir}/plugins</eclipse.application.plugins.dir>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <compilerVersion>1.7</compilerVersion>
          <source>1.7</source>
          <target>1.7</target>
          <compilerArgument>-g</compilerArgument>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>



          <execution>                         ---------> ERROR
            <id>plugins</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
              <includeArtifactIds>cm-analyzer-ce</includeArtifactIds>
              <excludeTransitive>true</excludeTransitive>
              <outputDirectory>${eclipse.application.dir}</outputDirectory>
            </configuration>
          </execution>



          <execution>                         ---------> ERROR
            <id>e2-standard-platform</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
              <classifier>eclipse2prj</classifier>
              <includeArtifactIds>com.choicemaker.e2.std,com.choicemaker.cm.modelmaker.std</includeArtifactIds>
              <excludeTransitive>true</excludeTransitive>
              <outputDirectory>${eclipse.application.plugins.dir}</outputDirectory>
            </configuration>
          </execution>



          <execution>                          ---------->  ERROR
            <id>examples</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
              <includeArtifactIds>simple_person_matching</includeArtifactIds>
              <excludeTransitive>true</excludeTransitive>
              <outputDirectory>${eclipse.application.examples.dir}</outputDirectory>
            </configuration>
          </execution>



        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-failsafe-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>integration-test</goal>
              <goal>verify</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>com.choicemaker.e2</groupId>
      <artifactId>com.choicemaker.e2</artifactId>
    </dependency>
    <dependency>
      <groupId>com.choicemaker.e2it</groupId>
      <artifactId>com.choicemaker.e2it</artifactId>
    </dependency>

    <dependency>
      <groupId>com.choicemaker.e2</groupId>
      <artifactId>com.choicemaker.e2.std</artifactId>
    </dependency>
    <dependency>
      <groupId>com.choicemaker.e2</groupId>
      <artifactId>com.choicemaker.e2.std</artifactId>
      <classifier>eclipse2prj</classifier>
      <type>zip</type>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>com.choicemaker.cm</groupId>
      <artifactId>cm-analyzer-ce</artifactId>
      <classifier>distrib</classifier>
      <type>zip</type>
    </dependency>
    <dependency>
      <groupId>com.choicemaker.cm</groupId>
      <artifactId>simple_person_matching</artifactId>
    </dependency>
    <dependency>
      <groupId>com.choicemaker.cm</groupId>
      <artifactId>com.choicemaker.cm.modelmaker</artifactId>
    </dependency>
    <dependency>
      <groupId>com.choicemaker.cm</groupId>
      <artifactId>com.choicemaker.cm.modelmaker.std</artifactId>
      <classifier>eclipse2prj</classifier>
      <type>zip</type>
    </dependency>
    <dependency>
      <groupId>com.choicemaker.cm</groupId>
      <artifactId>org.eclipse.core.boot</artifactId>
    </dependency>
    <dependency>
      <groupId>com.choicemaker.cm</groupId>
      <artifactId>org.eclipse.core.launcher</artifactId>
    </dependency>
  </dependencies>

</project>

0 个答案:

没有答案