I should add org.apache.commons.io.FilenameUtils;
to intellij 10.
how can i add it to maven and use it in the code.I need to be able to use FilenameUtils
in my code.
i have already this : org.apache.commons
in maven.
import org.apache.commons.io.FilenameUtils;
In the Project tool window, right-click your project and select Add Framework Support. In the dialog that opens, select Maven from the options on the left and click OK. IntelliJ IDEA adds a default POM to the project and generates the standard Maven layout in Project tool window.
If you are asking for how to specify the dependency on Commons-IO in the pom.xml:
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.1</version>
</dependency>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With