Skip to content

Instantly share code, notes, and snippets.

@mpellegrini
Created March 25, 2014 12:27
Show Gist options
  • Save mpellegrini/9760853 to your computer and use it in GitHub Desktop.
Save mpellegrini/9760853 to your computer and use it in GitHub Desktop.
Empty beans.xml marker resource for CDI support
<!--
For WAR files, use WEB-INF/beans.xml. In a Maven WAR module, this will be src/main/webapp/WEB-INF/beans.xml.
For EJB-JAR files or ordinary JAR files, use META-INF/beans.xml. In a Maven module, this will be src/main/resources/META-INF/beans.xml.
-->
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment