maven issue - maven-resources-plugin

时间:2011-10-13 15:05:36

标签: maven-2 maven

在运行“mvn clean install -DskipTests -U”

时获得以下内容
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   (derived-data) avalon Data Modules
[INFO]   (data-affiliate-dynamic) avalon Dynamic Affiliate Data
[INFO]   (data-external-id) Amazon ID Reference Data
[INFO]   (data-products-raw) avalon Raw Product Data
[INFO]   (data-product-images) avalon Product Image Data
[INFO] ------------------------------------------------------------------------
[INFO] Building (derived-data) avalon Data Modules
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\svn\data\trunk\pom.xml to C:\Users\dinsolani\.m2\repository
\com\avalon\derived-data\3\derived-data-3.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building (data-affiliate-dynamic) avalon Dynamic Affiliate Data
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] artifact com.avalon:maven-resources-plugin: checking for updates from c
entral
[INFO] snapshot com.avalon:maven-resources-plugin:4.66-SNAPSHOT: checking for
updates from central
[INFO] snapshot com.avalon:tools-maven-plugins:4.66-SNAPSHOT: checking for upd
ates from central
Downloading: http://repo.avalon.com/content/groups/private/com/avalon/tools-
maven-plugins/4.66-SNAPSHOT/tools-maven-plugins-4.66-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:maven-resources-plugin:maven-plugin:null

Reason: Cannot find parent: com.avalon:tools-maven-plugins for project: null:m
    aven-resources-plugin:maven-plugin:null for project null:maven-resources-plugin:
maven-plugin:null


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Thu Oct 13 19:50:23 IST 2011
[INFO] Final Memory: 13M/981M
[INFO] ------------------------------------------------------------------------

现在我真的在寻找一些解决方案或至少解决这个问题。 我可以手动下载&放在某处

我可以使用任何公共存储库吗?

以下是data-affiliate-dynamic模块的pom:

<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.avalon</groupId>
        <artifactId>derived-data</artifactId>
        <version>3</version>
    </parent>
    <artifactId>data-affiliate-dynamic</artifactId>
    <packaging>pom</packaging>
    <name>(${project.artifactId})avalonDynamicAffiliateData</name>
    <build>
        <plugins>
            <plugin>
                <groupId>com.avalon</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <configuration>
                    <include>var/affiliate/${sourceId}*-dynamic-*.xml</include>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

0 个答案:

没有答案