You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by rakshita04 <ra...@siemens.com> on 2020/05/28 13:30:53 UTC
how to build only apache ignite core binaries and jar files using
maven
Hi Team,
We want to build only modules/core specific binaries and jar files using
maven.
How can i do it.
Currently when i try to build the bianires/jar files using maven, it builds
a lot of other files and download a lot of other dependencies.
Is there a specific file where i can do this change?
I need jar files w.r.t CPP platform only. Rest of the binaries and jar files
are not of any use to me.
regards,
Rakshita Chaudhary
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: how to build only apache ignite core binaries and jar files using maven
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
You need assembly because assembly collects puts files in libs/.
Regards,
--
Ilya Kasnacheev
пт, 29 мая 2020 г. в 13:52, rakshita04 <ra...@siemens.com>:
> i do not need to the zip of bin files.
> Basically i want to build modules/core and i want to put the output jar
> files inside /module/libs folder.
> when i run the command mentioned by you in the thread it puts the generated
> jar files in module/core/target folder.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
Re: how to build only apache ignite core binaries and jar files
using maven
Posted by rakshita04 <ra...@siemens.com>.
i do not need to the zip of bin files.
Basically i want to build modules/core and i want to put the output jar
files inside /module/libs folder.
when i run the command mentioned by you in the thread it puts the generated
jar files in module/core/target folder.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: how to build only apache ignite core binaries and jar files using maven
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
Normally this is done by mvn initialize -Prelease, then all the files will
be in target/apache-ignite-VERSION-bin directory and corresponding zip file.
Regards,
--
Ilya Kasnacheev
пт, 29 мая 2020 г. в 10:37, rakshita04 <ra...@siemens.com>:
> Thanks Ilya.
> I am able to build the binaries using above command.
> Is there any way that i can put the output jar files in a specific target
> directory?
> Currently its going in core/target and core/target/libs
> And the apache ignite is trying to pick the libraries from modules/libs
> folder.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
Re: how to build only apache ignite core binaries and jar files
using maven
Posted by rakshita04 <ra...@siemens.com>.
Thanks Ilya.
I am able to build the binaries using above command.
Is there any way that i can put the output jar files in a specific target
directory?
Currently its going in core/target and core/target/libs
And the apache ignite is trying to pick the libraries from modules/libs
folder.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: how to build only apache ignite core binaries and jar files using maven
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
No, it will not build everything, since there are dependencies to
ignite-core and ignite-core is not enough.
Regards,
--
Ilya Kasnacheev
чт, 28 мая 2020 г. в 16:49, rakshita04 <ra...@siemens.com>:
> Thanks Ilya.
> I will try this command.
> But what if i go to module/core and run below command-
> mvn clean install -DskipTests -Dmaven.javadoc.skip=true
>
> Will it still build everything?
>
> Is there any difference if i run above command from whole src folder and if
> i run this command from modules/core?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
Re: how to build only apache ignite core binaries and jar files
using maven
Posted by rakshita04 <ra...@siemens.com>.
Thanks Ilya.
I will try this command.
But what if i go to module/core and run below command-
mvn clean install -DskipTests -Dmaven.javadoc.skip=true
Will it still build everything?
Is there any difference if i run above command from whole src folder and if
i run this command from modules/core?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: how to build only apache ignite core binaries and jar files using maven
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
I recommend to try doing the following:
mvn clean install -am -pl :ignite-core,:ignite-spring,:ignite-rest-http
-DskipTests -Dmaven.javadoc.skip=true -Dmaven.scaladoc.skip=true
Regards,
--
Ilya Kasnacheev
чт, 28 мая 2020 г. в 16:31, rakshita04 <ra...@siemens.com>:
> Hi Team,
>
> We want to build only modules/core specific binaries and jar files using
> maven.
> How can i do it.
> Currently when i try to build the bianires/jar files using maven, it builds
> a lot of other files and download a lot of other dependencies.
> Is there a specific file where i can do this change?
> I need jar files w.r.t CPP platform only. Rest of the binaries and jar
> files
> are not of any use to me.
>
> regards,
> Rakshita Chaudhary
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>