Hi Harshan,

You need to build Kernel patch 0006 before building the BAM pack.

Regards,
Gihan


On Fri, Mar 14, 2014 at 5:35 PM, Harshan Liyanage <[email protected]> wrote:

> Hi,
>
> I tried to build BAM 4.2.1 (in turing branch). I have already built the
> ESB without any issue. This is the maven error log I'm getting.
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack
> (2-unpack-kernel-patch) on project wso2bam-p2-profile-gen: Unable to find
> artifact. Failure to find org.wso2.carbon:WSO2-CARBON-PATCH-4.2.0:zip:0006
> in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
> the local repository, resolution will not be reattempted until the update
> interval of wso2-nexus has elapsed or updates are forced
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
> -DartifactId=WSO2-CARBON-PATCH-4.2.0 -Dversion=0006 -Dpackaging=zip
> -Dfile=/path/to/file
> [ERROR]
> [ERROR] Alternatively, if you host your own repository you can deploy the
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
> -DartifactId=WSO2-CARBON-PATCH-4.2.0 -Dversion=0006 -Dpackaging=zip
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR]
> [ERROR] org.wso2.carbon:WSO2-CARBON-PATCH-4.2.0:zip:0006
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
> snapshots=true),
> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :wso2bam-p2-profile-gen
>
> I have checked for WSO2-CARBON-PATCH-4.2.0:zip:0006 in
> http://maven.wso2.org/nexus/content/groups/wso2-public/ repo. But
> appearently that dependency doesn't exist. Please have a look.
>
> Thanks
>
> Best Regards,
>
> Lakshitha Harshan
> Software Engineer
> Mobile: *+94724423048*
> Email: [email protected]
> Blog : http://harshanliyanage.blogspot.com/
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +94772272595
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to