Marshall also observed that when he unzips DUCC's sources from a zip file, the buildnumber-maven-plugin does not work. This plugin needs SVN to fetch revision number but source release plugin does not package .svn files. It appears this plugin needs .svn to work correctly. Same is true for svn export. It fetches source files only (no .svn files). The only consequence of this is that when building from source (from a zip file), revision numbers are not included in a Manifest. Does not seem like a reason to vote the release down. For the next release I will document this in a README.
Jerry On Thu, Oct 22, 2015 at 11:12 AM, Jaroslaw Cwiklik <[email protected]> wrote: > Strange, I am not seeing this: > > [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ uima-ducc-agent > --- > [INFO] Executing: /bin/sh -c cd > /users1/cwiklik/releases/builds/ducc-2.1.0-dev/uima-ducc-agent && svn > --non-interactive info > [INFO] Working directory: > /users1/cwiklik/releases/builds/ducc-2.1.0-dev/uima-ducc-agent > [INFO] Storing buildNumber: 1707581 at timestamp: 1445526533053 > [INFO] Executing: /bin/sh -c cd > /users1/cwiklik/releases/builds/ducc-2.1.0-dev/uima-ducc-agent && svn > --non-interactive info > [INFO] Working directory: > /users1/cwiklik/releases/builds/ducc-2.1.0-dev/uima-ducc-agent > [INFO] Storing buildScmBranch: trunk > > I am using mvn 3.3.3. There have been other complaints about > buildnumber-maven-plugin and older versions of maven. > Jerry > > On Thu, Oct 22, 2015 at 10:41 AM, Marshall Schor <[email protected]> wrote: > >> This release changed the build so the buildnumber-maven-plugin is run. >> >> When I build from source, I see from this plugin: >> >> [INFO] Executing: cmd.exe /X /C "svn --non-interactive info" >> [INFO] Working directory: >> C:\au\t\ducc\2.0.1\rc3\uima-ducc-2.0.1-bfs\uima-ducc-duccdocs >> [INFO] Storing buildNumber: null at timestamp: 1445524323458 >> [INFO] Executing: cmd.exe /X /C "svn --non-interactive info" >> [INFO] Working directory: >> C:\au\t\ducc\2.0.1\rc3\uima-ducc-2.0.1-bfs\uima-ducc-duccdocs >> [INFO] Storing buildScmBranch: UNKNOWN_BRANCH >> >> Is the message "Storing buildNumber: null ..." expected? >> Is that last message re "UNKNOWN_BRANCH" expected? >> >> -Marshall >> > >
