Questions tagged as 'maven'

1
answer

Error making Jar Build

I'm trying to build my first JAR using IntelliJ and Maven to manage the dependencies. I created the artifact and executed build , but when I run the program I get the following exception : Exception in thread "main" java.lang.Securi...
asked by 17.04.2014 / 19:48
1
answer

Include jar file in Maven project

How do I include a single .jar in a Maven project? Note: The jar I need to include has dependency on 3 other jar files. The jars in question are from the project Brunette Attempt # 1 I created a lib directory and put the jar...
asked by 02.07.2014 / 16:18
2
answers

How to add SQL Server dependency in Maven?

I'm trying to add the dependency of SQL Server on my POM but gives Missing Artifact . <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId> <v...
asked by 03.07.2015 / 22:14
2
answers

Add JNI Library Compilation with maven or ant tasks

I'm creating a Java project with native methods ( JNI ) without having to create three separate projects for this. My goal is to compile everything I need in one go. I use only one DLL / OS in this project generated by a single C file. How...
asked by 08.10.2014 / 19:07
2
answers

How to force the version of a maven plugin?

I have a maven project such that, at the time of running build , a plugin A runs. This plugin A depends on a B plugin that is pulled, which in turn depends on a C plugin. It turns out that this C plugin is in an X version that has an an...
asked by 19.12.2013 / 18:46
2
answers

How to solve the SLF4J fault in maven?

Problem with Maven install: When I run in eclipse Run As > Maven install I always get this message: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation...
asked by 18.02.2014 / 19:59
2
answers

Project Maven + Spring MVC + JSP, how to share view files?

I'm trying to fit a file structure to get a big project, an ERP to be more accurate. Today, there is a good deal of it made in PHP in a messy way. Let's take Java Web (Maven + Spring MVC + JSP + Hibernate) to create the next modules and in the f...
asked by 03.07.2014 / 18:37
1
answer

How to create an application from a Maven file?

I was working with EJB and dealing with four simple Maven projects, a web project, a desktop (JSE Swing), a project (JSE) that had only the interface and lastly a web project (which I called Core ) that implemented this penultimate project that...
asked by 22.12.2015 / 17:09
1
answer

How to unify two CSS files

I'm doing a Spring MVC 4.2 project. In this project I have more than one CSS file and more than one JS . What I want is to make all CSSs files into a single ALL.css and that this file is minify . What I have been working on...
asked by 23.12.2015 / 00:03
3
answers

Reduce jar size in Maven Project

I am generating a jar from a Maven project and the size is absurdly high. What steps can I take to reduce the size of this jar?     
asked by 18.05.2016 / 14:23