I translated Ant script into Maven 2 and I have this problem: Ant script uses a pretty simple java class to encrypt files this way:
<target name="encrypt">
<java classname="DESEncrypter">
<classpath>
<pathelement path="...classpath for this thing..." />
</classpath>
<arg line="fileToEncrypt.properties fileEncrypted.properties" />
</java>
</target>
This DESEncrypteris a compiled class, the source of which is not a project, which I am converting, but is used similarly in other projects. Maybe I need to create a maven plugin for reuse, but I don't want to do it now. My question is: in which directory do I put the class DESEncrypterand how to call it? Using exec: java plugin maybe? I do not think encrypter belongs to directories src, testor resources.
Obviously, I don't want to include the encrypter class in the final product, just encrypted files.