Hi Chamila

Did you check with maven assembly plugin[1]? I guess we are already used
this plugin in the project itself.

http://maven.apache.org/plugins/maven-assembly-plugin/

Thanks,
Gayan

On Mon, Nov 10, 2014 at 1:02 PM, Chamila De Alwis <[email protected]> wrote:

> Update:
>
> I used the maven-antrun-plugin to zip the folder contents, as it was far
> simpler than the exec plugin.
>
> <build>
>         <plugins>
>             <plugin>
>                 <artifactId>*maven-antrun-plugin*</artifactId>
>                 <executions>
>                     <execution>
>                         <phase>package</phase>
>                         <goals>
>                             <goal>run</goal>
>                         </goals>
>                         <configuration>
>                             <target>
>
>
> *<zip
> destfile="${project.build.directory}/artifact-name-${project.version}.zip"
> basedir="parentdir/contentdir"                                        />*
>                             </target>
>                         </configuration>
>                     </execution>
>                 </executions>
>             </plugin>
>         </plugins>
>     </build>
>
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Fri, Nov 7, 2014 at 12:10 PM, Chamila De Alwis <[email protected]>
> wrote:
>
>> Hi,
>>
>> I have a python module that should be integrated in to the rest of the
>> Java code in a project with Maven. The production code folder in this
>> module should be zipped up and moved to the target folder when maven
>> install is run.
>>
>> The only option I've found so far is to map actions in Python's
>> setuptools to Maven through exec-maven-plugin[1]. However my requirement
>> seems simpler than writing a setup.py file.
>>
>> Are there any other methods to approach this?
>>
>>
>> [1] - http://shiningpanda.com/python-java-unified-build-process-14.html
>>
>>
>> Regards,
>> Chamila de Alwis
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Gayan Gunarathne
Technical Lead
WSO2 Inc. (http://wso2.com)
email  : [email protected]  | mobile : +94 766819985
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to