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

1. Is there a way to tell maven where to place the artifacts?    stackoverflow.com

I am running both maven inside the m2eclipse plugin, windows command line and my cygwin command line. cygwin's bash shell dumps artifacts into the cygwin /home/me/.m2 directory but m2eclipse & windows shell (on ...

2. How to deliver properties files in addition to artifacts?    stackoverflow.com

I am using Maven2 to build a WAR project. Some properties files are dependent on the environment targeted for a release. I want to deliver, in addition of the WAR, a file called ...

3. How can I download sources for particular Maven artifact in IDEA?    stackoverflow.com

In Eclipse there is an opportunity to select a Maven artifact you have a dependency on and download sources or documentation only for it. Now I am ...

4. New Maven snapshots for already released artifacts    stackoverflow.com

Is there a good reason to continue deploying newer snapshots, if there's already a released artifact of the same version? Concretely: There's already xyz-1.0
There's projects continuing to have xyz-1.0-SNAPSHOT dependencies. It appears wrong ...

5. Debugging Maven's "The artifact has no valid ranges"    stackoverflow.com

We're using Maven at work at quite regularly we get the error message "The artifact has no valid ranges". After a long time of Googling and experimenting I realised what this ...

6. How can I download a specific Maven artifact in one command line?    stackoverflow.com

I can install an artifact by install:install-file, but how can I download then, for example:

mvn download:download-file -DgroupId=.. -DartifactId=.. -Dversion=LATEST
any idea?

7. Maven (EJB) project with client and server artifacts    stackoverflow.com

Here's my variation on the "multiple artifacts from Maven build" question: I'm porting from Ant to Maven. My application is an EJB server that is packaged as an EAR, but it also ...

8. Netbeans won't download Maven artifact    stackoverflow.com

I'm using Netbeans and I want to grab the latest hibernate artifact from the jboss maven repository. I have added the repository in netbeans, and I can navigate to it within the ...

9. How to unpack artifact and filter resources?    stackoverflow.com

I am finding a way how to copy any files to my web server using maven. I have a maven project which contains a sets of html, js, properties and configuration ...

10. Maven best practice for generating artifacts for multiple environments [prod, test, dev] with CI/Hudson support?    stackoverflow.com

I have a project that need to be deployed into multiple environments (prod, test, dev). The main differences mainly consist in configuration properties/files. My idea was to use profiles and overlays ...

11. Maven: Unofficial artifact naming scheme?    stackoverflow.com

I'm creating some Maven artifacts for various dependencies for our projects, and while I'm taking my best guess at group / artifact IDs, I'd like to add something to flag them ...

12. Get full name of an artifact in Maven    stackoverflow.com

I need to know the complete filename of a specific artifact in Maven. I looked at versions-maven-plugin but it seems to change the pom itself. Is there another way ...

13. Maven giving error Missing artifact    stackoverflow.com

I'm adding Google App Engine, Spring and Tiles2 to same project, for some reason Apache Maven gives this error.

Missing artifact org.apache.commons:com.springsource.org.apache.commons.collections:jar:3.2.1:compile
here is my pom.xml where i include dependency:
    ...

14. In IDEA, after adding a dependancy in maven, my artifact always show's the library needs to be 'fixed'    stackoverflow.com

So every time I add a dependancy to a library using maven in my pom.xml, it doesn't get deployed until I go to module settings and then click on 'fix'. This happend ...

15. Naming convention for Maven Artifacts    stackoverflow.com

We are currently trying to mavenize the existing projects in our company. We have executed a POC and are currently documenting our learnings and guidelines. I have come up the following ...

16. Make netbeans attach maven sources to artifacts    stackoverflow.com

I'm having some issues with a third party library that I'd like to step into. Netbeans provides a "Download Sources" option when the libraries node is right clicked. This downloads the ...

17. Using Maven, how can I assemble several modules into one artifact?    stackoverflow.com

We have a mother-ship project with several modules:

foo
+ foo-core
+ foo-resource
+ foo-util
+ foo-whatever
I want to allow developers to include the core, resource, and util modules as dependencies (excluding the -whatever module). ...

18. Maven artifact and groupId naming    stackoverflow.com

