Skip to content

ERROR on MVN Package cmd line & Eclipse... #32

Description

@daisy-guti

I looked at the previous pom/maven build error and tried the suggestions within.

I now receive the following error when I attempt to do a mvn package from the cmd line and also when I attempted to build this as a mvn project in Eclipse. Any help would be appreciated or if you can point me to a forum? Maybe this is just a general how to use question?

[ERROR] Plugin com.springsource.bundlor:com.springsource.bundlor.maven:1.0.0.REL
EASE or one of its dependencies could not be resolved: Failed to read artifact d
escriptor for com.springsource.bundlor:com.springsource.bundlor.maven:jar:1.0.0.
RELEASE: Failure to find com.springsource.bundlor:com.springsource.bundlor.maven
:pom:1.0.0.RELEASE in http://repo.maven.apache.org/maven2 was cached in the loca
l repository, resolution will not be reattempted until the update interval of ce
ntral has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit......

I'm having a hard time running the sample application and if I can't build this to add to my repo I can't get the sample running, and therefore can't play around with it. I have been looking for hours now. Any help would be super appreciated!

Below is the full pom:


4.0.0

<groupId>org.springframework.data</groupId>
<artifactId>spring-data-elasticsearch</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>

<parent>
    <groupId>org.springframework.data.build</groupId>
    <artifactId>spring-data-parent</artifactId>
    <version>1.1.0.BUILD-SNAPSHOT</version>
    <relativePath>../spring-data-build/parent/pom.xml</relativePath>
</parent>

<name>Spring Data Elasticsearch</name>
<description>Spring Data Implementation for Elasticsearch</description>
<url>https://github.com/SpringSource/spring-data-elasticsearch</url>

<properties>
    <dist.key>DATAES</dist.key>
    <commonscollections>3.2.1</commonscollections>
    <commonslang>2.6</commonslang>
    <elasticsearch>0.90.2</elasticsearch>
    <jackson>1.9.2</jackson>
    <springdata.commons>1.6.0.BUILD-SNAPSHOT</springdata.commons>
</properties>

<dependencies>

    <!-- Spring -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>${spring}</version>
        <exclusions>
            <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-tx</artifactId>
        <version>${spring}</version>
    </dependency>

    <!-- For JavaConfig -->
    <dependency>
        <groupId>cglib</groupId>
        <artifactId>cglib</artifactId>
        <version>2.2.2</version>
        <scope>test</scope>
    </dependency>

    <!-- SPRING DATA -->
    <dependency>
        <groupId>org.springframework.data</groupId>
        <artifactId>spring-data-commons</artifactId>
        <version>${springdata.commons}</version>
    </dependency>

    <!-- APACHE -->
    <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
        <version>${commonslang}</version>
    </dependency>
    <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>${commonscollections}</version>
    </dependency>

    <!-- JODA Time -->
    <dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time</artifactId>
        <version>${jodatime}</version>
    </dependency>

    <!-- Elasticsearch -->
    <dependency>
        <groupId>org.elasticsearch</groupId>
        <artifactId>elasticsearch</artifactId>
        <version>${elasticsearch}</version>
    </dependency>

    <!-- Jackson JSON Mapper -->
    <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-mapper-asl</artifactId>
        <version>${jackson}</version>
    </dependency>

    <!-- CDI -->
    <dependency>
        <groupId>javax.enterprise</groupId>
        <artifactId>cdi-api</artifactId>
        <version>${cdi}</version>
        <scope>provided</scope>
        <optional>true</optional>
    </dependency>

    <!-- Test -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-test</artifactId>
        <version>${spring}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.apache.openwebbeans.test</groupId>
        <artifactId>cditest-owb</artifactId>
        <version>${webbeans}</version>
        <scope>test</scope>
    </dependency>

</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-assembly-plugin</artifactId>
        </plugin>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>wagon-maven-plugin</artifactId>
        </plugin>
    </plugins>
</build>

<developers>
    <developer>
        <id>biomedcentral</id>
        <name>BioMed Central Development Team</name>
        <timezone>+0</timezone>
    </developer>
</developers>

<repositories>
    <repository>
        <id>spring-snapshot</id>
        <name>Spring Maven SNAPSHOT Repository</name>
        <url>http://repo.springsource.org/libs-snapshot-local/</url>
    </repository>
    <!-- <repository>
        <id>spring-libs-snapshot</id>
        <url>http://repo.springsource.org/libs-snapshot/</url>
    </repository> -->
</repositories>

<scm>
    <url>https://github.com/SpringSource/spring-data-elasticsearch</url>
    <connection>scm:git:git://github.com/SpringSource/spring-data-elasticsearch.git</connection>
    <developerConnection>scm:git:ssh://git@github.com:SpringSource/spring-data-elasticsearch.git
    </developerConnection>
</scm>

<ciManagement>
    <system>Bamboo</system>
    <url>http://build.springsource.org/browse/SPRINGDATAES</url>
</ciManagement>

<issueManagement>
    <system>JIRA</system>
    <url>https://jira.springsource.org/browse/DATAES</url>
</issueManagement>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions