Fixed this.

Artifact type for org.wso2.carbon:org.apache.synapse.wso2.feature dependency
was not defined. So it was assumed as 'jar', although it should be 'zip'.

Thanks,
Thilina

On Mon, Mar 14, 2011 at 6:44 AM, WSO2 Builder <buil...@wso2.org> wrote:

> [INFO] Generating feature manifest
> [INFO] Generating feature properties
> [INFO] Generating MANIFEST.MF
> [INFO] Generating Advice file (p2.inf)
> [INFO] Copying bundle dependencies
> [INFO]    synapse-samples:2.1.0.wso2v2
> [INFO]    synapse-core:2.1.0.wso2v2
> [INFO]    synapse-commons:2.1.0.wso2v2
> [INFO]    synapse-extensions:2.1.0.wso2v2
> [INFO]    synapse-tasks:2.1.0.wso2v2
> [INFO]    saxon:8.9.0.wso2v1
> [INFO]    quartz:1.6.0.wso2v1
> [INFO] Generating feature archive:
> /home/carbon/stratos/carbon/features/synapse/org.apache.synapse.wso2.feature/target/org.apache.synapse.wso2.feature-2.1.0-wso2v2.zip
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing
> /home/carbon/stratos/carbon/features/synapse/org.apache.synapse.wso2.feature/pom.xml
> to
> /home/carbon/.m2/repository/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.pom
> [INFO] Installing
> /home/carbon/stratos/carbon/features/synapse/org.apache.synapse.wso2.feature/target/org.apache.synapse.wso2.feature-2.1.0-wso2v2.zip
> to
> /home/carbon/.m2/repository/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.zip
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building WSO2 Carbon - Synapse Samples Feature
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> Downloading:
> http://dist.wso2.org/maven2/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.jar
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2' in
> repository wso2-maven2-repository (http://dist.wso2.org/maven2)
> Downloading:
> http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.jar
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2' 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.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.jar
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2' in
> repository com.springsource.repository.bundles.external (
> http://repository.springsource.com/maven/bundles/external)
> Downloading:
> http://repo1.maven.org/maven2/org/wso2/carbon/org.apache.synapse.wso2.feature/2.1.0-wso2v2/org.apache.synapse.wso2.feature-2.1.0-wso2v2.jar
> [INFO] Unable to find resource
> 'org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2' in
> repository central (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2
>
>  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.apache.synapse.wso2.feature -Dversion=2.1.0-wso2v2
> -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.apache.synapse.wso2.feature -Dversion=2.1.0-wso2v2
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1)
> org.wso2.carbon:org.apache.synapse.samples.feature:pom:2.1.0-wso2v2
>        2) org.wso2.carbon:org.apache.synapse.wso2.feature:jar:2.1.0-wso2v2
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  org.wso2.carbon:org.apache.synapse.samples.feature:pom:2.1.0-wso2v2
>
> 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: 209 minutes 57 seconds
> [INFO] Finished at: Mon Mar 14 06:44:28 IST 2011
> [INFO] Final Memory: 1369M/1836M
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to