jar « artifact « Maven/Ant Q&A

Home
Maven/Ant Q&A
1.Ant
2.artifact
3.dependency
4.deploy
5.Development
6.eclipse
7.glassfish
8.hudson
9.integration
10.jetty
11.junit
12.m2eclipse
13.module
14.netbeans
15.package
16.plugin
17.POM
18.repository
19.svn
Maven/Ant Q&A » artifact » jar 

1. Best way to create a maven artifact from existing jar    stackoverflow.com

I'm mavenizing some projects. These projects all depend on a number of libraries, most of them are available in the maven repo. For the other libraries, I'd like to create a maven artifact, ...

2. Controlling maven final name of jar artifact    stackoverflow.com

I'm trying to define a property in our super pom which will be used by all child projects as the destination of the generated artifact. For this I was thinking about using ...

3. Maven - Failed to resolve artifact - cglib:cglib-nodep:jar:null    stackoverflow.com

I'm trying to build a large project and failing with the following error:

[INFO] ------------------------------------------------------------------------
[INFO] Building Utilities
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1255 actually) to copy filtered ...

4. Maven artifact jboss-as-client broken (trove:trove:jar:2.1.1)    stackoverflow.com

I have serious problems on a new computer setting up my existing maven project. Eclipse complains dozens of times about missing artifacts:

Missing artifact junit:junit:jar:4.8.2:test
Missing artifact org.slf4j:slf4j-log4j12:jar:1.5.5:compile
Missing artifact org.slf4j:slf4j-api:jar:1.5.5:compile
Missing artifact log4j:log4j:jar:1.2.14:compile
...
While downloading ...

5. maven build with war and jar pushing odd artifacts to internal repo    stackoverflow.com

I have a maven project where I am building a war file, but I am also using the maven-jar-plugin to build a jar in the same project. --DISCLAIMER-- I know this is not ...

6. Besides the main artifact jar, generate another jar with some dependencies, not all, for distribution outside Maven    stackoverflow.com

I understand that users using Maven should not care about dependencies as Maven will download them as specified in the pom. However I want to distribute another jar to non-maven users. ...

7. How to instruct Maven 3.0.3 to extract only common jar file into newly generated artifact?    stackoverflow.com

I'm using Maven 3.0.3 and trying to achieve the following: project-a (this is my parent POM)-->assembly pom-->dev/test/qa/prod POMs which generating zip files (one per environment). I do have quite a few ...

8. Compiling a maven project with class from external jar file (that is not in a maven artifact)    stackoverflow.com

I'm somewhat new to java, and very new to maven. I might use some terminology imperfectly. As I develop my project that I'm using use maven to build, as I've needed ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.