0 down vote favorite
I am trying to load configuration files in build using
Maven but configuration files are not loading.
Following is the code snippet which i am using. I am trying to load obj_12345.xml and obj_56478.xml files into jar while doing mvn clean compile or mvn clean install
<plugin>
<groupId>com.abc.om.tls.maven.plugin</groupId>
<artifactId>changeset-maven-plugin</artifactId>
<version>${changeset.plugin.version}</version>
<executions>
<execution>
<id>generate changeset.xml</id>
<goals>
<goal>changeset</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<startRevision>${svn.startRevision}</startRevision>
<excludeRevisions>${svn.excludeRevisions}</excludeRevisions>
<endRevision>${svn.endRevision}</endRevision>
<alwaysInclude>
/*for your understanding i added this comment. I am trying to load obj_12345.xml and obj_56478.xml files into jar while doing mvn clean compile or mvn clean install */
<file>scm/com/abc/loyalty/objects/obj_12345.xml</file>
<file>scm/com/abc/loyalty/objects/obj_56478.xml</file>
</alwaysInclude> </configuration>
</execution> </executions>
</plugin>
Please help me. Thanks in advance.