Commits

Micha Kops committed 6ff8e6f

pom cleanup

Comments (0)

Files changed (2)

 			<scope>test</scope>
 		</dependency>
 	</dependencies>
-	
-	 <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-war-plugin</artifactId>
-                <configuration>
-                    <source>1.6</source>
-                    <target>1.6</target>
-                    <warSourceDirectory>src/main/webapp</warSourceDirectory>
-                    <webResources>
-                        <resource>
-                            <directory>src/main/webapp</directory>
-                        </resource>
-                    </webResources>
-                    <archive>
-                        <manifest>
-                            <addClasspath>true</addClasspath>
-                        </manifest>
-                    </archive>
-                </configuration>
-            </plugin>
-        </plugins>
-        <sourceDirectory>src/main/webapp</sourceDirectory>
-    </build>
 </project>

src/main/java/com/hascode/tutorial/jee/BookControllerBean.java

 import javax.faces.bean.RequestScoped;
 import javax.inject.Inject;
 
+@ManagedBean(name = "bookControllerBean")
 @RequestScoped
-@ManagedBean(name = "bookControllerBean")
 public class BookControllerBean {
 	@Inject
 	private BookEJB bookEJB;