Skip to content

Latest commit

 

History

History
66 lines (55 loc) · 3.07 KB

README.md

File metadata and controls

66 lines (55 loc) · 3.07 KB

Acmicpc Maven Plugin

Maven Central Build Status Quality Gate Status Coverage Hits

Acmicpc Maven Plugin is a simple maven plugin for creating the problem project using fully customizable templates.

Related Project

Maven Central

<build>
  <plugins>
    <plugin>
      <groupId>org.silentsoft.maven.plugins</groupId>
      <artifactId>acmicpc-maven-plugin</artifactId>
      <version>1.1.0</version>
      <extensions>true</extensions>
      <configuration>
        <template>java</template>
        <!-- <site>leetcode.com</site> -->
      </configuration>
    </plugin>
  </plugins>
</build>

Example Usages

  • Creating a problem
    $ mvn -N acmicpc:create -Dproblem=1234 
    
  • Creating a problem with specific template
    $ mvn -N acmicpc:create -Dproblem=1234 -Dtemplate=specific
    
  • Creating a problem for specific site
    $ mvn -N acmicpc:create -Dproblem=two-sum -Dsite=leetcode.com
    
  • Revalidating project
    $ mvn -N acmicpc:revalidate
    

Frequently Asked Questions

  • I'm using another site(s) instead of acmicpc.net to solve algorithm problems. Can I use this program?

    Of course you can. There are no restrictions on the use of this program. And you can edit the template. If you are using multiple sites then you can set site property. It's up to you.

  • Can you provide a feature to download the problem text as a file from acmicpc.net ?

    No. This can lead to sensitive issues related to copyright. Also, web scraping isn't allowed according to the rules.

  • Then can you provide a migration feature for downloading my source code that I've already submitted to acmicpc.net ?

    No. According to the rules, web scraping isn't allowed for now.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please note we have a CODE_OF_CONDUCT, please follow it in all your interactions with the project.

License

Please refer to LICENSE.