|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specifieddisplay-plugin-updates: No warning for build.plugins.plugin without version specified
------------------------------------------------------------------------------------- Key: MVERSIONS-69 URL: http://jira.codehaus.org/browse/MVERSIONS-69 Project: Maven 2.x Versions Plugin Issue Type: Bug Affects Versions: 1.0 Environment: Maven 2.2.1 Reporter: Pablo Given the following POM: {code} <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>foo</groupId> <artifactId>bar</artifactId> <version>1.0-SNAPSHOT</version> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> </plugin> </plugins> </build> </project> {code} When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: {code} [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'versions'. [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT [INFO] task-segment: [versions:display-plugin-updates] [INFO] ------------------------------------------------------------------------ [INFO] [versions:display-plugin-updates {execution: default-cli}] [INFO] [INFO] The following plugin updates are available: [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 [INFO] [WARNING] The following plugins do not have their version specified: [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189273#action_189273 ] Stephen Connolly commented on MVERSIONS-69: ------------------------------------------- it is checking b-h-m-p but just not seeing that the version is not defined [DEBUG] Checking org.codehaus.mojo:build-helper-maven-plugin for updates newer than 1.4 [DEBUG] 1.4 [DEBUG] 1.4 [DEBUG] false > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Connolly updated MVERSIONS-69: -------------------------------------- Fix Version/s: 1.1 > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Fix For: 1.1 > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Closed: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Connolly closed MVERSIONS-69. ------------------------------------- Resolution: Cannot Reproduce added an integration test for this in r10969. I have been unable to reproduce with either 1.0: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT [INFO] task-segment: [org.codehaus.mojo:versions-maven-plugin:1.0:display-plugin-updates] [INFO] ------------------------------------------------------------------------ [INFO] [versions:display-plugin-updates] [INFO] [INFO] The following plugin updates are available: [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 [INFO] maven-deploy-plugin ...................................... 2.3 -> 2.4 [INFO] maven-resources-plugin ................................... 2.2 -> 2.3 [INFO] maven-site-plugin ................................. 2.0-beta-6 -> 2.0 [INFO] maven-surefire-plugin ................................ 2.4.2 -> 2.4.3 [INFO] [WARNING] The following plugins do not have their version specified: [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 [WARNING] maven-install-plugin ........................ (from super-pom) 2.2 [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 [WARNING] maven-resources-plugin ...................... (from super-pom) 2.3 [WARNING] maven-site-plugin ........................... (from super-pom) 2.0 [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 [WARNING] org.codehaus.mojo:build-helper-maven-plugin .................. 1.4 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Tue Oct 27 11:20:24 GMT 2009 [INFO] Final Memory: 23M/355M [INFO] ------------------------------------------------------------------------ or the current 1.1-SNAPSHOT [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'versions'. [INFO] snapshot org.codehaus.mojo:versions-maven-plugin:1.1-SNAPSHOT: checking for updates from internal-snapshots [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT [INFO] task-segment: [versions:display-plugin-updates] [INFO] ------------------------------------------------------------------------ [INFO] [versions:display-plugin-updates] [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from internal [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from internal [INFO] artifact org.apache.maven.plugins:maven-deploy-plugin: checking for updates from internal [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from internal [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from internal [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from internal [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from internal [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from internal [INFO] artifact org.codehaus.mojo:build-helper-maven-plugin: checking for updates from internal [INFO] [INFO] The following plugin updates are available: [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 [INFO] maven-deploy-plugin ...................................... 2.3 -> 2.4 [INFO] maven-resources-plugin ................................... 2.2 -> 2.3 [INFO] maven-site-plugin ................................. 2.0-beta-6 -> 2.0 [INFO] maven-surefire-plugin ................................ 2.4.2 -> 2.4.3 [INFO] [WARNING] The following plugins do not have their version specified: [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 [WARNING] maven-install-plugin ........................ (from super-pom) 2.2 [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 [WARNING] maven-resources-plugin ...................... (from super-pom) 2.3 [WARNING] maven-site-plugin ........................... (from super-pom) 2.0 [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 [WARNING] org.codehaus.mojo:build-helper-maven-plugin .................. 1.4 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Tue Oct 27 11:19:00 GMT 2009 [INFO] Final Memory: 23M/356M [INFO] ------------------------------------------------------------------------ > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Fix For: 1.1 > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196248#action_196248 ] Pablo commented on MVERSIONS-69: -------------------------------- Spot the difference!?! *mvn -X versions:display-plugin-updates*: {code} [INFO] Scanning for projects... [DEBUG] build-helper-maven-plugin: resolved to version 1.4 from repository central [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-parent:pom:21 for project: null:build-helper-maven-plugin:maven-plugin:1.4 from the repository. [DEBUG] Adding managed dependencies for unknown:build-helper-maven-plugin [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 [DEBUG] junit:junit:jar:3.8.2:test [INFO] Searching repository for plugin with prefix: 'versions'. [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo [DEBUG] Loading plugin prefixes from group: cern.m2.plugins [DEBUG] Loading plugin prefixes from group: com.atlassian.maven.plugins [DEBUG] versions-maven-plugin: resolved to version 1.0 from repository central [DEBUG] Adding managed dependencies for org.codehaus.mojo:versions-maven-plugin [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 [DEBUG] junit:junit:jar:3.8.2:test [DEBUG] Wagons could not be registered as the extension container was never created [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT [INFO] task-segment: [versions:display-plugin-updates] [INFO] ------------------------------------------------------------------------ [INFO] [versions:display-plugin-updates {execution: default-cli}] [INFO] [INFO] The following plugin updates are available: [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 [INFO] maven-resources-plugin ................................. 2.3 -> 2.4.1 [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 [INFO] [WARNING] The following plugins do not have their version specified: [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 [WARNING] maven-resources-plugin .................... (from super-pom) 2.4.1 [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7 seconds [INFO] Finished at: Tue Oct 27 15:25:01 CET 2009 [INFO] Final Memory: 11M/22M [INFO] ------------------------------------------------------------------------ {code} *mvn -X org.codehaus.mojo:versions-maven-plugin:1.0:display-plugin-updates*: {code} [INFO] Scanning for projects... [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-parent:pom:21 for project: org.codehaus.mojo:versions-maven-plugin:maven-plugin:1.0 from the repository. [DEBUG] Adding managed dependencies for org.codehaus.mojo:versions-maven-plugin [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 [DEBUG] junit:junit:jar:3.8.2:test [DEBUG] Wagons could not be registered as the extension container was never created [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT [INFO] task-segment: [org.codehaus.mojo:versions-maven-plugin:1.0:display-plugin-updates] [INFO] ------------------------------------------------------------------------ [INFO] [versions:display-plugin-updates {execution: default-cli}] [INFO] [INFO] The following plugin updates are available: [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 [INFO] maven-resources-plugin ................................. 2.3 -> 2.4.1 [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 [INFO] [WARNING] The following plugins do not have their version specified: [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 [WARNING] maven-resources-plugin .................... (from super-pom) 2.4.1 [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 [WARNING] org.codehaus.mojo:build-helper-maven-plugin .................. 1.4 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 seconds [INFO] Finished at: Tue Oct 27 15:26:06 CET 2009 [INFO] Final Memory: 11M/22M [INFO] ------------------------------------------------------------------------ {code} > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Fix For: 1.1 > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196251#action_196251 ] Stephen Connolly commented on MVERSIONS-69: ------------------------------------------- probably you have a strange snapshot of v-m-p in your local repo that is poluting when you invoke from the cli without specifying the version > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Fix For: 1.1 > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196257#action_196257 ] Pablo commented on MVERSIONS-69: -------------------------------- Nope, 1.0 is used in both case (that's the only one I have in my repo). I think that the thing which makes the difference is the following line (which doesn't appear when specifing v-m-p version): {{[DEBUG] build-helper-maven-plugin: resolved to version 1.4 from repository central}} IMHO, this has nothing to do with the v-m-p version, this is just Maven behaving differently depending on the command line style. What about adding an integration test with a command line my way (and with an empty repo if you can do so)? > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Fix For: 1.1 > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196269#action_196269 ] Stephen Connolly commented on MVERSIONS-69: ------------------------------------------- If you can provide an integration test that shows the behaviour you are seeing, there is a better chance we canf ix it > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Fix For: 1.1 > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pablo updated MVERSIONS-69: --------------------------- Attachment: mversions-69-short_command_line.patch Here you are: exactly the same test as *it-display-plugin-updates-005*, but with the short command line (as described in the plugin's doc). It fails on my machine. Thanks for giving it a try on yours! > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Fix For: 1.1 > > Attachments: mversions-69-short_command_line.patch > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Reopened: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Connolly reopened MVERSIONS-69: --------------------------------------- Assignee: Stephen Connolly OK confirmed as a real bug.... probably an issue in core... I'll see if I can find a hackaround > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Assignee: Stephen Connolly > Fix For: 1.2 > > Attachments: mversions-69-short_command_line.patch > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Connolly updated MVERSIONS-69: -------------------------------------- Priority: Minor (was: Major) Fix Version/s: (was: 1.1) 1.2 > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Assignee: Stephen Connolly > Priority: Minor > Fix For: 1.2 > > Attachments: mversions-69-short_command_line.patch > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MVERSIONS-69) display-plugin-updates: No warning for build.plugins.plugin without version specified[ http://jira.codehaus.org/browse/MVERSIONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196337#action_196337 ] Stephen Connolly commented on MVERSIONS-69: ------------------------------------------- The issue seems to be how plugins get bound to the lifecycle... for it-___-005 we get [INFO] [DEBUG] after adding local pluginManagement [INFO] org.apache.maven.plugins:maven-clean-plugin:2.2 [INFO] org.apache.maven.plugins:maven-deploy-plugin:2.3 [INFO] org.apache.maven.plugins:maven-install-plugin:2.2 [INFO] org.apache.maven.plugins:maven-site-plugin:2.0 [INFO] [DEBUG] after adding lifecycle plugins [INFO] localhost:dummy-maven-plugin:null [INFO] org.apache.maven.plugins:maven-clean-plugin:2.2 [INFO] org.apache.maven.plugins:maven-deploy-plugin:2.3 [INFO] org.apache.maven.plugins:maven-install-plugin:2.2 [INFO] org.apache.maven.plugins:maven-site-plugin:2.0 [INFO] org.codehaus.mojo:versions-maven-plugin:1.1-SNAPSHOT while for it-___-006 we get [INFO] [DEBUG] after adding local pluginManagement [INFO] org.apache.maven.plugins:maven-clean-plugin:2.2 [INFO] org.apache.maven.plugins:maven-deploy-plugin:2.3 [INFO] org.apache.maven.plugins:maven-install-plugin:2.2 [INFO] org.apache.maven.plugins:maven-site-plugin:2.0 [INFO] [DEBUG] after adding lifecycle plugins [INFO] localhost:dummy-maven-plugin:3.0 [INFO] org.apache.maven.plugins:maven-clean-plugin:2.2 [INFO] org.apache.maven.plugins:maven-deploy-plugin:2.3 [INFO] org.apache.maven.plugins:maven-install-plugin:2.2 [INFO] org.apache.maven.plugins:maven-site-plugin:2.0 [INFO] org.codehaus.mojo:versions-maven-plugin:1.1-SNAPSHOT so it seems that when you invoke a build with a partially qualified plugin (e.g. versions:display-plugin-updates), maven needs to evaluate the project lifecycle to see if any of the bound plugins provide the goal, which requires resolving the plugin versions. if you invoke a build with a fully qualified plugin, maven does not have to evaluate the project lifecycle, and so we still do not know the version... I'll have to see how we can fix this... short of dancing up the tree parsing the raw model I am not sure there is an easy solution > display-plugin-updates: No warning for build.plugins.plugin without version specified > ------------------------------------------------------------------------------------- > > Key: MVERSIONS-69 > URL: http://jira.codehaus.org/browse/MVERSIONS-69 > Project: Maven 2.x Versions Plugin > Issue Type: Bug > Affects Versions: 1.0 > Environment: Maven 2.2.1 > Reporter: Pablo > Assignee: Stephen Connolly > Priority: Minor > Fix For: 1.2 > > Attachments: mversions-69-short_command_line.patch > > > Given the following POM: > {code} > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>foo</groupId> > <artifactId>bar</artifactId> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > </plugin> > </plugins> > </build> > </project> > {code} > When running *mvn versions:display-plugin-updates*, I would expect to get a warning about the build-helper-maven-plugin not having its version specified, but it's not the case: > {code} > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'versions'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Unnamed - foo:bar:jar:1.0-SNAPSHOT > [INFO] task-segment: [versions:display-plugin-updates] > [INFO] ------------------------------------------------------------------------ > [INFO] [versions:display-plugin-updates {execution: default-cli}] > [INFO] > [INFO] The following plugin updates are available: > [INFO] maven-clean-plugin ....................................... 2.2 -> 2.3 > [INFO] maven-install-plugin ..................................... 2.2 -> 2.3 > [INFO] maven-resources-plugin ................................... 2.3 -> 2.4 > [INFO] maven-site-plugin ............................... 2.0-beta-7 -> 2.0.1 > [INFO] > [WARNING] The following plugins do not have their version specified: > [WARNING] maven-clean-plugin .......................... (from super-pom) 2.3 > [WARNING] maven-compiler-plugin ..................... (from super-pom) 2.0.2 > [WARNING] maven-deploy-plugin ......................... (from super-pom) 2.4 > [WARNING] maven-install-plugin ........................ (from super-pom) 2.3 > [WARNING] maven-jar-plugin ............................ (from super-pom) 2.2 > [WARNING] maven-resources-plugin ...................... (from super-pom) 2.4 > [WARNING] maven-site-plugin ......................... (from super-pom) 2.0.1 > [WARNING] maven-surefire-plugin ..................... (from super-pom) 2.4.3 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------------ > {code} -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |