Um, we should be able to build it without tests too :(

On Sun, Mar 20, 2011 at 7:16 AM, Senaka Fernando <[email protected]> wrote:

> Hi Denis,
>
> On Sun, Mar 20, 2011 at 2:53 AM, Denis Weerasiri <[email protected]> wrote:
>
>>
>>
>> On Sun, Mar 20, 2011 at 12:26 AM, WSO2 Builder <[email protected]> wrote:
>>
>>> [INFO] Executed tasks
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building WSO2 AS - Integration Tests
>>> [INFO]    task-segment: [install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] [incremental-build:incremental-build {execution: default}]
>>> [INFO] Verifying module descriptor ...
>>> [INFO] Verifying parent modules...
>>> [INFO] Verifying resources...
>>> [INFO] Resources directory does not exist :
>>> /home/carbon/carbon/products/appserver/modules/integration/src/main/resources
>>> [INFO] Verifying sources...
>>> [INFO] No sources to check ...
>>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>>> [INFO] [install:install {execution: default-install}]
>>> [INFO] Installing
>>> /home/carbon/carbon/products/appserver/modules/integration/pom.xml to
>>> /home/carbon/.m2/repository/org/wso2/appserver/integration/4.1.0-SNAPSHOT/integration-4.1.0-SNAPSHOT.pom
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building WSO2 AS - Login Test Module
>>> [INFO]    task-segment: [install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] snapshot
>>> org.wso2.carbon:org.wso2.carbon.integration.core:3.2.0-SNAPSHOT: checking
>>> for updates from wso2-maven2-snapshot-repository
>>> [INFO] snapshot
>>> org.wso2.carbon:org.wso2.carbon.integration.core:3.2.0-SNAPSHOT: checking
>>> for updates from com.springsource.repository.bundles.release
>>> [INFO] snapshot
>>> org.wso2.carbon:org.wso2.carbon.integration.core:3.2.0-SNAPSHOT: checking
>>> for updates from com.springsource.repository.bundles.external
>>> Downloading:
>>> http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.integration.core/3.2.0-SNAPSHOT/org.wso2.carbon.integration.core-3.2.0-SNAPSHOT-tests.jar
>>> [INFO] Unable to find resource
>>> 'org.wso2.carbon:org.wso2.carbon.integration.core:jar:tests:3.2.0-SNAPSHOT'
>>> in repository wso2-maven2-snapshot-repository (
>>> http://dist.wso2.org/snapshots/maven2)
>>> Downloading:
>>> http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.integration.core/3.2.0-SNAPSHOT/org.wso2.carbon.integration.core-3.2.0-SNAPSHOT-tests.jar
>>> [INFO] Unable to find resource
>>> 'org.wso2.carbon:org.wso2.carbon.integration.core:jar:tests:3.2.0-SNAPSHOT'
>>> in repository com.springsource.repository.bundles.release (
>>> http://repository.springsource.com/maven/bundles/release)
>>> Downloading:
>>> http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.integration.core/3.2.0-SNAPSHOT/org.wso2.carbon.integration.core-3.2.0-SNAPSHOT-tests.jar
>>> [INFO] Unable to find resource
>>> 'org.wso2.carbon:org.wso2.carbon.integration.core:jar:tests:3.2.0-SNAPSHOT'
>>> in repository com.springsource.repository.bundles.external (
>>> http://repository.springsource.com/maven/bundles/external)
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>>
>>> This occurs when core is built without tests. So it's essential to build
>> core with tests.
>>
>
> What happened in here? Did you build the core without tests and AS with
> tests? Or does AS require this irrespective of whether it was built
> with/without tests?
>
> Thanks,
> Senaka.
>
>
>> Missing:
>>> ----------
>>> 1)
>>> org.wso2.carbon:org.wso2.carbon.integration.core:jar:tests:3.2.0-SNAPSHOT
>>>
>>>  Try downloading the file manually from the project website.
>>>
>>>  Then, install it using the command:
>>>      mvn install:install-file -DgroupId=org.wso2.carbon
>>> -DartifactId=org.wso2.carbon.integration.core -Dversion=3.2.0-SNAPSHOT
>>> -Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file
>>>
>>>  Alternatively, if you host your own repository you can deploy the file
>>> there:
>>>      mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>>> -DartifactId=org.wso2.carbon.integration.core -Dversion=3.2.0-SNAPSHOT
>>> -Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>>> -DrepositoryId=[id]
>>>
>>>  Path to dependency:
>>>        1) org.wso2.appserver:login-test:jar:4.1.0-SNAPSHOT
>>>        2)
>>> org.wso2.carbon:org.wso2.carbon.integration.core:jar:tests:3.2.0-SNAPSHOT
>>>
>>> ----------
>>> 1 required artifact is missing.
>>>
>>> for artifact:
>>>  org.wso2.appserver:login-test:jar:4.1.0-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>>  com.springsource.repository.bundles.release (
>>> http://repository.springsource.com/maven/bundles/release),
>>>  com.springsource.repository.bundles.external (
>>> http://repository.springsource.com/maven/bundles/external),
>>>  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2
>>> ),
>>>  central (http://repo1.maven.org/maven2),
>>>  wso2-maven2-repository (http://dist.wso2.org/maven2)
>>>
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 289 minutes 33 seconds
>>> [INFO] Finished at: Sun Mar 20 00:26:24 IST 2011
>>> [INFO] Final Memory: 1282M/1766M
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>
>>
>>
>> --
>> Thanks,
>> Denis
>> ----------------------------------------------------------
>> *Denis Weerasiri*
>> Software Engineer; WSO2 Inc.; http://wso2.com,
>> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/>
>> *
>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>> *
>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>> *
>> linked-in: 
>> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to