You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brill Pappin (JIRA)" <ji...@codehaus.org> on 2007/10/01 18:01:08 UTC
[jira] Created: (MINSTALL-42) classifier seems to be ignored
classifier seems to be ignored
------------------------------
Key: MINSTALL-42
URL: http://jira.codehaus.org/browse/MINSTALL-42
Project: Maven 2.x Install Plugin
Issue Type: Bug
Affects Versions: 2.1
Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
Reporter: Brill Pappin
Priority: Blocker
install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
The repo structure its using is incorrect.
That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MINSTALL-42) classifier seems to be ignored
Posted by "Brill Pappin (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125809 ]
Brill Pappin commented on MINSTALL-42:
--------------------------------------
OK, if you think its fixed, resolve the issue...
If it isn't it will certainly show up again :)
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MINSTALL-42) classifier seems to be ignored
Posted by "Stephen More (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129346#action_129346 ]
Stephen More commented on MINSTALL-42:
--------------------------------------
My maven is still using version 2.1:
$ mvn --version
Maven version: 2.0.8
Java version: 1.6.0_04
OS name: "linux" version: "2.6.9-67.0.7.el" arch: "i386" Family: "unix"
[DEBUG] org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.1:runtime (selected for runtime)
How do I force maven to use the 2.2 plugin ?
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
> Fix For: 2.2
>
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MINSTALL-42) classifier seems to be ignored
Posted by "Brill Pappin (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108837 ]
Brill Pappin commented on MINSTALL-42:
--------------------------------------
I can't get you the config right this moment (have to wait until I'm at the other machine).
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MINSTALL-42) classifier seems to be ignored
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125806 ]
Dennis Lundberg commented on MINSTALL-42:
-----------------------------------------
I tried this using version 2.2 of the plugin, and it is working as expected. The installed file is called gwt-dev-1.4.60-windows.jar
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MINSTALL-42) classifier seems to be ignored
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108827 ]
Stephane Nicoll commented on MINSTALL-42:
-----------------------------------------
Blocker issue without a way to reproduce is a bit funny.
Call your command with mvn -X and check the install plugin configuration.
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
> Priority: Blocker
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MINSTALL-42) classifier seems to be ignored
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll updated MINSTALL-42:
------------------------------------
Priority: Major (was: Blocker)
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MINSTALL-42) classifier seems to be ignored
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129347#action_129347 ]
Dennis Lundberg commented on MINSTALL-42:
-----------------------------------------
If you have specified the plugin in your pom, just update the version number for it or add a <version> element.
Otherwise run 'mvn -U install' to update to the latest release.
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
> Fix For: 2.2
>
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MINSTALL-42) classifier seems to be ignored
Posted by "Brill Pappin (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108836 ]
Brill Pappin commented on MINSTALL-42:
--------------------------------------
Yes, your right... I just didn't have time to produce a test.
Should be easy though. The exact command I'm running is:
CALL mvn install:install-file -Dfile=gwt-dev-windows.jar -DgroupId=com.google.gwt -DartifactId=gwt-dev -Dversion=1.4.60 -Dpackaging=jar -Dclassifier=windows -DgeneratePom=true -DcreateChecksum=true
I expect the repo to have:
.m2\repository\com\google\gwt\gwt-dev\1.4.60\gwt-dev-1.4.60-windows.jar
but am getting:
.m2\repository\com\google\gwt\gwt-dev\1.4.60\gwt-dev-1.4.60.jar
quick fix is to copy the gwt-dev-1.4.60.jar to gwt-dev-1.4.60-windows.jar and the dependencies are then resolved.
However its not consistent between two on my machines:
Both machines are using maven 2.0.7 with an identical environment setup (with regards to java and maven) the only difference being the actual paths.
It's not clear if its some sort of environment setting that makes the difference, but because of the nature of the beast it should not be making a difference. A classifier designation should behave the same regardless of the system setup or the version of maven. The *only* thing that might change it is repository layout (which I have not set and the default new version should be used).
Now, this could be some sort of bug in maven and not the plugin (maven not passing information to the plugin) but I am unable to verify that right now.
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MINSTALL-42) classifier seems to be ignored
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MINSTALL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MINSTALL-42.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2
This seems to have been fixed in 2.2.
> classifier seems to be ignored
> ------------------------------
>
> Key: MINSTALL-42
> URL: http://jira.codehaus.org/browse/MINSTALL-42
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: Maven 2.0.7. I'm unsure of the specific plugin version.
> Reporter: Brill Pappin
> Fix For: 2.2
>
>
> install-file is failing to take into account the classifier option... this used to work (as of last week) but is being ignored when I do the same thing again.
> The repo structure its using is incorrect.
> That or possible maven has changed the way that classifier is used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira