incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chip Childers <chip.child...@sungard.com>
Subject Re: Help needed with Maven
Date Mon, 10 Sep 2012 20:00:38 GMT
On Mon, Sep 10, 2012 at 3:42 PM, Chip Childers
<chip.childers@sungard.com> wrote:
> On Mon, Sep 10, 2012 at 2:16 PM, Chip Childers
> <chip.childers@sungard.com> wrote:
>> 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
>
> Just so everyone knows - this is why the previously stabilized jenkins
> builds are now failing.
>
> -chip

And thanks to Edison's second pair of eyes, I know realize that I was
asking for com.apache.rampart instead of org.apache.rampart as the
group ID.

Mime
View raw message