Xcode Maven Plugin : adding extra headers -
the xcode maven plugin http://sap-production.github.io/xcode-maven-plugin/site nice maven plugin people maven , wan't avoid pain xcode dependencies, framework creation , such.
it creates , installs lib , headers in repository.
the headers bundled in .tar file during process.
for reason, need edit tar file , add few files in before installing. i'm quite noob regarding maven, need !
how can modify on byproduct of maven before installed ? suppose can write script add files .taf, how can sure it's executed prior installation ?
@redwarp - it's been while since question asked, i'll offer answer.
you can configure maven plug-in's goal executed during particular phase in maven build lifecycle.
pick phase that's executed before install phase. package may best phase edit tar file , add required files.
the following generalized example (the focus should on phase , goal):
<project> ... <build> <plugins> <plugin> <groupid>com.sap.prd.mobile.ios.mios</groupid> <artifactid>xcode-maven-plugin</artifactid> <version>1.12.0</version> <extensions>true</extensions> <executions> <execution> <id>do-something</id> <phase>package</phase> <configuration> ... </configuration> <goals> <goal>plugin-goal</goal> </goals> </execution> </executions> </plugin> </plugins> </build> ... </project>
find plug-ins suit needs , bind goals appropriate maven lifecycle phases...which there's chance have figured out point.
Comments
Post a Comment