You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2006/03/12 15:44:13 UTC

DO NOT REPLY [Bug 38940] New: - [action] Unable to run 'maven dist' from source distribution

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38940>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38940

           Summary: [action] Unable to run 'maven dist' from source
                    distribution
           Product: Struts
           Version: 1.3.1
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Action
        AssignedTo: dev@struts.apache.org
        ReportedBy: wsmoak@apache.org


Files are missing (or out of place) in the source distribution, which causes
'maven dist' to fail when creating the Checkstyle report for the site.

To reproduce, extract the contents of struts-action-1.3.1-src.zip, then:

$ maven dist
...
site:run-reports:
    [echo] Generating the Checkstyle...
checkstyle:init:

checkstyle:report:
    [echo]
      =================================================================
      =                          W A R N I N G                        =
      =================================================================
      =  Your project doesn't contain a header file specified as:     =
      =  c:\temp\struts-action-1.3.1/build/LICENSE.txt
      =  Checkstyle needs it to check the existence of the License in =
      =  your source files. If it can't find this file, it throws an  =
      =  error.                                                       =
      =  A temporary solution is to create an empty LICENSE.txt file. =
      =  Though, we recommend that you edit this License.             =
      =================================================================

checkstyle:run:
    [echo] Using file:c:/temp/struts-action-1.3.1/build/struts_checks.xml for ch
eckstyle ...

BUILD FAILED
File...... c:\java\m1-repository\cache\maven-checkstyle-plugin-2.5\plugin.jelly
Element... ant:checkstyle
Line...... 144
Column.... 63
Unable to create a Checker: cannot initialize module TreeWalker - Cannot set pro
perty 'headerFile' in module RegexpHeader to 'c:\temp\struts-action-1.3.1/build/
LICENSE.CheckStyle': unable to load header file c:\temp\struts-action-1.3.1/buil
d/LICENSE.CheckStyle
Total time: 10 seconds
Finished at: Sun Mar 12 07:38:16 MST 2006

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


DO NOT REPLY [Bug 38940] - [action] Unable to run 'maven dist' from source distribution

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38940>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38940


niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From niallp@apache.org  2006-03-13 01:06 -------
I fixed this and also added the NOTICE.txt, which is picked up from the build 
dir when generating the distros.

 http://svn.apache.org/viewcvs?rev=385398&view=rev


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org