incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hyunju kim <hyunn...@gmail.com>
Subject Re: problem in creating s4r archive file
Date Tue, 26 Feb 2013 00:26:09 GMT
hi

The problem has been resolved

Thanks for helping me~!!

2013/2/25 Matthieu Morel <mmorel@apache.org>

> Indeed something is messing up the maven repo.
>
> Let me suggest the following:
> - delete the problematic dependency in your local maven repository (here
> it seems to be findbugs - just delete the directory)
> - in the main s4 build file, place mavenCentral() before mavenLocal()
> - the FAQ has also some complementary information
> https://cwiki.apache.org/confluence/display/S4/FAQ
>
> Hope this helps,
>
> Matthieu
>
>
> On Feb 25, 2013, at 08:48 , hyunju kim wrote:
>
> Hi,
>
> this problem has occurred when i installed s4 with storm.
> i think, it seems to be maven repository conflict problem .
> but i don't know, how to solve the problem
>
>
> following the output : ./gradlew installS4R -b path/to/the/build/file/for/
> **your/project
>
> 16:32:22.273 [DEBUG]
> [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache
> artifact-at-repository.bin (/root/.gradle/
> caches/artifacts-13/artifact-at-repository.bin)
> 1968 16:32:22.280 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleVersionRepository]
> Found artifact 'commons-colle
> ctions#commons-collections;3.2.1!commons-collections.jar' in resolver
> cache: /root/.gradle/caches/artifacts-13/filestore/commons-collection
> s/commons-collections/3.2.1/jar/761ea405b9b37ced573d2df0d1e3a4e0f9edc668/commons-collections-3.2.1.jar
> 1969 16:32:22.280 [DEBUG]
> [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache
> artifact-at-repository.bin (/root/.gradle/
> caches/artifacts-13/artifact-at-repository.bin)
> 1970 16:32:22.281 [DEBUG]
> [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on
> artifact cache (/root/.gradle/caches/artifacts-13     ).
> 1971 16:32:22.281 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain]
> Attempting to download com.google.code.fin
> dbugs#jsr305;1.3.9!jsr305.jar using repository 'MavenLocal'
> 1972 16:32:22.281 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]
>  tried /root/.m2/repository/com/google/code/find
> bugs/jsr305/1.3.9/jsr305-1.3.9.jar
> 1973 16:32:22.281 [DEBUG]
> [org.gradle.api.internal.artifacts.repositories.ExternalResourceResolver]
> Loading /root/.m2/repository/com/google/code
> /findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
> 1974 16:32:22.282 [DEBUG]
> [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire
> exclusive lock on artifact cache (/root/.gradle/     caches/artifacts-13).
> 1975 16:32:22.283 [DEBUG]
> [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
> 1976 16:32:22.283 [DEBUG]
> [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache
> artifact-at-url.bin (/root/.gradle/caches/
> artifacts-13/artifact-at-url.bin)
> 1977 16:32:22.283 [DEBUG]
> [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache
> artifact-at-url.bin (/root/.gradle/caches/
> artifacts-13/artifact-at-url.bin)
> 1978 16:32:22.284 [DEBUG]
> [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on
> artifact cache (/root/.gradle/caches/artifacts-13     ).
> 1979 16:32:22.284 [DEBUG]
> [org.gradle.api.internal.artifacts.repositories.ExternalResourceResolver]
> Resource not reachable for com/google/code/f     indbugs#jsr305;1.3.9:
> res=org.gradle.api.internal.externalresource.ExternalResourceIvyResourceAdapter@19cd1d94
> 1980 16:32:22.286 [DEBUG]
> [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter]
> Finished executing task ':compileJava'
> 1981 16:32:22.347 [LIFECYCLE] [org.gradle.BuildResultLogger]
> 1982 16:32:22.347 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
> 1983 16:32:22.348 [LIFECYCLE] [org.gradle.BuildResultLogger]
> 1984 16:32:22.348 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time:
> 6.622 secs
>
>
>
> 2013/2/22 Matthieu Morel <mmorel@apache.org>
>
>> Hi,
>>
>> You can get more information by running the underlying gradle build
>> command directly:
>> "./gradlew installS4R -b path/to/the/build/file/for/**your/project"
>>
>> and you can add options -info or -debug to get more insight about
>> what may be going wrong.
>>
>> With that info, you might be able to solve the issue directly, or come
>> back to us with more details.
>>
>>
>> Not that I filed a ticket for adding a -debug to s4 commands.
>> https://issues.apache.org/jira/browse/S4-122
>>
>>
>> Hope this helps,
>>
>> Matthieu
>>
>>
>>
>>
>>
>> On Feb 22, 2013, at 05:10 , hyunju kim wrote:
>>
>>
>> hello ~
>>
>> when i try to create s4r archive file for deploying apps, it was failed
>> with following output:
>>
>>
>> Selected primary task 'installS4R'
>>  64 Tasks to be executed: [task ':compileJava', task ':processResources',
>> task ':classes', task ':jar', task ':buildProjectJar', task
>> ':cleanBuildProjectJar', task ':clean    CopyDependenciesToLib', task
>> ':copyDependenciesToLib', task ':s4r', task ':installS4R']
>>  :compileJava
>>  :: loading settings :: url =
>> jar:file:/root/.gradle/wrapper/dists/gradle-1.0-bin/3712n820lsda7ntccvm5qn52st/gradle-1.0/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/
>>    ivysettings.xml
>>
>>   BUILD FAILED
>>
>>
>> I'm not sure what the problem is .. please help me
>>
>>
>>
>
>

Mime
View raw message