[ 
https://issues.apache.org/jira/browse/WICKET-6314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-6314.
-------------------------------------
       Resolution: Fixed
         Assignee: Martin Grigorov
    Fix Version/s: 8.0.0-M4
                   7.7.0
                   6.27.0

Fixed by 
https://git1-us-west.apache.org/repos/asf?p=wicket.git;a=commit;h=86f7cb04.

> 7.6 release references 7.5-SNAPSHOT poms
> ----------------------------------------
>
>                 Key: WICKET-6314
>                 URL: https://issues.apache.org/jira/browse/WICKET-6314
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.6.0
>         Environment: Debian GNU/Linux Jessie
>            Reporter: Jan Lühr
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.27.0, 7.7.0, 8.0.0-M4
>
>
> mvn install fails, due to referencing 7.5-SNAPSHOT dependencies
> Error:
> {code:none}
> jan@Daisy:/tmp$ mvn archetype:generate -DarchetypeGroupId=org.apache.wicket 
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=7.6.0 
> -DgroupId=com.mycompany -DartifactId=myproject 
> -DarchetypeRepository=https://repository.apache.org/ -DinteractiveMode=false  
>                                                                               
>                                                                               
>                                                                               
>                                 
> [INFO] Scanning for projects...                                               
>                                                                               
>                                                                               
>                                      
> [INFO]                                                                        
>                                                                               
>                                                                               
>                                      
> [INFO] 
> ------------------------------------------------------------------------      
>                                                                               
>                                                                               
>                               
> [INFO] Building Maven Stub Project (No POM) 1                                 
>                                                                               
>                                                                               
>                                      
> [INFO] 
> ------------------------------------------------------------------------      
>                                                                               
>                                                                               
>                               
> [INFO]                                                                        
>                                                                               
>                                                                               
>                                      
> [INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom 
> >>>                                                                           
>                                                                               
>                                      
> [INFO]                                                                        
>                                                                               
>                                                                               
>                                      
> [INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom 
> <<<
> [INFO] 
> [INFO] --- maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom 
> ---
> [INFO] Generating project in Batch mode
> [INFO] Archetype defined by properties
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating project from Archetype: 
> wicket-archetype-quickstart:7.6.0
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: com.mycompany
> [INFO] Parameter: artifactId, Value: myproject
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] Parameter: package, Value: com.mycompany
> [INFO] Parameter: packageInPathFormat, Value: com/mycompany
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] Parameter: package, Value: com.mycompany
> [INFO] Parameter: groupId, Value: com.mycompany
> [INFO] Parameter: log4j.properties, Value: log4j2.xml
> [INFO] Parameter: artifactId, Value: myproject
> [INFO] project created from Archetype in dir: /tmp/myproject
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 0.671s
> [INFO] Finished at: Tue Jan 31 14:03:07 CET 2017
> [INFO] Final Memory: 13M/145M
> [INFO] 
> ------------------------------------------------------------------------
> jan@Daisy:/tmp$ cd myproject/
> jan@Daisy:/tmp/myproject$ ls -lh
> total 12K
> -rw-r--r-- 1 jan jan 5.5K Jan 31 14:03 pom.xml
> drwxr-xr-x 4 jan jan 4.0K Jan 31 14:03 src
> jan@Daisy:/tmp/myproject$ mvn install
> [INFO] Scanning for projects...
> [INFO]                                                                        
>  
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building quickstart 1.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> Downloading: 
> https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-core/7.5.0-SNAPSHOT/maven-metadata.xml
> Downloading: 
> https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-core/7.5.0-SNAPSHOT/wicket-core-7.5.0-SNAPSHOT.pom
> [WARNING] The POM for org.apache.wicket:wicket-core:jar:7.5.0-SNAPSHOT is 
> missing, no dependency information available
> Downloading: 
> https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-core/7.5.0-SNAPSHOT/wicket-core-7.5.0-SNAPSHOT.jar
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2.348s
> [INFO] Finished at: Tue Jan 31 14:03:21 CET 2017
> [INFO] Final Memory: 9M/145M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project myproject: Could not resolve 
> dependencies for project com.mycompany:myproject:war:1.0-SNAPSHOT: Could not 
> find artifact org.apache.wicket:wicket-core:jar:7.5.0-SNAPSHOT in Apache 
> Nexus (https://repository.apache.org/content/repositories/snapshots/) -> 
> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> {code}
> Looking at myproject/pom.xml there is:
> {code:xml}
> <wicket.version>7.5.0-SNAPSHOT</wicket.version>
> {code}
> After changing this to 7.6.0 everything is fine.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to