You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jason Pyeron <jp...@pdinc.us> on 2011/08/09 07:19:42 UTC

Where to hook into to install dependencies prior to build

I do not know if I posted enough detail, if there are details missing, please le
me know and I will post it.

I know this is not how it should be done, but I have external requirements at
the moment. The question is how could maven be configured to pull in the most
recent non-maven managed dependency as part of a single build command: mvn
package?

Note the failure here:

$ mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for
com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT is missing, no
dependency information available
[WARNING] The POM for
com.carefirst.fep.local.datatier:fepl-orm-persistence-defaultconfig:jar:1.0-SNAP
SHOT is missing, no dependency information available
[WARNING] The POM for
com.carefirst.fep.local.datatier:fepl-orm-core:jar:1.0-SNAPSHOT is missing, no
dependency information available
[WARNING] The POM for
com.carefirst.fep.local.datatier:fepl-orm-claim:jar:1.0-SNAPSHOT is missing, no
dependency information available
[WARNING] The POM for
com.carefirst.fep.local.datatier:fepl-orm-refdata:jar:1.0-SNAPSHOT is missing,
no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.062s
[INFO] Finished at: Tue Aug 09 01:12:26 EDT 2011
[INFO] Final Memory: 5M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fepl5010webServices: Could not resolve
dependencies for project
com.carefirst.fep.local.webservices:fepl5010webServices:war:1.0-SNAPSHOT: The
following artifacts could not be resolved:
com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT,
com.carefirst.fep.local.datatier:fepl-orm-persistence-defaultconfig:jar:1.0-SNAP
SHOT, com.carefirst.fep.local.datatier:fepl-orm-core:jar:1.0-SNAPSHOT,
com.carefirst.fep.local.datatier:fepl-orm-claim:jar:1.0-SNAPSHOT,
com.carefirst.fep.local.datatier:fepl-orm-refdata:jar:1.0-SNAPSHOT: Could not
find artifact com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException


But, run the same only upto the validate phase...


$ mvn validate
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (fepl-commons.jar) @
fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-commons.jar to C:\Documents
and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\commons
\fepl-commons\1.0-SNAPSHOT\fepl-commons-1.0-SNAPSHOT.jar
[INFO] Installing C:\cygwin\tmp\mvninstall4706321913072696756.pom to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\commons
\fepl-commons\1.0-SNAPSHOT\fepl-commons-1.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file
(fepl-orm-persistence-defaultconfig.jar) @ fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-orm-persistence-defaultconf
ig.jar to C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-persistence-defaultconfig\1.0-SNAPSHOT\fepl-orm-persistence-defaultco
nfig-1.0-SNAPSHOT.jar
[INFO] Installing C:\cygwin\tmp\mvninstall4508066304432652487.pom to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-persistence-defaultconfig\1.0-SNAPSHOT\fepl-orm-persistence-defaultco
nfig-1.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-core.jar) @
fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-orm-core.jar to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-core\1.0-SNAPSHOT\fepl-orm-core-1.0-SNAPSHOT.jar
[INFO] Installing C:\cygwin\tmp\mvninstall7943258661633420073.pom to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-core\1.0-SNAPSHOT\fepl-orm-core-1.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-claim.jar) @
fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-orm-claim.jar to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-claim\1.0-SNAPSHOT\fepl-orm-claim-1.0-SNAPSHOT.jar
[INFO] Installing C:\cygwin\tmp\mvninstall9099350508583839855.pom to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-claim\1.0-SNAPSHOT\fepl-orm-claim-1.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-refdata.jar) @
fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-orm-refdata.jar to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-refdata\1.0-SNAPSHOT\fepl-orm-refdata-1.0-SNAPSHOT.jar
[INFO] Installing C:\cygwin\tmp\mvninstall1402645546398244147.pom to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-refdata\1.0-SNAPSHOT\fepl-orm-refdata-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.015s
[INFO] Finished at: Tue Aug 09 01:13:08 EDT 2011
[INFO] Final Memory: 3M/121M
[INFO] ------------------------------------------------------------------------

And then run again:

$ mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (fepl-commons.jar) @
fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-commons.jar to C:\Documents
and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\commons
\fepl-commons\1.0-SNAPSHOT\fepl-commons-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file
(fepl-orm-persistence-defaultconfig.jar) @ fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-orm-persistence-defaultconf
ig.jar to C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-persistence-defaultconfig\1.0-SNAPSHOT\fepl-orm-persistence-defaultco
nfig-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-core.jar) @
fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-orm-core.jar to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-core\1.0-SNAPSHOT\fepl-orm-core-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-claim.jar) @
fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-orm-claim.jar to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-claim\1.0-SNAPSHOT\fepl-orm-claim-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-refdata.jar) @
fepl5010webServices ---
[INFO] Installing C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\..\build\fepl-orm-refdata.jar to
C:\Documents and Settings\All
Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
r\fepl-orm-refdata\1.0-SNAPSHOT\fepl-orm-refdata-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-dependency-plugin:2.3:properties (default) @
fepl5010webServices ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
fepl5010webServices ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
fepl5010webServices ---
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.672s
[INFO] Finished at: Tue Aug 09 01:15:40 EDT 2011
[INFO] Final Memory: 8M/153M
[INFO] ------------------------------------------------------------------------


>From the pom:

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-install-plugin</artifactId>
				<version>2.3.1</version>
				<inherited>false</inherited>
				<executions>
					<execution>
						<id>fepl-commons.jar</id>
						<goals>
	
<goal>install-file</goal>
						</goals>
						<phase>validate</phase>
						<configuration>
	
<file>${project.basedir}/../build/fepl-commons.jar</file>
	
<groupId>com.carefirst.fep.local.commons</groupId>
	
<artifactId>fepl-commons</artifactId>
	
<version>1.0-SNAPSHOT</version>
	
<packaging>jar</packaging>
						</configuration>
					</execution>
					<execution>
	
<id>fepl-orm-persistence-defaultconfig.jar</id>
						<goals>
	
<goal>install-file</goal>
						</goals>
						<phase>validate</phase>
						<configuration>
	
<file>${project.basedir}/../build/fepl-orm-persistence-defaultconfig.jar</file>
	
<groupId>com.carefirst.fep.local.datatier</groupId>
	
<artifactId>fepl-orm-persistence-defaultconfig</artifactId>
	
<version>1.0-SNAPSHOT</version>
	
<packaging>jar</packaging>
						</configuration>
					</execution>

					<execution>
						<id>fepl-orm-core.jar</id>
						<goals>
	
<goal>install-file</goal>
						</goals>
						<phase>validate</phase>
						<configuration>
	
<file>${project.basedir}/../build/fepl-orm-core.jar</file>
	
<groupId>com.carefirst.fep.local.datatier</groupId>
	
<artifactId>fepl-orm-core</artifactId>
	
<version>1.0-SNAPSHOT</version>
	
<packaging>jar</packaging>
						</configuration>
					</execution>

					<execution>
						<id>fepl-orm-claim.jar</id>
						<goals>
	
<goal>install-file</goal>
						</goals>
						<phase>validate</phase>
						<configuration>
	
<file>${project.basedir}/../build/fepl-orm-claim.jar</file>
	
<groupId>com.carefirst.fep.local.datatier</groupId>
	
<artifactId>fepl-orm-claim</artifactId>
	
<version>1.0-SNAPSHOT</version>
	
<packaging>jar</packaging>
						</configuration>
					</execution>

					<execution>
						<id>fepl-orm-refdata.jar</id>
						<goals>
	
<goal>install-file</goal>
						</goals>
						<phase>validate</phase>
						<configuration>
	
<file>${project.basedir}/../build/fepl-orm-refdata.jar</file>
	
<groupId>com.carefirst.fep.local.datatier</groupId>
	
<artifactId>fepl-orm-refdata</artifactId>
	
<version>1.0-SNAPSHOT</version>
	
<packaging>jar</packaging>
						</configuration>
					</execution>

				</executions>
			</plugin>


....


		<dependency>
			<groupId>com.carefirst.fep.local.commons</groupId>
			<artifactId>fepl-commons</artifactId>
			<version>1.0-SNAPSHOT</version>
			<!-- <scope>system</scope>
	
<systemPath>${project.basedir}/../build/fepl-commons.jar</systemPath> -->
		</dependency>

		<dependency>
			<groupId>com.carefirst.fep.local.datatier</groupId>
	
