i am new in maven and I am using
archetype: org.codehaus.mojo.archtypes ear-jee5
for creating ear. But there is something wrong because it generates only one application.xml and others in target/<project> and target/<project>/META-INF are not generated.
So I make a workaround about it with shell script.
But there must be a better solution direct from maven.
Could you help maven beginner. (I am not set anything about build target in pom.xml yet.)
The one in the target/<project>/META-INF directory should appear only after you build the project. In general, the target directory is empty (or does not exist) before the build. Also, a "mvn clean" will remove the target directory. Thus everything you need to build the project should appear somewhere under src, and the stuff that gets built will appear under target.