Hi all,

So I ended up deleting all of the contents of the
deps/awsapi-lib/rampart folder, but we need the previous contents to
be bundled as part of the build process.  I'm almost there, but I've
gotten myself stuck and I need help from someone who knows Maven a bit
better than I do.

We need to get the rahas-1.5.mar and rampart-1.5.mar files into
deps/awsapi-lib/modules for things like "ant deploy-server" to work.
To that end, I'm adding the following dependencies to the awsapi pom:

    <dependency>
      <groupId>com.apache.rampart</groupId>
      <artifactId>rahas</artifactId>
      <version>1.5</version>
      <type>mar</type>
    </dependency>
    <dependency>
      <groupId>com.apache.rampart</groupId>
      <artifactId>rampart</artifactId>
      <version>1.5</version>
      <type>mar</type>
    </dependency>

When I run mvn -U -P awsapi, I get this error at the end:

[ERROR] Failed to execute goal on project cloud-awsapi: Could not
resolve dependencies for project
org.apache.cloudstack:cloud-awsapi:jar:4.0.0-SNAPSHOT: The following
artifacts could not be resolved: com.apache.rampart:rahas:mar:1.5,
com.apache.rampart:rampart:mar:1.5: Could not find artifact
com.apache.rampart:rahas:mar:1.5 in central
(http://repo1.maven.org/maven2) -> [Help 1]

My confusion is that I can find the artifacts that we need on
http://search.maven.org/ with no problems!  I've tried removing the
"mar" type, but that doesn't work either.

Any advice?

-chip

Reply via email to