<artifactId>fepl-orm-persistence-defaultconfig</artifactId>
			<version>1.0-SNAPSHOT</version>
			<!-- <scope>system</scope>
	
<systemPath>${project.basedir}/../build/fepl-orm-persistence-defaultconfig.jar</
systemPath> -->
		</dependency>

		<dependency>
			<groupId>com.carefirst.fep.local.datatier</groupId>
			<artifactId>fepl-orm-core</artifactId>
			<version>1.0-SNAPSHOT</version>
			<!-- <scope>system</scope>
	
<systemPath>${project.basedir}/../build/fepl-orm-core.jar</systemPath> -->
		</dependency>

		<dependency>
			<groupId>com.carefirst.fep.local.datatier</groupId>
			<artifactId>fepl-orm-claim</artifactId>
			<version>1.0-SNAPSHOT</version>
			<!-- <scope>system</scope>
	
<systemPath>${project.basedir}/../build/fepl-orm-claim.jar</systemPath> -->
		</dependency>

		<dependency>
			<groupId>com.carefirst.fep.local.datatier</groupId>
			<artifactId>fepl-orm-refdata</artifactId>
			<version>1.0-SNAPSHOT</version>
			<!-- <scope>system</scope>
	
<systemPath>${project.basedir}/../build/fepl-orm-refdata.jar</systemPath> -->
		</dependency>



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Where to hook into to install dependencies prior to build

Posted by Ron Wheeler <rw...@artifact-software.com>.
On 09/08/2011 1:19 AM, Jason Pyeron wrote:
> I do not know if I posted enough detail, if there are details missing, please le
> me know and I will post it.
>
> I know this is not how it should be done, but I have external requirements at
> the moment. The question is how could maven be configured to pull in the most
> recent non-maven managed dependency as part of a single build command: mvn
> package?
You can deploy non-maven artifacts to your Maven Repo (Nexus or other) 
and then use them as you want.
In Nexus this is done though the upload command.

