maven-缺少工件错误
我将我的eclipse项目(DCMFiler)安装到本地repo,并试图依赖另一个项目的资源。maven声称“缺少工件错误”。 我可以在pom依赖项添加站点的搜索对话框中找到该文件。我可以在回购协议中看到文件 我取消选中“从工作区项目解析依赖项”,因为我想在不同的工作区中使用配置 settings.xml包含:${user.home}/.m2/存储库 有人知道为什么它不起作用吗maven-缺少工件错误,maven,dependencies,Maven,Dependencies,我将我的eclipse项目(DCMFiler)安装到本地repo,并试图依赖另一个项目的资源。maven声称“缺少工件错误”。 我可以在pom依赖项添加站点的搜索对话框中找到该文件。我可以在回购协议中看到文件 我取消选中“从工作区项目解析依赖项”,因为我想在不同的工作区中使用配置 settings.xml包含:${user.home}/.m2/存储库 有人知道为什么它不起作用吗 <?xml version="1.0"?> <project xsi:schemaLocation=
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.stabilit</groupId>
<artifactId>Test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.dcm</groupId>
<artifactId>dcmFileer</artifactId>
<version>0.0.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Maven Plugin Repository</name>
<url>http://repo1.maven.org/maven2</url>
</pluginRepository>
</pluginRepositories>
<build>
<sourceDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\src\main\java</sourceDirectory>
<scriptSourceDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\src\main\scripts</scriptSourceDirectory>
<testSourceDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\src\test\java</testSourceDirectory>
<outputDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\target\classes</outputDirectory>
<testOutputDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\target\test-classes</testOutputDirectory>
<resources>
<resource>
<directory>C:\stabilit\projects\EUREX\DCM\java\Test\src\main\resources</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>C:\stabilit\projects\EUREX\DCM\java\Test\src\test\resources</directory>
</testResource>
</testResources>
<directory>C:\stabilit\projects\EUREX\DCM\java\Test\target</directory>
<finalName>Test-0.0.1-SNAPSHOT</finalName>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution>
<id>default-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<id>default-install</id>
<phase>install</phase>
<goals>
<goal>install</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<id>default-resources</id>
<phase>process-resources</phase>
<goals>
<goal>resources</goal>
</goals>
</execution>
<execution>
<id>default-testResources</id>
<phase>process-test-resources</phase>
<goals>
<goal>testResources</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.1</version>
<executions>
<execution>
<id>default-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<executions>
<execution>
<id>default-testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<id>default-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.0.1</version>
<executions>
<execution>
<id>default-site</id>
<phase>site</phase>
<goals>
<goal>site</goal>
</goals>
<configuration>
<outputDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\target\site</outputDirectory>
<reportPlugins>
<reportPlugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</reportPlugin>
</reportPlugins>
</configuration>
</execution>
<execution>
<id>default-deploy</id>
<phase>site-deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<outputDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\target\site</outputDirectory>
<reportPlugins>
<reportPlugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</reportPlugin>
</reportPlugins>
</configuration>
</execution>
</executions>
<configuration>
<outputDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\target\site</outputDirectory>
<reportPlugins>
<reportPlugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</reportPlugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<outputDirectory>C:\stabilit\projects\EUREX\DCM\java\Test\target\site</outputDirectory>
</reporting>
</project>
4.0.0
com.stabilit
试验
0.0.1-快照
试验
http://maven.apache.org
UTF-8
org.dcm
DCM过滤器
0.0.1-快照
编译
假的
中心的
Maven存储库交换机
http://repo1.maven.org/maven2
从未
假的
中心的
Maven插件库
http://repo1.maven.org/maven2
C:\stabilit\projects\EUREX\DCM\java\Test\src\main\java
C:\stabilit\projects\EUREX\DCM\java\Test\src\main\scripts
C:\stabilit\projects\EUREX\DCM\java\Test\src\Test\java
C:\stabilit\projects\EUREX\DCM\java\Test\target\classes
C:\stabilit\projects\EUREX\DCM\java\Test\target\Test类
C:\stabilit\projects\EUREX\DCM\java\Test\src\main\resources
C:\stabilit\projects\EUREX\DCM\java\Test\src\Test\resources
C:\stabilit\projects\EUREX\DCM\java\Test\target
测试-0.0.1-快照
maven antrun插件
1.3
maven汇编插件
2.2-β-5
maven依赖插件
2.1
maven发布插件
2
maven清洁插件
2.4.1
默认清除
清洁的
清洁的
maven安装插件
2.3.1
默认安装
安装
安装
maven资源插件
2.4.3
默认资源
过程资源
资源
默认测试资源
过程测试资源
测试资源
maven surefire插件
2.7.1
默认测试
测试
测试
maven编译器插件
2.3.2
默认测试编译
测试编译
测试编译
默认编译
编译
编译
maven jar插件
2.3.1
默认jar
包裹
罐子
maven部署插件
2.5
默认部署
部署
部署
maven站点插件
2.0.1
默认站点
网站
网站
C:\stabilit\projects\EUREX\DCM\java\Test\target\site
org.apache.maven.plugins
maven项目信息报告插件
默认部署
站点部署
部署
C:\stabilit\projects\EUREX\DCM\java\Test\target\site
org.apache.maven.plugins
maven项目信息报告插件
C:\stabilit\projects\EUREX\DCM\java\Test\target\site
org.apache.maven.plugins
maven项目信息报告插件
C:\stabilit\projects\EUREX\DCM\java\Test\target\site
存储库中的POM-依赖项(DCMFiler)的
4.0.0
org.dcm
DCM过滤器
DCM过滤器
0.0.1-快照
http://www.stabilit.ch
ISO-8859-1
ISO-8859-1
真的
稳定信息公司
www.stabilit.ch
org.apache.maven.plugins
maven编译器插件
2.3.1
1.6
1.6
org.apache.maven.plugins
maven javadoc插件
2.7
真的
org.serviceconnector*
org.serviceconnector.cln
maven源插件
2.1.2
附加来源
验证
罐子
repository.jboss.org
http://repository.jboss.org/nexus/content/groups/public/
假的
sourceforge
<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>org.dcm</groupId>
<artifactId>dcmFileer</artifactId>
<name>dcmFileer</name>
<version>0.0.1-SNAPSHOT</version>
<url>http://www.stabilit.ch</url>
<properties>
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
<project.reporting.outputEncoding>ISO-8859-1</project.reporting.outputEncoding>
<skipTests>true</skipTests>
</properties>
<issueManagement>
</issueManagement>
<organization>
<name>STABILIT Informatik AG</name>
<url>www.stabilit.ch</url>
</organization>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<!-- switch on dependency-driven aggregation -->
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependency-source>org.serviceconnector.*</dependency-source>
</dependencySourceIncludes>
<excludePackageNames>org.serviceconnector.cln</excludePackageNames>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
</dependencies>
<repositories>
<repository>
<id>repository.jboss.org</id>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>sourceforge-releases</id>
<name>Sourceforge Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</repositories>
</project>