I'm currently in the process of moving some project from Ant to Maven. Conformist as I am, I want to use well-established conventions for finding groupId and artifactId, but I can't ...

19. Does licensing matter for Maven artifacts that are runtime or test scoped?    stackoverflow.com

My company is very concerned about entaglements that could result from the use of copy-left (e.g. GPL) code in our product. Because of this we have no compile scope Maven ...

20. Maven finalName Property Missing Artifact Extension    stackoverflow.com

I'm writing a Maven plugin that takes as a parameter the path to the .jar file built by the project. At the moment I'm using the following definition for my ...

21. Handling multiple artifacts from single maven project    stackoverflow.com

I have a maven project that produces many artifacts. Of course it is kind of against maven best practice (one pom one artifact), but it is Adobe Flex project that produces ...

22. Maven Artifact Search is always empty    stackoverflow.com

When using Alt-Insert to insert a dependency into the POM, the Artifact Search is always completely blank regardless of what I search for. I tried to add repo1 to Settings->Maven->Repository Services, ...

23. How to timestamp an output artifact in Maven?    stackoverflow.com

I am trying to find out if Maven has some built-in plug-in that can be used to time-stamp artifacts. I created an assembly file and am using the maven-assembly plugin to ...

24. How can i run maven tests against a previous deployed artifact of the same artifact?    stackoverflow.com

I have an artifact abc which has some tests. I have different versions of abc within my repository. I now want to be able to run the latest tests against the ...

25. What are the correct group and artifact id's for Java EE 5 and 6 artifacts?    stackoverflow.com

So far we have been manually downloading the jars and deploying to our maven repo with custom group/artifact id's. I would like to avoid that. So my question is

  1. What are ...

26. Using Aether to search a Maven repo for artifacts    stackoverflow.com

I would like to use Aether to search a Maven repository for specific artifacts, e.g. "All artifacts with groupIds starting with com.example.foo". The examples for dependency resolution provided in the

27. Maven: How to find artifacts which depend on another artifact    stackoverflow.com

Let us say, ArtifactA depends on ArtifactB and ArtifactC also depends on ArtifactB I understand that "mvn dependency plugin" can help list the dependencies of a project/artifact. But how about the reverse? If ...

28. Maven: How to check if an artifact exists?    stackoverflow.com

How do I check from within a Mojo if an artifact already exists in the local repository? I'm installing large binaries into the local Maven repository and I need to know if ...

29. Maven Unable to copy an artifact to the working directory    stackoverflow.com

i am using maven i don't have more knowledge about maven when i am install my project then it will successfully build but when i am test my project with ...

30. Using maven to create two artifacts with overlapping classes    stackoverflow.com

I have a maven pom that creates an artifact, let's call it everything.jar. I would like to copy a subset of the classes in everything.jar into another jar, let's call it mini.jar. What's ...

31. maven 3 Failed to read artifact descriptor for    stackoverflow.com

I upgrade to netbeans 7 which uses embeded maven 3. I have a project with lot of modules and modules containing other modules. My other submodules that don't depend on internal ...

32. Maven: download artifact and its deps to a specific directory    stackoverflow.com

I must be missing something. I have searched and searched, and played and tinkered, and I still can't figure out how to do the following with Maven: I would like to ...

33. How can I remove artifacts by Maven from the lib folder of the ear?    stackoverflow.com

How can I remove artifacts from the lib folder of the ear? For exemple: activation.jar. I was try follow the especification about Excluding a module (just change webModule for jarModule) ...

34. How to handle Maven missing artifact errors?    stackoverflow.com

I've just recently started doing Java development and I picked up Maven2 for dependency management and project task automation. One peculiar issue I've stumbled upon, that I haven't been able to fully ...

35. How to produce Multiple Maven Artifacts from one Source    stackoverflow.com

I understand that this is against maven best practices, but maybe my situation is one of the few exceptions from the rule - at least I'm stuck with thinking of alternatives ...

36. How to resolve local Artifacts in Maven 3?    stackoverflow.com

How do I resolve an artifact's path in the local repository in Maven 3? In Maven 2 you could use ArtifactResolver to populate an Artifact object with the relevant information, but ...