Ron
> Note the failure here:
>
> $ mvn compile
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for
> com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT is missing, no
> dependency information available
> [WARNING] The POM for
> com.carefirst.fep.local.datatier:fepl-orm-persistence-defaultconfig:jar:1.0-SNAP
> SHOT is missing, no dependency information available
> [WARNING] The POM for
> com.carefirst.fep.local.datatier:fepl-orm-core:jar:1.0-SNAPSHOT is missing, no
> dependency information available
> [WARNING] The POM for
> com.carefirst.fep.local.datatier:fepl-orm-claim:jar:1.0-SNAPSHOT is missing, no
> dependency information available
> [WARNING] The POM for
> com.carefirst.fep.local.datatier:fepl-orm-refdata:jar:1.0-SNAPSHOT is missing,
> no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.062s
> [INFO] Finished at: Tue Aug 09 01:12:26 EDT 2011
> [INFO] Final Memory: 5M/121M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project fepl5010webServices: Could not resolve
> dependencies for project
> com.carefirst.fep.local.webservices:fepl5010webServices:war:1.0-SNAPSHOT: The
> following artifacts could not be resolved:
> com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT,
> com.carefirst.fep.local.datatier:fepl-orm-persistence-defaultconfig:jar:1.0-SNAP
> SHOT, com.carefirst.fep.local.datatier:fepl-orm-core:jar:1.0-SNAPSHOT,
> com.carefirst.fep.local.datatier:fepl-orm-claim:jar:1.0-SNAPSHOT,
> com.carefirst.fep.local.datatier:fepl-orm-refdata:jar:1.0-SNAPSHOT: Could not
> find artifact com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT ->
> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>
>
> But, run the same only upto the validate phase...
>
>
> $ mvn validate
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-commons.jar) @
> fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-commons.jar to C:\Documents
> and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\commons
> \fepl-commons\1.0-SNAPSHOT\fepl-commons-1.0-SNAPSHOT.jar
> [INFO] Installing C:\cygwin\tmp\mvninstall4706321913072696756.pom to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\commons
> \fepl-commons\1.0-SNAPSHOT\fepl-commons-1.0-SNAPSHOT.pom
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file
> (fepl-orm-persistence-defaultconfig.jar) @ fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-orm-persistence-defaultconf
> ig.jar to C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-persistence-defaultconfig\1.0-SNAPSHOT\fepl-orm-persistence-defaultco
> nfig-1.0-SNAPSHOT.jar
> [INFO] Installing C:\cygwin\tmp\mvninstall4508066304432652487.pom to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-persistence-defaultconfig\1.0-SNAPSHOT\fepl-orm-persistence-defaultco
> nfig-1.0-SNAPSHOT.pom
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-core.jar) @
> fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-orm-core.jar to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-core\1.0-SNAPSHOT\fepl-orm-core-1.0-SNAPSHOT.jar
> [INFO] Installing C:\cygwin\tmp\mvninstall7943258661633420073.pom to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-core\1.0-SNAPSHOT\fepl-orm-core-1.0-SNAPSHOT.pom
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-claim.jar) @
> fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-orm-claim.jar to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-claim\1.0-SNAPSHOT\fepl-orm-claim-1.0-SNAPSHOT.jar
> [INFO] Installing C:\cygwin\tmp\mvninstall9099350508583839855.pom to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-claim\1.0-SNAPSHOT\fepl-orm-claim-1.0-SNAPSHOT.pom
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-refdata.jar) @
> fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-orm-refdata.jar to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-refdata\1.0-SNAPSHOT\fepl-orm-refdata-1.0-SNAPSHOT.jar
> [INFO] Installing C:\cygwin\tmp\mvninstall1402645546398244147.pom to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-refdata\1.0-SNAPSHOT\fepl-orm-refdata-1.0-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.015s
> [INFO] Finished at: Tue Aug 09 01:13:08 EDT 2011
> [INFO] Final Memory: 3M/121M
> [INFO] ------------------------------------------------------------------------
>
> And then run again:
>
> $ mvn compile
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-commons.jar) @
> fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-commons.jar to C:\Documents
> and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\commons
> \fepl-commons\1.0-SNAPSHOT\fepl-commons-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file
> (fepl-orm-persistence-defaultconfig.jar) @ fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-orm-persistence-defaultconf
> ig.jar to C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-persistence-defaultconfig\1.0-SNAPSHOT\fepl-orm-persistence-defaultco
> nfig-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-core.jar) @
> fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-orm-core.jar to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-core\1.0-SNAPSHOT\fepl-orm-core-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-claim.jar) @
> fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-orm-claim.jar to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-claim\1.0-SNAPSHOT\fepl-orm-claim-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-refdata.jar) @
> fepl5010webServices ---
> [INFO] Installing C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\..\build\fepl-orm-refdata.jar to
> C:\Documents and Settings\All
> Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie
> r\fepl-orm-refdata\1.0-SNAPSHOT\fepl-orm-refdata-1.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-dependency-plugin:2.3:properties (default) @
> fepl5010webServices ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
> fepl5010webServices ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> fepl5010webServices ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.672s
> [INFO] Finished at: Tue Aug 09 01:15:40 EDT 2011
> [INFO] Final Memory: 8M/153M
> [INFO] ------------------------------------------------------------------------
>
>
> > From the pom:
>
> 			<plugin>
> 				<groupId>org.apache.maven.plugins</groupId>
> 				<artifactId>maven-install-plugin</artifactId>
> 				<version>2.3.1</version>
> 				<inherited>false</inherited>
> 				<executions>
> 					<execution>
> 						<id>fepl-commons.jar</id>
> 						<goals>
> 	
> <goal>install-file</goal>
> 						</goals>
> 						<phase>validate</phase>
> 						<configuration>
> 	
> <file>${project.basedir}/../build/fepl-commons.jar</file>
> 	
> <groupId>com.carefirst.fep.local.commons</groupId>
> 	
> <artifactId>fepl-commons</artifactId>
> 	
> <version>1.0-SNAPSHOT</version>
> 	
> <packaging>jar</packaging>
> 						</configuration>
> 					</execution>
> 					<execution>
> 	
> <id>fepl-orm-persistence-defaultconfig.jar</id>
> 						<goals>
> 	
> <goal>install-file</goal>
> 						</goals>
> 						<phase>validate</phase>
> 						<configuration>
> 	
> <file>${project.basedir}/../build/fepl-orm-persistence-defaultconfig.jar</file>
> 	
> <groupId>com.carefirst.fep.local.datatier</groupId>
> 	
> <artifactId>fepl-orm-persistence-defaultconfig</artifactId>
> 	
> <version>1.0-SNAPSHOT</version>
> 	
> <packaging>jar</packaging>
> 						</configuration>
> 					</execution>
>
> 					<execution>
> 						<id>fepl-orm-core.jar</id>
> 						<goals>
> 	
> <goal>install-file</goal>
> 						</goals>
> 						<phase>validate</phase>
> 						<configuration>
> 	
> <file>${project.basedir}/../build/fepl-orm-core.jar</file>
> 	
> <groupId>com.carefirst.fep.local.datatier</groupId>
> 	
> <artifactId>fepl-orm-core</artifactId>
> 	
> <version>1.0-SNAPSHOT</version>
> 	
> <packaging>jar</packaging>
> 						</configuration>
> 					</execution>
>
> 					<execution>
> 						<id>fepl-orm-claim.jar</id>
> 						<goals>
> 	
> <goal>install-file</goal>
> 						</goals>
> 						<phase>validate</phase>
> 						<configuration>
> 	
> <file>${project.basedir}/../build/fepl-orm-claim.jar</file>
> 	
> <groupId>com.carefirst.fep.local.datatier</groupId>
> 	
> <artifactId>fepl-orm-claim</artifactId>
> 	
> <version>1.0-SNAPSHOT</version>
> 	
> <packaging>jar</packaging>
> 						</configuration>
> 					</execution>
>
> 					<execution>
> 						<id>fepl-orm-refdata.jar</id>
> 						<goals>
> 	
> <goal>install-file</goal>
> 						</goals>
> 						<phase>validate</phase>
> 						<configuration>
> 	
> <file>${project.basedir}/../build/fepl-orm-refdata.jar</file>
> 	
> <groupId>com.carefirst.fep.local.datatier</groupId>
> 	
> <artifactId>fepl-orm-refdata</artifactId>
> 	
> <version>1.0-SNAPSHOT</version>
> 	
> <packaging>jar</packaging>
> 						</configuration>
> 					</execution>
>
> 				</executions>
> 			</plugin>
>
>
> ....
>
>
> 		<dependency>
> 			<groupId>com.carefirst.fep.local.commons</groupId>
> 			<artifactId>fepl-commons</artifactId>
> 			<version>1.0-SNAPSHOT</version>
> 			<!--<scope>system</scope>
> 	
> <systemPath>${project.basedir}/../build/fepl-commons.jar</systemPath>  -->
> 		</dependency>
>
> 		<dependency>
> 			<groupId>com.carefirst.fep.local.datatier</groupId>
> 	
> <artifactId>fepl-orm-persistence-defaultconfig</artifactId>
> 			<version>1.0-SNAPSHOT</version>
> 			<!--<scope>system</scope>
> 	
> <systemPath>${project.basedir}/../build/fepl-orm-persistence-defaultconfig.jar</
> systemPath>  -->
> 		</dependency>
>
> 		<dependency>
> 			<groupId>com.carefirst.fep.local.datatier</groupId>
> 			<artifactId>fepl-orm-core</artifactId>
> 			<version>1.0-SNAPSHOT</version>
> 			<!--<scope>system</scope>
> 	
> <systemPath>${project.basedir}/../build/fepl-orm-core.jar</systemPath>  -->
> 		</dependency>
>
> 		<dependency>
> 			<groupId>com.carefirst.fep.local.datatier</groupId>
> 			<artifactId>fepl-orm-claim</artifactId>
> 			<version>1.0-SNAPSHOT</version>
> 			<!--<scope>system</scope>
> 	
> <systemPath>${project.basedir}/../build/fepl-orm-claim.jar</systemPath>  -->
> 		</dependency>
>
> 		<dependency>
> 			<groupId>com.carefirst.fep.local.datatier</groupId>
> 			<artifactId>fepl-orm-refdata</artifactId>
> 			<version>1.0-SNAPSHOT</version>
> 			<!--<scope>system</scope>
> 	
> <systemPath>${project.basedir}/../build/fepl-orm-refdata.jar</systemPath>  -->
> 		</dependency>
>
>
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                               -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Principal Consultant              10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                               -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org