You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ej...@upromise.com> on 2007/02/20 22:43:37 UTC

I just don't understand

When you do something like "mvn clean" why would it try to download
compile time dependencies?
 
We have something like this:
 
 <dependencies>
  <dependency>
   <groupId>lty</groupId>
   <artifactId>lty-model</artifactId>
   <version>1.0-SNAPSHOT</version>
  </dependency>
  <dependency>
   <groupId>lty</groupId>
   <artifactId>lty-utils</artifactId>
   <version>1.0-SNAPSHOT</version>
  </dependency>
  <dependency>
   <groupId>lty</groupId>
   <artifactId>crypto</artifactId>
   <version>1.0-SNAPSHOT</version>
  </dependency>
     <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.1</version>
     </dependency>
...
 
 
Yet when I do a maven clean, I see:
 
[INFO] [cobertura:clean {execution: default}]
[WARNING]
        Artifact atg:das-classes:jar:2006.3.P2:provided retains local
scope 'provided' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove
the local scope.
 
Downloading:
file:\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty-mod
el-1.0-SNAPSHOT.jar
<file:///\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty
-model-1.0-SNAPSHOT.jar> 
[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2
<file:///\\build.corp.upromise.com/maven2> )
Downloading:
file:\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto-1.0
-SNAPSHOT.jar
<file:///\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto
-1.0-SNAPSHOT.jar> 
[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2
<file:///\\build.corp.upromise.com/maven2> )
Downloading:
file:\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty-uti
ls-1.0-SNAPSHOT.jar
<file:///\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty
-utils-1.0-SNAPSHOT.jar> 
[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2
<file:///\\build.corp.upromise.com/maven2> )
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
 
Missing:
----------
1) lty:lty-model:jar:1.0-SNAPSHOT
 
  Try downloading the file manually from the project website.
 
  Then, install it using the command:
      mvn install:install-file -DgroupId=lty -DartifactId=lty-model \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
 
  Path to dependency:
        1) lty:memberApp:war:1.0-SNAPSHOT
        2) lty:lty-model:jar:1.0-SNAPSHOT
 
2) lty:crypto:jar:1.0-SNAPSHOT
 
  Try downloading the file manually from the project website.
 
  Then, install it using the command:
      mvn install:install-file -DgroupId=lty -DartifactId=crypto \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
 
  Path to dependency:
        1) lty:memberApp:war:1.0-SNAPSHOT
        2) lty:crypto:jar:1.0-SNAPSHOT
 
3) lty:lty-utils:jar:1.0-SNAPSHOT
 
  Try downloading the file manually from the project website.
 
  Then, install it using the command:
      mvn install:install-file -DgroupId=lty -DartifactId=lty-utils \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
 
  Path to dependency:
        1) lty:memberApp:war:1.0-SNAPSHOT
        2) lty:lty-utils:jar:1.0-SNAPSHOT
 
----------
3 required artifacts are missing.
 
for artifact:
  lty:memberApp:war:1.0-SNAPSHOT
 
