On Mon, Apr 4, 2011 at 12:20 AM, Afkham Azeez <[email protected]> wrote:

> Why do you need that? Maven already has a test phase. Builds should pass
> even if tests are skipped.e
>

+1

 With this failure, we cant get a successful build without tests without
human interaction.

AmilaM.

> On Apr 3, 2011 9:31 PM, "Supun Kamburugamuva" <[email protected]> wrote:
> > How about introducing a test profile for products? If the -Dtest is
> > specified the integration tests will run.
> >
> > Thanks,
> > Supun.
> >
> > On Sun, Apr 3, 2011 at 8:32 PM, Amila Maha Arachchi <[email protected]>
> wrote:
> >> Hi all,
> >>
> >> We have been able to get to the product level in the build. But many
> product
> >> builds were failed due to the error
> >>
> >> [ERROR] BUILD ERROR
> >> [INFO] ------------------------------
> >> ------------------------------------------
> >> [INFO] Failed to resolve artifact.
> >>
> >> 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
> >>
> >>
> >>
> >> Above was taken from the app server build.
> >>
> >> Currently, build is running without tests. IIRC we need to build the
> >> integration core with tests in order to get rid if the above error. Isnt
> >> there a proper solution for this? or am I missing something here?
> >>
> >> Thanks,
> >> AmilaM.
> >>
> >>
> >>
> >> _______________________________________________
> >> Carbon-dev mailing list
> >> [email protected]
> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>
> >>
> >
> >
> >
> > --
> > Supun Kamburugamuva
> > Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
> > Member, Apache Software Foundation; http://www.apache.org
> > WSO2 Inc.;  http://wso2.org
> > E-mail: [email protected];  Mobile: +94 77 431 3585
> > Blog: http://supunk.blogspot.com
> > _______________________________________________
> > Carbon-dev mailing list
> > [email protected]
> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to