• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

I am trying to load configuration files in build using Maven but configuration files not loading.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic