crx-maven-plugin | Maven plugin to package a Chrome extension | Build Tool library

 by   bmatthews68 Java Version: 1.2.1 License: No License

kandi X-RAY | crx-maven-plugin Summary

kandi X-RAY | crx-maven-plugin Summary

crx-maven-plugin is a Java library typically used in Utilities, Build Tool, Maven applications. crx-maven-plugin has no vulnerabilities, it has build file available and it has low support. However crx-maven-plugin has 14 bugs. You can download it from GitHub, Maven.

The [CRX Maven Plugin] is a [Maven] plugin that collects all the resources of a [Google Chrome Extensions] and packages them into a signed [CRX] archive.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              crx-maven-plugin has a low active ecosystem.
              It has 17 star(s) with 5 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 10 have been closed. On average issues are closed in 175 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of crx-maven-plugin is 1.2.1

            kandi-Quality Quality

              crx-maven-plugin has 14 bugs (0 blocker, 0 critical, 8 major, 6 minor) and 20 code smells.

            kandi-Security Security

              crx-maven-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              crx-maven-plugin code analysis shows 0 unresolved vulnerabilities.
              There are 2 security hotspots that need review.

            kandi-License License

              crx-maven-plugin does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              crx-maven-plugin releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 2044 lines of code, 75 functions and 51 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed crx-maven-plugin and discovered the below as its top functions. This is intended to give you an instant insight into crx-maven-plugin implemented functionality, and help decide if they suit your requirements.
            • Creates the CRX file
            • Build a list of filter wrappers
            • Splits the comma - separated list of directories and exclusion rules
            • Returns true if the file should be filtered
            • Copies files from a source directory to a destination directory
            • Generate a ZIP file for the source directory and zip file
            • Creates a ZIP file containing the resources
            • Attempts to convert an RSA private key to a public key pair
            • Read the public key pair from a PEM file
            • Loads the crX archive
            • Get the contents of the CRX archive
            • Get the public key
            • Get the signature for the contents of the CRX archive
            • Reads a CRX archive from a file
            • Read a 32 - bit integer from the stream
            • Generates the CRX file
            • Writes a 32 - bit integer to the stream
            • Validates the signature using the public key algorithm
            • Generates a signature for a byte array
            Get all kandi verified functions for this library.

            crx-maven-plugin Key Features

            No Key Features are available at this moment for crx-maven-plugin.

            crx-maven-plugin Examples and Code Snippets

            No Code Snippets are available at this moment for crx-maven-plugin.

            Community Discussions

            QUESTION

            Is there an up-to-date (crx3) way to build a chromium extension (Edge+Chrome) using a CI jenkins pipeline (maven+nexus preferably)?
            Asked 2021-Dec-22 at 11:48

            I am building a self-hosted chromium extension for Edge and Chrome. So far I got a nice working CI pipeline using maven with this plugin (https://github.com/bmatthews68/crx-maven-plugin) and I managed to automate the versioning, packaging and signing of the .crx file, and upload to Nexus repository without much hassle (our intent was to point the upload URL to Nexus releases using group policies to get the extension deployed to users).

            But we have found that the plugin is a bit outdated and uses crx2 format for the extension packaging. Support for crx2 was dropped a while ago (chromium v75 or so), and current browser versions require crx3 or won't install the extension.

            Seems like the only reliable way to package a crx3 extension right now is using the chrome executable itself, but it does not look like the best idea for a CI pipeline :-/

            Any suggestion is welcome!

            ...

            ANSWER

            Answered 2021-Nov-15 at 08:43

            As you mentioned, CRX2 was deprecated in Chrome 75 two years ago, there are some issues with CRX₂ and its support was completely removed in Chrome 78. Because all extensions must move to the CRX3 format!

            I'm not sure how you built it with maven, maybe it was a script or something. In this case, you may need to modify your script appropriately, or find some reference documents that support CRX3 format related to the tools you are using to build the extension.

            Otherwise you have to package it in crx3 format. Refer to this document.

            Source https://stackoverflow.com/questions/69941143

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install crx-maven-plugin

            You can download it from GitHub, Maven.
            You can use crx-maven-plugin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the crx-maven-plugin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/bmatthews68/crx-maven-plugin.git

          • CLI

            gh repo clone bmatthews68/crx-maven-plugin

          • sshUrl

            git@github.com:bmatthews68/crx-maven-plugin.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link