Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6314

7.6 release references 7.5-SNAPSHOT poms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.6.0
    • 6.27.0, 7.7.0, 8.0.0-M4
    • wicket
    • None
    • Debian GNU/Linux Jessie

    Description

      mvn install fails, due to referencing 7.5-SNAPSHOT dependencies

      Error:

      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
      

      Looking at myproject/pom.xml there is:

      <wicket.version>7.5.0-SNAPSHOT</wicket.version>
      

      After changing this to 7.6.0 everything is fine.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            jan.luehr@anderscore.com Jan Lühr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: