-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Alexander,

could you explain more about what is wrong and what is the difference since you
upgraded the jdk minor version? Have you tried to go back to the previous 
version?
I personally do NOT think that your problem is related to the minor version
difference of the JDK but you never know... Are you using Java from Sun (i am
confused by the versioning scheme)?

If I try to guess, you have a project "aaa" with a pom containing the XML
excerpt quoted below. If you call "mvn package" in "aaa" you expect that
your plugin (functions:work:1.0) is executed with the goal "distribute".
With the promted output you are saying that this is NOT happening what is
your actual problem. Is that what worked before with jdk 1.42_8?

Could you verify that your <plugin> snipplet is located in the <build> section
of the POM in a <plugins> tag (and not in the <reporting> section)?

If all this does NOT help, I suppose you need to supply additional information.
If your stuff is confidential please strip out everything not related to the
problem and replace names with dummies. If this results in an anonym POM still
causing the problem you could post this POM completely.

Take care
  Jörg

Morgovsky, Alexander (US - Glen Mills) wrote:
> This is a problem where I have no idea what happened, because my code
> was working fine for a long time and the only change that I can see
> having anything effect is my upgrading to a newer version of the java
> compiler, from 1.42_8 to 1.42_10.  Here is what is happening.  I have a
> custom Mojo which I call like this:
> 
> <plugin>
>       <groupId>functions</groupId>
>       <artifactId>work</artifactId>
>       <version>1.0</version>
>           <executions>
>                    <execution>
>                               <phase>package</phase>
>                              <goals>
>                               <goal>distribute</goal>
>                              </goals>
>                 </execution>
>           </executions>
> </plugin>
> 
> When I run this from the command line:
> 
> mvn package
> 
> I get:
> 
> [INFO] Building aaa
> [INFO]    task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [site:attach-descriptor]
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> However, when I run the following from the command line, everything
> works.
> 
> mvn functions:work:1.0:distribute
> 
> May someone please help me understand why this is happening?  Thank you. 
> 
> 
> This message (including any attachments) contains confidential information 
> intended for a specific individual and purpose, and is protected by law.  If 
> you are not the intended recipient, you should delete this message. 
> 
> 
> Any disclosure, copying, or distribution of this message, or the taking of 
> any action based on it, is strictly prohibited. [v.E.1]
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFiHMXmPuec2Dcv/8RAobbAJ9xI0tFQ1VOZ8JyFJULZDRCRdph9QCeOxNd
MFt098I79ev1n5Fj/kD5/Rc=
=rQOK
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to