To be honest, I'm not sure what could be causing this problem
(especially if you're pointing to a JDK and not a JRE). No one has
reported this issue before (that I can recall).

On Mon, Dec 21, 2009 at 3:51 PM, veena pandit <v.kri...@gmail.com> wrote:
> If I do the command exactly like you show I get an error, Invalid switch..
> How do you want me to enter the command exactly?  I changed the java version
> from 1.4.2 to 1.6.0_11 in the aspectj-maven-plugin-1.2.pom.
>
> Thanks,
>
> Sonia
>
> On Mon, Dec 21, 2009 at 5:40 PM, Matt Raible <m...@raibledesigns.com> wrote:
>> If you're on Windows, what do you see when you do "dir $JAVA_HOME/../lib"
>>
>> Here's the pom that specifies that profile be activated when using Sun's JDK.
>>
>> http://repository.sonatype.org/service/local/repositories/central-proxy/content/org/codehaus/mojo/aspectj-maven-plugin/1.2/aspectj-maven-plugin-1.2.pom
>>
>> Matt
>>
>> On Mon, Dec 21, 2009 at 3:31 PM, veena pandit <v.kri...@gmail.com> wrote:
>>> It is.  What else could be the problem?
>>>
>>> Thanks,
>>>
>>> Sonia
>>>
>>> On Mon, Dec 21, 2009 at 5:24 PM, Matt Raible <m...@raibledesigns.com> wrote:
>>>> Make sure your JAVA_HOME is pointing to a JDK installation instead of a 
>>>> JRE.
>>>>
>>>> On Mon, Dec 21, 2009 at 3:15 PM, veena pandit <v.kri...@gmail.com> wrote:
>>>>> I get the following error message while trying to do a maven build in 
>>>>> eclipse:
>>>>>
>>>>> [ERROR] Failed to execute goal
>>>>> org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on
>>>>> project LogicModelDemo: Execution default of goal
>>>>> org.codehaus.mojo:aspectj-maven-plugin:1.2:compile failed: Plugin
>>>>> org.codehaus.mojo:aspectj-maven-plugin:1.2 or one of its dependencies
>>>>> could not be resolved: Missing:
>>>>> ----------
>>>>> 1) com.sun:tools:jar:1.6.0_11
>>>>>
>>>>>  Try downloading the file manually from the project website.
>>>>>
>>>>>  Then, install it using the command:
>>>>>      mvn install:install-file -DgroupId=com.sun -DartifactId=tools
>>>>> -Dversion=1.6.0_11 -Dpackaging=jar -Dfile=/path/to/file
>>>>>
>>>>>  Alternatively, if you host your own repository you can deploy the file 
>>>>> there:
>>>>>      mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools
>>>>> -Dversion=1.6.0_11 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>>>>> -DrepositoryId=[id]
>>>>>
>>>>>  Path to dependency:
>>>>>        1) org.codehaus.mojo:aspectj-maven-plugin:maven-plugin:1.2
>>>>>        2) com.sun:tools:jar:1.6.0_11
>>>>>
>>>>> ----------
>>>>> 1 required artifact is missing.
>>>>>
>>>>> for artifact:
>>>>>  org.codehaus.mojo:aspectj-maven-plugin:maven-plugin:1.2
>>>>>
>>>>> from the specified remote repositories:
>>>>>  appfuse-snapshots
>>>>> (http://oss.sonatype.org/content/repositories/appfuse-snapshots,
>>>>> releases=false, snapshots=true),
>>>>>  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
>>>>> -> [Help 1]
>>>>> [ERROR]
>>>>>
>>>>> Help is appreciated.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Sonia.
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to