install « 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 » install 

1. How to manually install an artifact in Maven 2?    stackoverflow.com

I've encountered some errors when I tried to install an artifact manually with Maven 2. I wanted to install a jar from a local directory with the command

mvn install:install-file -Dfile=jta-1.0.1B.jar
But Maven ...

2. Is it possible to explicity tell maven to download and install an artifact to the local repository?    stackoverflow.com

Yes I read http://stackoverflow.com/questions/884808/ and other related questions, but I don't want to install the file manually. Actually I want to have something like a wget for maven, which fetches ...

3. How to install Maven artifact with sources from command line?    stackoverflow.com

How to install Maven artifact with sources? so later I don't need to open a project in eclipse to see some code. EDIT: I do know I can add to pom.xml this code

<plugin>
  ...

4. maven project property for installation directory of generated artifact    stackoverflow.com

I have a maven project that generates a jar file, and i want to be able to execute that jar after it has been installed in my local maven repo. ...

5. How shoud i install missing artifacts in a maven project    stackoverflow.com

I am getting the following error, upon running mvn clean install

Missing:
----------
1) org.apache.maven.shared:maven-invoker:jar:2.0.6

  Try downloading the file manually from the project website.

  Then, install it using the command: 
 ...

6. Install artifact to a specific remote Maven repositories    stackoverflow.com

I have an FTP where I would like to have my personal Maven repository, I would like my artifacts to be installed to that remote folder, how can achieve that? Thanks, Adam.

7. Failed to execute goal ... maven-install-plugin ... Failed to install artifact ... (Access is denied)    stackoverflow.com

I often getting the following error when compiling a maven project with NetBeans: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project xxx: Failed to install artifact yyyy: C:\...\.m2\repository\...\yyyy-1.0.0.jar (Access is denied) -> ...

8. Redeploy locally installed artifact to a remote repository    stackoverflow.com

I have a Maven artifact (javax.activation as it happens) that I installed manually in my local repository some time in the past. I don't remember where it came from, but ...

9. Command line Install-file artifact not visible in Eclipse Sonatype Maven plugin "Add Dependency" suggestion box    stackoverflow.com

Background: I have a jar that I installed via mvn install:install-file into the local repo. After I installed the jar (ojdbc-5.jar), I tried to add dependency via the autocomplete on ...

10. How do I install a test-jar in maven?    stackoverflow.com

I have a test-jar which I would like to install. I am not sure if there is a different way to install test-jars, such as defining a property that tells maven ...

11. Install an artifact without publishing dependencies    stackoverflow.com

We use maven to build Flex SWF applications. These SWF artifacts have a couple of dependencies to Flex SWC libraries, but the compiled artifacts have everything they need compiled in. Now, ...

12. Missing Maven2 artifacts in fresh Eclipse install    stackoverflow.com

I've just installed a fresh copy of SpringSource Toolsuite 2.7.1 and tried to Import a working project from SVN, when I try to build it I obtain the following errors:

31/07/11 17:15:04 ...

13. Maven 2: Only build artifact if not already installed in local repository    stackoverflow.com

How can I achieve in Maven that when executing "mvn install" from the command line will automatically decide to build the artifact (jar/war) only if that artifact has not already been ...

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.