Write a jira for the MDEP project with your ideas. I'm not sure what you
need since you can control the location of the marker files, and how they
are used.

On Sun, May 17, 2009 at 9:46 AM, Melissa Tolliver <[email protected]>wrote:

> Thanks! That's just what's needed! Perhaps a future Maven release could
> improve on this: We have a silent failure to copy, so it would be good to
> have better tracking of when copying is REALLY needed, or at least  a
> clearer log line on this.
>
>
> On Mon, May 11, 2009 at 4:13 AM, Brian Fox <[email protected]> wrote:
>
> > The dependency plugin uses the existence of some marker files to detect
> if
> > a
> > given artifact has been unpacked. By default these markers are stored in
> > /target/dependency.
> >
> >
> > On Sun, May 10, 2009 at 11:33 AM, Melissa Tolliver <[email protected]
> > >wrote:
> >
> > > I have an unpack execution which opens up a zip file in my deployment
> > > directory.
> > >
> > > However, even when the target files are NOT in place, Maven usually
> says
> > > that the zip is already unpacked as follows
> > >
> > > [INFO] runtimelib-1.0.1.zip already unpacked.
> > >
> > > If I change <overWrite>false</overWrite> to true, and re-run, then the
> > zip
> > > gets correctly unpacked, but I do want to be able to set overWrite to
> > > false and let Maven detect whether the target files are there already.
> > >
> > > The relevant parts of the pom are below.
> > >
> > > (Using Maven Integration for Eclipse 0.9.7.)
> > >
> > > Thanks,
> > >
> > > MG
> > >
> > >
> > > <plugin>
> > >  <groupId>org.apache.maven.plugins</groupId>
> > > <artifactId>maven-dependency-plugin</artifactId>
> > >  <executions>
> > > <execution>
> > > <id>unpack</id>
> > >  <phase>initialize</phase>
> > > <goals>
> > > <goal>unpack</goal>
> > >  </goals>
> > > </execution>
> > > </executions>
> > >  <configuration>
> > > <artifactItems>
> > > <artifactItem>
> > >  <artifactId>runtimelib</artifactId>
> > > <groupId>com.foo.libs</groupId>
> > >  <version>1.0.1</version>
> > > <type>zip</type>
> > >  <overWrite>false</overWrite>
> > > <includes>**/*</includes>
> > >  </artifactItem>
> > > </artifactItems>
> > > <overWriteReleases>false</overWriteReleases>
> > >  <overWriteSnapshots>true</overWriteSnapshots>
> > > </configuration>
> > >  ...
> > >
> >
>

Reply via email to