Issue Details (XML | Word | Printable)

Key: SHALE-179
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Wendy Smoak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

Convert the Shale build to Maven 2

Created: 22/May/06 05:16 AM   Updated: 21/Aug/06 11:28 PM
Return to search
Component/s: Clay, Core, Documentation, Examples, Remoting, Test, Tiger, Website
Affects Version/s: None
Fix Version/s: 1.0.3


 Description  « Hide
Convert the Shale project structure and build to Maven 2.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Wendy Smoak added a comment - 28/May/06 09:44 AM
Initial work on the conversion is happening in the test repo:

  svn co http://svn.apache.org/repos/test/struts/struts-shale/trunk/ test-repo/shale

See the README file for more information:
   http://svn.apache.org/repos/test/struts/struts-shale/trunk/README.txt

Wendy Smoak added a comment - 12/Jun/06 02:07 AM
After starting in the test repo, the effort moved to a branch in the Struts svn repository:

  svn co http://svn.apache.org/repos/asf/struts/shale/branches/mvn_reorg/

Remaining tasks include:
 * Complete the 'dist' assembly descriptor so it includes all source code and website docs
 * Decide how to distribute the sample webapps
 * Update any website docs that refer to building with Ant
 * Write wiki docs on building and releasing with Maven 2

Craig McClanahan added a comment - 12/Jun/06 09:41 PM
I like the simplicity of the new -Pjsf=ri approach. However, if you execute "mvn clean install -Pjsf=ri" from the top level module, the example apps still get packaged with the MyFaces API and IMPL jar files. Prior to r413650, the old -Pjsfri profile did indeed package the correct jar files.

Wendy Smoak added a comment - 12/Jun/06 09:54 PM
Use -Djsf=ri (not -P -- it's a system property, not a profile id.)

I'll add a property to each of the other profiles so we don't have to remember it's -Pdesigntime but -Djsf=ri.


Wendy Smoak added a comment - 23/Jul/06 09:33 PM
Reported by Stephan Opitz on the user list:
 * http://www.mail-archive.com/user%40shale.apache.org/msg00120.html

Caused by: java.util.MissingResourceException: Can't find bundle for
base name org.apache.shale.tiles.Bundle, locale de_DE
      at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)

Resolved by Gary in r424820
 * http://svn.apache.org/viewvc?rev=424820&view=rev



Wendy Smoak added a comment - 31/Jul/06 02:17 PM
The Maven 2 build seems to be complete, so I'm going to resolve this.

Commits can still refer to this issue number if anything else needs to be done.