# What is the schema path to include from a jar into current project

**URL:** <https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906>\
**Category:** General Discussion\
**Created:** [February 12, 2014, 3:43am UTC](https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906 "2014-02-12T03:43:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [February 12, 2014, 3:43am UTC](https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906/1 "2014-02-12T03:43:00Z")

</div>

Asked on&nbsp;[http://stackoverflow.com/questions/21711613/what-will-be-the-path-of-liquibase-changlog-xml-which-exists-in-jar-to-include-i](http://stackoverflow.com/questions/21711613/what-will-be-the-path-of-liquibase-changlog-xml-which-exists-in-jar-to-include-i)

Nathan

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [February 12, 2014, 3:43am UTC](https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906/2 "2014-02-12T03:43:00Z")

</div>

I’ll try to answer on there

Nathan

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [February 12, 2014, 3:43am UTC](https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906/3 "2014-02-12T03:43:00Z")

</div>

Good. Thanks for the follow up

Nathan

---

<div class="post-metadata">

**Author:** ![RamaKrishnaGollapudi](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@RamaKrishnaGollapudi](https://forum.liquibase.org/u/RamaKrishnaGollapudi)\
**Post date:** [February 12, 2014, 3:43am UTC](https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906/4 "2014-02-12T03:43:00Z")

</div>

Hi,&nbsp;

&nbsp; &nbsp; &nbsp;I’ve a jar which has it’s own changelog.xml under src/main/resources. And i want to include that chagnelog.xml into my current project.&nbsp;

Example :

Project1 -\>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;src/main/resources

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -\>project1.changelog.xml

Project 2 -\>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;src/main/resources

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -\>project2.changelog.xml

What will be the path of project2.changelog.xml to include into project1.changelog.xml ?.

---

<div class="post-metadata">

**Author:** ![un1392147313318r95id](https://avatars.discourse-cdn.com/v4/letter/u/73ab20/32.png) [@un1392147313318r95id](https://forum.liquibase.org/u/un1392147313318r95id)\
**Post date:** [February 12, 2014, 3:43am UTC](https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906/5 "2014-02-12T03:43:00Z")

</div>

I asked that question on stackoverflow. But didn’t get the correct answer. &nbsp;

---

<div class="post-metadata">

**Author:** ![un1392147313318r95id](https://avatars.discourse-cdn.com/v4/letter/u/73ab20/32.png) [@un1392147313318r95id](https://forum.liquibase.org/u/un1392147313318r95id)\
**Post date:** [February 12, 2014, 3:43am UTC](https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906/6 "2014-02-12T03:43:00Z")

</div>

Sure, thank you Nathan.

---

<div class="post-metadata">

**Author:** ![un1392147313318r95id](https://avatars.discourse-cdn.com/v4/letter/u/73ab20/32.png) [@un1392147313318r95id](https://forum.liquibase.org/u/un1392147313318r95id)\
**Post date:** [February 12, 2014, 3:43am UTC](https://forum.liquibase.org/t/what-is-the-schema-path-to-include-from-a-jar-into-current-project/2906/7 "2014-02-12T03:43:00Z")

</div>

I found the solution for this problem.

Use maven-dependency-plugin to unpack the project2 jar and then use&nbsp;maven-resources-plugin to extract the project2.changelog.xml &nbsp;into project1-\>src-\>main-\>resources.&nbsp;

After extracting use tag to include&nbsp;&nbsp;in project1.changelog.xml.&nbsp;

This solved my problem. I’m not sure if this is expensive but i think it’s a good solution.
