Last modified by Ulrich Köster on 2009/08/02 20:26

From version 14.1
edited by Henrique Prange
on 2008/06/27 20:08
Change comment: There is no comment for this version
To version 18.1
edited by Greg.Brown
on 2009/08/02 13:30
Change comment: bug alert panel

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.hprange
1 +XWiki.gbrown
Content
... ... @@ -33,6 +33,8 @@
33 33  
34 34  <build>
35 35   ...
36 + <plugins>
37 + ...
36 36   <plugin>
37 37   <artifactId>maven-war-plugin</artifactId>
38 38   <configuration>
... ... @@ -40,6 +40,8 @@
40 40   </configuration>
41 41   </plugin>
42 42   ...
45 + </plugins>
46 + ...
43 43  </build>
44 44  
45 45  {{/noformat}}
... ... @@ -84,6 +84,38 @@
84 84  
85 85  It's done.
86 86  
91 +{{panel title="2009 Bug Warning" borderStyle="dashed" borderColor="#ccc" titleBGColor="#F7D6C1" bgColor="#FFFFCE"}}
92 +
93 +It should be done, but...
94 +The 2.0.17 archetype does not add :
95 +{noformat}
96 + <resource>
97 + <targetPath>Resources</targetPath>
98 + <directory>${basedir}/src/main/components</directory>
99 + </resource>
100 +{noformat}
101 +to the pom.xml file, so your war will have no components; you should add these lines.
102 +
103 +Also, it does not add a necessary WebObjects 5.3 dependency:
104 +{noformat}
105 + <dependency>
106 + <groupId>${webobjects.groupId}</groupId>
107 + <artifactId>JavaWOJSPServlet_client
108 + </artifactId>
109 + <version>${webobjects.version}</version>
110 + </dependency>
111 +
112 +{noformat}
113 +So, you may need to add that.
114 +
115 +In addition, the archetype generated Info.plist needs fixing, as does the web.xml in the WEB-INF folder. There are values in these files like $\{project.artifactId\}, but for now, you must manually replace those values with actual values, e.g, MyProject.
116 +
117 +These probably will be fixed in the next release of plugins, but for now, watch this space, as there may be additional
118 +bugs posted here.
119 +
120 +
121 +{{/panel}}
122 +
87 87  = Running your application as true WAR =
88 88  
89 89  You can use the [[maven-jetty-plugin>>http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin]] to run and test your application.