37. Maven modules - produce artifact with a mixture of sources from multiple modules    stackoverflow.com

We have a multi module maven project with the following layout project - common (contains DTOs and other utils) - business (containes business services) - presentation ...

38. how to assemble external artifacts into one global directory with the maven-assembly-plugin (or otherwise)    stackoverflow.com

I am experimenting with Maven and I am trying to mavenize a project originally build with shell scripts. With the Maven rule-of-thumb: one project, one artifact, I created the following structure:

<PROJECT>
  ...

39. Maven war artifact with car extension    stackoverflow.com

I am trying to use Maven to generate an artifact for deploying on Vignette Portal. The packaging is exactly the same as a war artifact but the file should have car ...

40. Where I can host my proprietary Maven artifacts?    stackoverflow.com

What are my options to host proprietary (non open-source) Maven artifacts online?

41. Having problem creating maven artifacts in solr on Windows 7    stackoverflow.com

I'm trying to build solr 4.0 snapshot in maven. Here are my steps:

  1. Check out solr in d:\workspace\solr
  2. download ant, unzip to d:\ant. set the ANT_HOME to d:\ant
  3. download maven-ant-tasks-2.1.3.jar (the latest version) to ...

42. Copy artifacts of each module in multi-module project to specific folder    stackoverflow.com

I have an pom structure:

project1
    |
    |______ pom.xml
    |______ module 1
    |        ...

43. How to include test code in maven artifact?    stackoverflow.com

I have following problem module core contains test utils which is resused in dependent modules. How to use this code in those modules? (maven dosen't include this code by convention, but how ...

44. Maven: how to copy artifact to specific directory?    stackoverflow.com

The "install" goal copies the artifact to the target directory and to the local repository. How can I tell Maven to copy it also to a given directory (like the deploy directory ...

45. What is an Artifact?    stackoverflow.com

Recently I came across with the term 'artifact' in related to maven build tool... Can someone please explain what it's meant by 'artifact' in software industry and specifically in maven.

46. maven-bundle-plugin: The defined artifact is not an archetype    stackoverflow.com

I configured the "maven-bundle-plugin" from Apache Felix as a Maven Archetype in Eclipse (since it was missing), but when I try to create a new Maven project with it, I get ...

47. required artifact is missing    stackoverflow.com

I am new to maven I am running the Parent POM.xml file for the first time . I am getting the BUILD FAILURE Error due to this : I have this inside my ...

48. Generate additional artifact while creating reports or in another phase?    stackoverflow.com

I understand that you can create only one artifact from one pom in maven. I wrote a javadoc doclet that creates an html report of my artifact (my-rest-api). This doclet can also ...

49. Maven : Could not transfer artifact Error code 401, Authorization Required    stackoverflow.com

I am using maven 2.2.1 and Eclipse Helios as IDE When i run mvn deploy from the command prompt , the deployment is successfull But when i use Eclipse Maven plug and tried ...

50. Comparision of local and remote maven release artifacts    stackoverflow.com

Is it possible to tune maven to compare checksums of local release artifacts with checksums of release artifacts from remote repository and update artifacts with mismatched checksum?

51. Could not transfer artifact maven-compiler-plugin from central    stackoverflow.com

I have just downloaded Eclipse Indigo and the m2e plugin, and this error shows up in the pom.xml of my project :

ArtifactResolutionException: 
  Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 
  from ...

52. Why does Maven create artifact checksums?    stackoverflow.com

Seeing as JAR files are a subset of ZIP files, and ZIP files include a checksum for all entries, why does Maven add an additional checksum on top?

53. axis2-wsdl2code-maven-plugin wsdl File in other Artifact    stackoverflow.com

Given Dependency A with WSDL File a.wsdl under src/main/resources/wsdl I'd like to include it in Dependency B which has a compile dependency to A to generate the Axis Classes with

 ...

54. Where are Maven artifacts for Liferay 6RC2 ?    liferay.com

Thanks for your reply. I also use this sonatype repo for 6.0.2-SNAPSHOT artifacts, but because the 6.0.2 is already released, I do not want to use old SNAPSHOTs anymore. It is much better to use a released version if a little more stable environment is needed. On the other hand, when I will need to use the latest snapshot, I would ...

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.