from the specified remote repositories:
  central (file:\\build.corp.upromise.com/maven2
<file:///\\build.corp.upromise.com/maven2> )

 
 
 
Please help - I'm so wedged on this...

RE: I just don't understand

Posted by EJ Ciramella <ej...@upromise.com>.
Thank you!

When I get a spare moment, I'll give this a whirl. 

-----Original Message-----
From: Tom Huybrechts [mailto:tom.huybrechts@gmail.com] 
Sent: Wednesday, February 21, 2007 8:03 AM
To: Maven Users List
Subject: Re: I just don't understand

http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_addit
ional_files.html

I don't see why this wouldn't work for absolute paths.

On 2/21/07, EJ Ciramella <ej...@upromise.com> wrote:
> If no one has a fix for this, how does one delete a directory created
> outside of the working directory?
>
> -----Original Message-----
> From: EJ Ciramella [mailto:ejciramella@upromise.com]
> Sent: Tuesday, February 20, 2007 6:18 PM
> To: Maven Users List
> Subject: RE: I just don't understand
>
> Hmmm - I'm running "mvn clean" yet it tries to download snap shot type
> dependencies that wouldn't be available.
>
> This is a bug in the antrun plugin I think:
>
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>               <id>assembler</id>
>             <phase>package</phase>
>             <configuration>
>               <tasks>
>                 <ant antfile="build.xml" target="package.war">
>                   <property name="jboss.home" value="${jboss.home}" />
>                   <property name="work.dir" value="${work.dir}" />
>                   <property name="assembler.standalone"
> value="${assembler.standalone}"/>
>                   <property name="atg.home" value="${atg.home}" />
>                   <property name="project.build.directory"
> value="${project.build.directory}" />
>                   <!-- TODO: Is there a built-in maven property for
the
> source directory? -->
>                   <property name="project.source.directory"
> value="${work.dir}/frontoffice/caApp/src" />
>                   <property name="project.compileClasspathElements"
>                     value="${project.compileClasspathElements}" />
>                   <property name="m2.repo" value="${m2.repo}" />
>                 </ant>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>           <!--
>           <execution>
>               <id>antclean</id>
>             <phase>clean</phase>
>             <configuration>
>               <tasks>
>                 <ant antfile="build.xml" target="clean">
>                   <property name="atg.home" value="${atg.home}" />
>                 </ant>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>           -->
>         </executions>
>       </plugin>
>
>
> With the second one commented out, I'm fine.  When it's uncommented,
> maven tries to go get the dependencies - someone please help here...
>
> -----Original Message-----
> From: Wayne Fay [mailto:waynefay@gmail.com]
> Sent: Tuesday, February 20, 2007 5:30 PM
> To: Maven Users List
> Subject: Re: I just don't understand
>
> You might not like it, but the first phase of any Maven build is
> "validate". According to the documentation, this phase is responsible
> to "validate the project is correct and all necessary information is
> available".
>
> The primary thing validated is that any artifacts required during a
> later phase of the lifecycle are available, and if not, those
> artifacts are first acquired. If they cannot be acquired, then Maven
> will exit with the failure you have seen.
>
>
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
> e.html
>
> Wayne
>
> On 2/20/07, Bashar Abdul Jawad <bj...@vmsinfo.com> wrote:
> > You can use maven in offline mode if you don't want it to connect to
> the
> > internet to fetch or update a dependency, just use -o parameter,
> otherwise
> > maven will try and connect to the internet to update snapshots as
> often as
> > specified in your snapshots update policy.
> >
> > Bashar
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: EJ Ciramella [mailto:ejciramella@upromise.com]
> > Sent: Tuesday, February 20, 2007 2:44 PM
> > To: Maven Users List
> > Subject: I just don't understand
> >
> > When you do something like "mvn clean" why would it try to download
> > compile time dependencies?
> >
> > We have something like this:
> >
> >  <dependencies>
> >  <dependency>
> >   <groupId>lty</groupId>
> >   <artifactId>lty-model</artifactId>
> >   <version>1.0-SNAPSHOT</version>
> >  </dependency>
> >  <dependency>
> >   <groupId>lty</groupId>
> >   <artifactId>lty-utils</artifactId>
> >   <version>1.0-SNAPSHOT</version>
> >  </dependency>
> >  <dependency>
> >   <groupId>lty</groupId>
> >   <artifactId>crypto</artifactId>
> >   <version>1.0-SNAPSHOT</version>
> >  </dependency>
> >     <dependency>
> >      <groupId>commons-lang</groupId>
> >      <artifactId>commons-lang</artifactId>
> >      <version>2.1</version>
> >     </dependency>
> > ...
> >
> >
> > Yet when I do a maven clean, I see:
> >
> > [INFO] [cobertura:clean {execution: default}]
> > [WARNING]
> >        Artifact atg:das-classes:jar:2006.3.P2:provided retains local
> > scope 'provided' overriding broader scope 'compile'
> >        given by a dependency. If this is not intended, modify or
> remove
> > the local scope.
> >
> > Downloading:
> >
>
file:\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty-mod
> > el-1.0-SNAPSHOT.jar
> >
>
<file:///\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty
> > -model-1.0-SNAPSHOT.jar>
> > [WARNING] Unable to get resource from repository central
> > (file:\\build.corp.upromise.com/maven2
> > <file:///\\build.corp.upromise.com/maven2> )
> > Downloading:
> >
>
file:\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto-1.0
> > -SNAPSHOT.jar
> >
>
<file:///\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto
> > -1.0-SNAPSHOT.jar>
> > [WARNING] Unable to get resource from repository central
> > (file:\\build.corp.upromise.com/maven2
> > <file:///\\build.corp.upromise.com/maven2> )
> > Downloading:
> >
>
file:\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty-uti
> > ls-1.0-SNAPSHOT.jar
> >
>
<file:///\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty
> > -utils-1.0-SNAPSHOT.jar>
> > [WARNING] Unable to get resource from repository central
> > (file:\\build.corp.upromise.com/maven2
> > <file:///\\build.corp.upromise.com/maven2> )
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) lty:lty-model:jar:1.0-SNAPSHOT
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >      mvn install:install-file -DgroupId=lty -DartifactId=lty-model \
> >          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >
> >  Path to dependency:
> >        1) lty:memberApp:war:1.0-SNAPSHOT
> >        2) lty:lty-model:jar:1.0-SNAPSHOT
> >
> > 2) lty:crypto:jar:1.0-SNAPSHOT
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >      mvn install:install-file -DgroupId=lty -DartifactId=crypto \
> >          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >
> >  Path to dependency:
> >        1) lty:memberApp:war:1.0-SNAPSHOT
> >        2) lty:crypto:jar:1.0-SNAPSHOT
> >
> > 3) lty:lty-utils:jar:1.0-SNAPSHOT
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >      mvn install:install-file -DgroupId=lty -DartifactId=lty-utils \
> >          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >
> >  Path to dependency:
> >        1) lty:memberApp:war:1.0-SNAPSHOT
> >        2) lty:lty-utils:jar:1.0-SNAPSHOT
> >
> > ----------
> > 3 required artifacts are missing.
> >
> > for artifact:
> >  lty:memberApp:war:1.0-SNAPSHOT
> >
> > from the specified remote repositories:
> >  central (file:\\build.corp.upromise.com/maven2
> > <file:///\\build.corp.upromise.com/maven2> )
> >
> >
> >
> >
> > Please help - I'm so wedged on this...
> >
> >
> >
---------------------------------------------------------------------
> > 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
>
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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


Re: I just don't understand

Posted by Tom Huybrechts <to...@gmail.com>.
http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html

I don't see why this wouldn't work for absolute paths.

On 2/21/07, EJ Ciramella <ej...@upromise.com> wrote:
> If no one has a fix for this, how does one delete a directory created
> outside of the working directory?
>
> -----Original Message-----
> From: EJ Ciramella [mailto:ejciramella@upromise.com]
> Sent: Tuesday, February 20, 2007 6:18 PM
> To: Maven Users List
> Subject: RE: I just don't understand
>
> Hmmm - I'm running "mvn clean" yet it tries to download snap shot type
> dependencies that wouldn't be available.
>
> This is a bug in the antrun plugin I think:
>
>       <plugin>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>               <id>assembler</id>
>             <phase>package</phase>
>             <configuration>
>               <tasks>
>                 <ant antfile="build.xml" target="package.war">
>                   <property name="jboss.home" value="${jboss.home}" />
>                   <property name="work.dir" value="${work.dir}" />
>                   <property name="assembler.standalone"
> value="${assembler.standalone}"/>
>                   <property name="atg.home" value="${atg.home}" />
>                   <property name="project.build.directory"
> value="${project.build.directory}" />
>                   <!-- TODO: Is there a built-in maven property for the
> source directory? -->
>                   <property name="project.source.directory"
> value="${work.dir}/frontoffice/caApp/src" />
>                   <property name="project.compileClasspathElements"
>                     value="${project.compileClasspathElements}" />
>                   <property name="m2.repo" value="${m2.repo}" />
>                 </ant>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>           <!--
>           <execution>
>               <id>antclean</id>
>             <phase>clean</phase>
>             <configuration>
>               <tasks>
>                 <ant antfile="build.xml" target="clean">
>                   <property name="atg.home" value="${atg.home}" />
>                 </ant>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>           -->
>         </executions>
>       </plugin>
>
>
> With the second one commented out, I'm fine.  When it's uncommented,
> maven tries to go get the dependencies - someone please help here...
>
> -----Original Message-----
> From: Wayne Fay [mailto:waynefay@gmail.com]
> Sent: Tuesday, February 20, 2007 5:30 PM
> To: Maven Users List
> Subject: Re: I just don't understand
>
> You might not like it, but the first phase of any Maven build is
> "validate". According to the documentation, this phase is responsible
> to "validate the project is correct and all necessary information is
> available".
>
> The primary thing validated is that any artifacts required during a
> later phase of the lifecycle are available, and if not, those
> artifacts are first acquired. If they cannot be acquired, then Maven
> will exit with the failure you have seen.
>
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
> e.html
>
> Wayne
>
> On 2/20/07, Bashar Abdul Jawad <bj...@vmsinfo.com> wrote:
> > You can use maven in offline mode if you don't want it to connect to
> the
> > internet to fetch or update a dependency, just use -o parameter,
> otherwise
> > maven will try and connect to the internet to update snapshots as
> often as
> > specified in your snapshots update policy.
> >
> > Bashar
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: EJ Ciramella [mailto:ejciramella@upromise.com]
> > Sent: Tuesday, February 20, 2007 2:44 PM
> > To: Maven Users List
> > Subject: I just don't understand
> >
> > When you do something like "mvn clean" why would it try to download
> > compile time dependencies?
> >
> > We have something like this:
> >
> >  <dependencies>
> >  <dependency>
> >   <groupId>lty</groupId>
> >   <artifactId>lty-model</artifactId>
> >   <version>1.0-SNAPSHOT</version>
> >  </dependency>
> >  <dependency>
> >   <groupId>lty</groupId>
> >   <artifactId>lty-utils</artifactId>
> >   <version>1.0-SNAPSHOT</version>
> >  </dependency>
> >  <dependency>
> >   <groupId>lty</groupId>
> >   <artifactId>crypto</artifactId>
> >   <version>1.0-SNAPSHOT</version>
> >  </dependency>
> >     <dependency>
> >      <groupId>commons-lang</groupId>
> >      <artifactId>commons-lang</artifactId>
> >      <version>2.1</version>
> >     </dependency>
> > ...
> >
> >
> > Yet when I do a maven clean, I see:
> >
> > [INFO] [cobertura:clean {execution: default}]
> > [WARNING]
> >        Artifact atg:das-classes:jar:2006.3.P2:provided retains local
> > scope 'provided' overriding broader scope 'compile'
> >        given by a dependency. If this is not intended, modify or
> remove
> > the local scope.
> >
> > Downloading:
> >
> file:\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty-mod
> > el-1.0-SNAPSHOT.jar
> >
> <file:///\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty
> > -model-1.0-SNAPSHOT.jar>
> > [WARNING] Unable to get resource from repository central
> > (file:\\build.corp.upromise.com/maven2
> > <file:///\\build.corp.upromise.com/maven2> )
> > Downloading:
> >
> file:\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto-1.0
> > -SNAPSHOT.jar
> >
> <file:///\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto
> > -1.0-SNAPSHOT.jar>
> > [WARNING] Unable to get resource from repository central
> > (file:\\build.corp.upromise.com/maven2
> > <file:///\\build.corp.upromise.com/maven2> )
> > Downloading:
> >
> file:\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty-uti
> > ls-1.0-SNAPSHOT.jar
> >
> <file:///\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty
> > -utils-1.0-SNAPSHOT.jar>
> > [WARNING] Unable to get resource from repository central
> > (file:\\build.corp.upromise.com/maven2
> > <file:///\\build.corp.upromise.com/maven2> )
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) lty:lty-model:jar:1.0-SNAPSHOT
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >      mvn install:install-file -DgroupId=lty -DartifactId=lty-model \
> >          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >
> >  Path to dependency:
> >        1) lty:memberApp:war:1.0-SNAPSHOT
> >        2) lty:lty-model:jar:1.0-SNAPSHOT
> >
> > 2) lty:crypto:jar:1.0-SNAPSHOT
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >      mvn install:install-file -DgroupId=lty -DartifactId=crypto \
> >          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >
> >  Path to dependency:
> >        1) lty:memberApp:war:1.0-SNAPSHOT
> >        2) lty:crypto:jar:1.0-SNAPSHOT
> >
> > 3) lty:lty-utils:jar:1.0-SNAPSHOT
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >      mvn install:install-file -DgroupId=lty -DartifactId=lty-utils \
> >          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >
> >  Path to dependency:
> >        1) lty:memberApp:war:1.0-SNAPSHOT
> >        2) lty:lty-utils:jar:1.0-SNAPSHOT
> >
> > ----------
> > 3 required artifacts are missing.
> >
> > for artifact:
> >  lty:memberApp:war:1.0-SNAPSHOT
> >
> > from the specified remote repositories:
> >  central (file:\\build.corp.upromise.com/maven2
> > <file:///\\build.corp.upromise.com/maven2> )
> >
> >
> >
> >
> > Please help - I'm so wedged on this...
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
> ---------------------------------------------------------------------
> 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
>
>

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


RE: I just don't understand

Posted by EJ Ciramella <ej...@upromise.com>.
If no one has a fix for this, how does one delete a directory created
outside of the working directory? 

-----Original Message-----
From: EJ Ciramella [mailto:ejciramella@upromise.com] 
Sent: Tuesday, February 20, 2007 6:18 PM
To: Maven Users List
Subject: RE: I just don't understand

Hmmm - I'm running "mvn clean" yet it tries to download snap shot type
dependencies that wouldn't be available.

This is a bug in the antrun plugin I think:

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
              <id>assembler</id>
            <phase>package</phase>
            <configuration>
              <tasks>
                <ant antfile="build.xml" target="package.war">
                  <property name="jboss.home" value="${jboss.home}" />
                  <property name="work.dir" value="${work.dir}" />
                  <property name="assembler.standalone"
value="${assembler.standalone}"/>
                  <property name="atg.home" value="${atg.home}" />
                  <property name="project.build.directory"
value="${project.build.directory}" />
                  <!-- TODO: Is there a built-in maven property for the
source directory? -->
                  <property name="project.source.directory"
value="${work.dir}/frontoffice/caApp/src" />
                  <property name="project.compileClasspathElements" 
                    value="${project.compileClasspathElements}" />
                  <property name="m2.repo" value="${m2.repo}" />
                </ant>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
          <!--
          <execution>
              <id>antclean</id>
            <phase>clean</phase>
            <configuration>
              <tasks>
                <ant antfile="build.xml" target="clean">
                  <property name="atg.home" value="${atg.home}" />
                </ant>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
          -->
        </executions>
      </plugin>


With the second one commented out, I'm fine.  When it's uncommented,
maven tries to go get the dependencies - someone please help here... 

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Tuesday, February 20, 2007 5:30 PM
To: Maven Users List
Subject: Re: I just don't understand

You might not like it, but the first phase of any Maven build is
"validate". According to the documentation, this phase is responsible
to "validate the project is correct and all necessary information is
available".

The primary thing validated is that any artifacts required during a
later phase of the lifecycle are available, and if not, those
artifacts are first acquired. If they cannot be acquired, then Maven
will exit with the failure you have seen.

http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
e.html

Wayne

On 2/20/07, Bashar Abdul Jawad <bj...@vmsinfo.com> wrote:
> You can use maven in offline mode if you don't want it to connect to
the
> internet to fetch or update a dependency, just use -o parameter,
otherwise
> maven will try and connect to the internet to update snapshots as
often as
> specified in your snapshots update policy.
>
> Bashar
>
>
>
>
>
> -----Original Message-----
> From: EJ Ciramella [mailto:ejciramella@upromise.com]
> Sent: Tuesday, February 20, 2007 2:44 PM
> To: Maven Users List
> Subject: I just don't understand
>
> When you do something like "mvn clean" why would it try to download
> compile time dependencies?
>
> We have something like this:
>
>  <dependencies>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>lty-model</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>lty-utils</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>crypto</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>     <dependency>
>      <groupId>commons-lang</groupId>
>      <artifactId>commons-lang</artifactId>
>      <version>2.1</version>
>     </dependency>
> ...
>
>
> Yet when I do a maven clean, I see:
>
> [INFO] [cobertura:clean {execution: default}]
> [WARNING]
>        Artifact atg:das-classes:jar:2006.3.P2:provided retains local
> scope 'provided' overriding broader scope 'compile'
>        given by a dependency. If this is not intended, modify or
remove
> the local scope.
>
> Downloading:
>
file:\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty-mod
> el-1.0-SNAPSHOT.jar
>
<file:///\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty
> -model-1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> Downloading:
>
file:\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto-1.0
> -SNAPSHOT.jar
>
<file:///\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto
> -1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> Downloading:
>
file:\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty-uti
> ls-1.0-SNAPSHOT.jar
>
<file:///\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty
> -utils-1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) lty:lty-model:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=lty-model \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:lty-model:jar:1.0-SNAPSHOT
>
> 2) lty:crypto:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=crypto \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:crypto:jar:1.0-SNAPSHOT
>
> 3) lty:lty-utils:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=lty-utils \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:lty-utils:jar:1.0-SNAPSHOT
>
> ----------
> 3 required artifacts are missing.
>
> for artifact:
>  lty:memberApp:war:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  central (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
>
>
>
>
> Please help - I'm so wedged on this...
>
>
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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


RE: I just don't understand

Posted by EJ Ciramella <ej...@upromise.com>.
Hmmm - I'm running "mvn clean" yet it tries to download snap shot type
dependencies that wouldn't be available.

This is a bug in the antrun plugin I think:

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
              <id>assembler</id>
            <phase>package</phase>
            <configuration>
              <tasks>
                <ant antfile="build.xml" target="package.war">
                  <property name="jboss.home" value="${jboss.home}" />
                  <property name="work.dir" value="${work.dir}" />
                  <property name="assembler.standalone"
value="${assembler.standalone}"/>
                  <property name="atg.home" value="${atg.home}" />
                  <property name="project.build.directory"
value="${project.build.directory}" />
                  <!-- TODO: Is there a built-in maven property for the
source directory? -->
                  <property name="project.source.directory"
value="${work.dir}/frontoffice/caApp/src" />
                  <property name="project.compileClasspathElements" 
                    value="${project.compileClasspathElements}" />
                  <property name="m2.repo" value="${m2.repo}" />
                </ant>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
          <!--
          <execution>
              <id>antclean</id>
            <phase>clean</phase>
            <configuration>
              <tasks>
                <ant antfile="build.xml" target="clean">
                  <property name="atg.home" value="${atg.home}" />
                </ant>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
          -->
        </executions>
      </plugin>


With the second one commented out, I'm fine.  When it's uncommented,
maven tries to go get the dependencies - someone please help here... 

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Tuesday, February 20, 2007 5:30 PM
To: Maven Users List
Subject: Re: I just don't understand

You might not like it, but the first phase of any Maven build is
"validate". According to the documentation, this phase is responsible
to "validate the project is correct and all necessary information is
available".

The primary thing validated is that any artifacts required during a
later phase of the lifecycle are available, and if not, those
artifacts are first acquired. If they cannot be acquired, then Maven
will exit with the failure you have seen.

http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
e.html

Wayne

On 2/20/07, Bashar Abdul Jawad <bj...@vmsinfo.com> wrote:
> You can use maven in offline mode if you don't want it to connect to
the
> internet to fetch or update a dependency, just use -o parameter,
otherwise
> maven will try and connect to the internet to update snapshots as
often as
> specified in your snapshots update policy.
>
> Bashar
>
>
>
>
>
> -----Original Message-----
> From: EJ Ciramella [mailto:ejciramella@upromise.com]
> Sent: Tuesday, February 20, 2007 2:44 PM
> To: Maven Users List
> Subject: I just don't understand
>
> When you do something like "mvn clean" why would it try to download
> compile time dependencies?
>
> We have something like this:
>
>  <dependencies>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>lty-model</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>lty-utils</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>crypto</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>     <dependency>
>      <groupId>commons-lang</groupId>
>      <artifactId>commons-lang</artifactId>
>      <version>2.1</version>
>     </dependency>
> ...
>
>
> Yet when I do a maven clean, I see:
>
> [INFO] [cobertura:clean {execution: default}]
> [WARNING]
>        Artifact atg:das-classes:jar:2006.3.P2:provided retains local
> scope 'provided' overriding broader scope 'compile'
>        given by a dependency. If this is not intended, modify or
remove
> the local scope.
>
> Downloading:
>
file:\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty-mod
> el-1.0-SNAPSHOT.jar
>
<file:///\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty
> -model-1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> Downloading:
>
file:\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto-1.0
> -SNAPSHOT.jar
>
<file:///\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto
> -1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> Downloading:
>
file:\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty-uti
> ls-1.0-SNAPSHOT.jar
>
<file:///\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty
> -utils-1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) lty:lty-model:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=lty-model \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:lty-model:jar:1.0-SNAPSHOT
>
> 2) lty:crypto:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=crypto \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:crypto:jar:1.0-SNAPSHOT
>
> 3) lty:lty-utils:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=lty-utils \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:lty-utils:jar:1.0-SNAPSHOT
>
> ----------
> 3 required artifacts are missing.
>
> for artifact:
>  lty:memberApp:war:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  central (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
>
>
>
>
> Please help - I'm so wedged on this...
>
>
> ---------------------------------------------------------------------
> 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


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


Re: I just don't understand

Posted by Wayne Fay <wa...@gmail.com>.
You might not like it, but the first phase of any Maven build is
"validate". According to the documentation, this phase is responsible
to "validate the project is correct and all necessary information is
available".

The primary thing validated is that any artifacts required during a
later phase of the lifecycle are available, and if not, those
artifacts are first acquired. If they cannot be acquired, then Maven
will exit with the failure you have seen.

http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Wayne

On 2/20/07, Bashar Abdul Jawad <bj...@vmsinfo.com> wrote:
> You can use maven in offline mode if you don't want it to connect to the
> internet to fetch or update a dependency, just use -o parameter, otherwise
> maven will try and connect to the internet to update snapshots as often as
> specified in your snapshots update policy.
>
> Bashar
>
>
>
>
>
> -----Original Message-----
> From: EJ Ciramella [mailto:ejciramella@upromise.com]
> Sent: Tuesday, February 20, 2007 2:44 PM
> To: Maven Users List
> Subject: I just don't understand
>
> When you do something like "mvn clean" why would it try to download
> compile time dependencies?
>
> We have something like this:
>
>  <dependencies>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>lty-model</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>lty-utils</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>  <dependency>
>   <groupId>lty</groupId>
>   <artifactId>crypto</artifactId>
>   <version>1.0-SNAPSHOT</version>
>  </dependency>
>     <dependency>
>      <groupId>commons-lang</groupId>
>      <artifactId>commons-lang</artifactId>
>      <version>2.1</version>
>     </dependency>
> ...
>
>
> Yet when I do a maven clean, I see:
>
> [INFO] [cobertura:clean {execution: default}]
> [WARNING]
>        Artifact atg:das-classes:jar:2006.3.P2:provided retains local
> scope 'provided' overriding broader scope 'compile'
>        given by a dependency. If this is not intended, modify or remove
> the local scope.
>
> Downloading:
> file:\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty-mod
> el-1.0-SNAPSHOT.jar
> <file:///\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty
> -model-1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> Downloading:
> file:\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto-1.0
> -SNAPSHOT.jar
> <file:///\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto
> -1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> Downloading:
> file:\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty-uti
> ls-1.0-SNAPSHOT.jar
> <file:///\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty
> -utils-1.0-SNAPSHOT.jar>
> [WARNING] Unable to get resource from repository central
> (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) lty:lty-model:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=lty-model \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:lty-model:jar:1.0-SNAPSHOT
>
> 2) lty:crypto:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=crypto \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:crypto:jar:1.0-SNAPSHOT
>
> 3) lty:lty-utils:jar:1.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=lty -DartifactId=lty-utils \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) lty:memberApp:war:1.0-SNAPSHOT
>        2) lty:lty-utils:jar:1.0-SNAPSHOT
>
> ----------
> 3 required artifacts are missing.
>
> for artifact:
>  lty:memberApp:war:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  central (file:\\build.corp.upromise.com/maven2
> <file:///\\build.corp.upromise.com/maven2> )
>
>
>
>
> Please help - I'm so wedged on this...
>
>
> ---------------------------------------------------------------------
> 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


RE: I just don't understand

Posted by Bashar Abdul Jawad <bj...@vmsinfo.com>.
You can use maven in offline mode if you don't want it to connect to the
internet to fetch or update a dependency, just use -o parameter, otherwise
maven will try and connect to the internet to update snapshots as often as
specified in your snapshots update policy.

Bashar





-----Original Message-----
From: EJ Ciramella [mailto:ejciramella@upromise.com] 
Sent: Tuesday, February 20, 2007 2:44 PM
To: Maven Users List
Subject: I just don't understand

When you do something like "mvn clean" why would it try to download
compile time dependencies?
 
We have something like this:
 
 <dependencies>
  <dependency>
   <groupId>lty</groupId>
   <artifactId>lty-model</artifactId>
   <version>1.0-SNAPSHOT</version>
  </dependency>
  <dependency>
   <groupId>lty</groupId>
   <artifactId>lty-utils</artifactId>
   <version>1.0-SNAPSHOT</version>
  </dependency>
  <dependency>
   <groupId>lty</groupId>
   <artifactId>crypto</artifactId>
   <version>1.0-SNAPSHOT</version>
  </dependency>
     <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.1</version>
     </dependency>
...
 
 
Yet when I do a maven clean, I see:
 
[INFO] [cobertura:clean {execution: default}]
[WARNING]
        Artifact atg:das-classes:jar:2006.3.P2:provided retains local
scope 'provided' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove
the local scope.
 
Downloading:
file:\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty-mod
el-1.0-SNAPSHOT.jar
<file:///\\build.corp.upromise.com/maven2/lty/lty-model/1.0-SNAPSHOT/lty
-model-1.0-SNAPSHOT.jar> 
[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2
<file:///\\build.corp.upromise.com/maven2> )
Downloading:
file:\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto-1.0
-SNAPSHOT.jar
<file:///\\build.corp.upromise.com/maven2/lty/crypto/1.0-SNAPSHOT/crypto
-1.0-SNAPSHOT.jar> 
[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2
<file:///\\build.corp.upromise.com/maven2> )
Downloading:
file:\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty-uti
ls-1.0-SNAPSHOT.jar
<file:///\\build.corp.upromise.com/maven2/lty/lty-utils/1.0-SNAPSHOT/lty
-utils-1.0-SNAPSHOT.jar> 
[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2
<file:///\\build.corp.upromise.com/maven2> )
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
 
Missing:
----------
1) lty:lty-model:jar:1.0-SNAPSHOT
 
  Try downloading the file manually from the project website.
 
  Then, install it using the command:
      mvn install:install-file -DgroupId=lty -DartifactId=lty-model \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
 
  Path to dependency:
        1) lty:memberApp:war:1.0-SNAPSHOT
        2) lty:lty-model:jar:1.0-SNAPSHOT
 
2) lty:crypto:jar:1.0-SNAPSHOT
 
  Try downloading the file manually from the project website.
 
  Then, install it using the command:
      mvn install:install-file -DgroupId=lty -DartifactId=crypto \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
 
  Path to dependency:
        1) lty:memberApp:war:1.0-SNAPSHOT
        2) lty:crypto:jar:1.0-SNAPSHOT
 
3) lty:lty-utils:jar:1.0-SNAPSHOT
 
  Try downloading the file manually from the project website.
 
  Then, install it using the command:
      mvn install:install-file -DgroupId=lty -DartifactId=lty-utils \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
 
  Path to dependency:
        1) lty:memberApp:war:1.0-SNAPSHOT
        2) lty:lty-utils:jar:1.0-SNAPSHOT
 
----------
3 required artifacts are missing.
 
for artifact:
  lty:memberApp:war:1.0-SNAPSHOT
 
from the specified remote repositories:
  central (file:\\build.corp.upromise.com/maven2
<file:///\\build.corp.upromise.com/maven2> )

 
 
 
Please help - I'm so wedged on this...


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