Search code examples
androidmavenrobospice

Maven Dependency Error in pom.xml


I am working on a maven based project in android, I don't have any prior experience with maven. Currently i am trying to execute maven + robospice sample https://github.com/octo-online/RoboSpice-samples/tree/release/robospice-sample-spring-android. I am facing a strange dependency error "Missing artifact com.octo.android.robospice:robospice-spring-android:jar:1.4.5-SNAPSHOT" on dependency

    <dependency>
        <groupId>com.octo.android.robospice</groupId>
        <artifactId>robospice-spring-android</artifactId>
        <version>${robospice.spring.android.version}</version>
    </dependency>

Variable {robospice.spring.andriod.version} has value 1.4.5-SNAPSHOT. complete pom.xml available here https://github.com/octo-online/RoboSpice-samples/blob/release/robospice-sample-spring-android/pom.xml.

I have executed mvn clean install, i also have updated mvn update project but this error is still exist. please help me to fix it.

Thanks,


Solution

  • I am not able to see any jar with that version 1.4.5-SNAPSHOT in Maven Central Repository. Please try with version 1.4.5

    For more you can refer here

    http://search.maven.org/#browse|-1465358918

    Thanks