Created
July 27, 2012 03:22
-
-
Save bmatthews68/3186011 to your computer and use it in GitHub Desktop.
CRX Maven Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>com.btmatthews.maven.plugins</groupId> | |
| <artifactId>crx-maven-plugin</artifactId> | |
| <version>1.0.0</version> | |
| </plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ mvn -DcrxPEMFile=<path> [-DcrxPEMPassword=<password>] <goals> | |
| where: | |
| <path> is the location of the .pem file, e.g. ~/crx.pem | |
| <password> is the password used to secure the .pem file, e.g. SparkleAndFade | |
| <goals> are the Maven goals being executed, e.g. install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project> | |
| <groupId>com.btmatthews.crx</groupId> | |
| <artifactId>HelloWorld</artifactId> | |
| <version>1.0.0-SNAPSHOT</version> | |
| <packaging>crx</packaging> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>com.btmatthews.maven.plugins</groupId> | |
| <artifactId>crx-maven-plugin</artifactId> | |
| <version>1.0.0</version> | |
| <extensions>true</extensions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>com.btmatthews.maven.plugins</groupId> | |
| <artifactId>crx-maven-plugin</artifactId> | |
| <version>1.0.0</version> | |
| <configuration> | |
| <crxPEMFile>${user.home}/crx.pem</crxPEMFile> | |
| <crxPEMPassword>SparkleAndFade</crxPEMPassword> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project> | |
| <groupId>com.btmatthews.crx</groupId> | |
| <artifactId>HelloWord</artifactId> | |
| <version>1.0.0-SNAPSHOT</version> | |
| <packaging>war</packaging> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>com.btmatthews.maven.plugins</groupId> | |
| <artifactId>crx-maven-plugin</artifactId> | |
| <version>1.0.0</version> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <settings> | |
| <profiles> | |
| <profile> | |
| <id>crx</id> | |
| <activation> | |
| <activeByDefault>true</activeByDefault> | |
| </activation> | |
| <properties> | |
| <crxPEMFile>${user.home}/crx.pem</crxPEMFile> | |
| <crxPEMPassword>SparkleAndFade</crxPEMPassword> | |
| </properties> | |
| </profile> | |
| </profiles> | |
| </settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment