[forge-issues] [JBoss JIRA] (FORGE-423) SNAPSHOTs are not properly installed with new plugin versioning system.

Lincoln Baxter III (Created) (JIRA) jira-events at lists.jboss.org
Tue Jan 10 16:10:09 EST 2012


SNAPSHOTs are not properly installed with new plugin versioning system.
-----------------------------------------------------------------------

                 Key: FORGE-423
                 URL: https://issues.jboss.org/browse/FORGE-423
             Project: Forge
          Issue Type: Bug
          Components: Shell
    Affects Versions: 1.0.0.Beta5
            Reporter: Lincoln Baxter III
             Fix For: 1.0.0.CR1


Plugins with SNAPSHOT Forge API versions were not being correctly installed because SNAPSHOT versions were being expanded to full maven form, and not actually being picked up as a SNAPSHOT.

{code}[no project] lbaxter $ forge find-plugin openshift
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!

 - openshift-flex (org.redhat.openshift.plugin-openshift:1.0.0-SNAPSHOT:::)
	Author: Krishna Raman <kraman at redhat.com>
	Website: http://openshift.com
	Location: git://github.com/forge/plugin-openshift.git
	Tags: cloud, openshift, redhat, jboss, deploy, rhc
	Description: Plugins for creating cloud instances, managing existing clouds, and deploying applications to the Red Hat cloud.

 - openshift-express (com.redhat.openshift.express:openshift-express-plugin:::1.0.0-SNAPSHOT)
	Author: Pete Muir <pmuir at redhat.com>
	Website: http://openshift.com
	Location: git://github.com/forge/plugin-openshift-express.git
	Tags: cloud, openshift, redhat, jboss, deploy, rhc, express
	Description: Plugins for creating cloud instances, managing existing clouds, and deploying applications to the Red Hat express cloud.

[no project] lbaxter $ forge install-plugin openshift-express
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: openshift-express
***INFO*** Checking out plugin source files to [/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo] via 'git'
***WARNING*** Could not find a Ref matching the current Forge version [1.0.0.Beta5], building Plugin from HEAD.
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building openshift-express-plugin 1.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact jsch:jsch:jar:0.1.29 has been relocated to com.jcraft:jsch:jar:0.1.29
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openshift-express-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ openshift-express-plugin ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ openshift-express-plugin ---
[WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent!
[INFO] Compiling 5 source files to /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ openshift-express-plugin ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ openshift-express-plugin ---
[WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ openshift-express-plugin ---
[INFO] Surefire report directory: /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.redhat.openshift.express.forge.TestUtil
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ openshift-express-plugin ---
[INFO] Building jar: /private/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forgetemp5738109515856239572/repo/target/openshift-express-plugin.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.761s
[INFO] Finished at: Tue Jan 10 14:24:46 EST 2012
[INFO] Final Memory: 16M/81M
[INFO] ------------------------------------------------------------------------
***SUCCESS*** Build successful.
***INFO*** Installing plugin artifact.
Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
***SUCCESS*** Installed from [git://github.com/forge/plugin-openshift-express.git] successfully.
Wrote /Users/lbaxter/.forge/plugins/com
Wrote /Users/lbaxter/.forge/plugins/com/redhat
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/openshift-express-plugin.jar
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/module.xml
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/jboss-dmr-1.0.0.Final.jar
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/jsch-0.1.29.jar
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/openshift-java-client-1.0.1-SNAPSHOT.jar
Wrote /Users/lbaxter/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851/module.xml
Not loading plugin [com.redhat.openshift.express.openshift-express-plugin] due to incompatible Forge API version [1.0.0-20120102.173624-230]. To remove this plugin, type 'forge remove-plugin com.redhat.openshift.express.openshift-express-plugin:1.0.0-20120102.173624-230:1.0.2-SNAPSHOT-730b6073-1a0d-4025-b4ed-d5c4e68c4851' inside Forge.
[no project] lbaxter ${code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list