flat assembler
Message board for the users of flat assembler.

Index > Main > FASM Maven Plugin

Author
Thread Post new topic Reply to topic
sarxos



Joined: 06 Aug 2012
Posts: 1
Location: Bydgoszcz / Poland
sarxos 06 Aug 2012, 10:58
Hi,

Just wanted to share this and hope it can be useful for someone.

Recently I had to incorporate FASM in one of my C#/Java projects and wanted to build it with Maven. I didn't find any suitable plugin for that, maybe except antrun and exec plugins, but from obvious reasons using those two for such purpose is not not very scalable solution. Therefore I created my own plugin - it is already available in Maven Central, so it can be widely used without needs to compile it locally first.

https://github.com/sarxos/fasm-compiler-plugin

How to use:

  1. Put asm sources under src/main/asm directory or your Maven project,
  2. Set FASM_HOME directory,
  3. Use below plugin configuration in your project's POM:

Configuration:

Code:
<plugin>
  <groupId>com.github.sarxos</groupId>
  <artifactId>fasm-compiler-plugin</artifactId>
  <version>0.1</version>
  <executions>
    <execution>
      <goals>
        <goal>compile</goal>
      </goals>
    </execution>
  </executions>
  <configuration>
    <extension>exe</extension>
  </configuration>
</plugin>
    

If someone would like to have new feature implemented, behavior added, etc, don't hesitate to create new issue or pull request.

Best Regards
Bartosz Firyn
Post 06 Aug 2012, 10:58
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.