Hi!
When i packaging my ejb or my components which is a .jar, Maven put all
together, .class and sources. What can i do to packaging only compiled
classes and not the sources *.java????
Here is my pom.xml configuration snippet:

...
<build>
    <sourceDirectory>src</sourceDirectory>
    <outputDirectory>target/classes</outputDirectory>
    <resources>
      <resource>
        <directory>src</directory>
      </resource>
    </resources>
    <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-compiler-plugin</artifactId>
       <configuration>
         <source>1.5</source>
         <target>1.5</target>
       </configuration>
     </plugin>
     ....
   </plugins>
 </build>
...


Any clue????

Regards,
Leo

Reply via email to